Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Gave My Coding Agent a Server of Its Own. Here’s How to Do It Safely.

Описание и применение

Автор демонстрирует, как использовать agentic-hosting для безопасного развертывания приложений, созданных ИИ‑агентом, на собственном сервере, обеспечивая изоляцию и контроль через REST‑API.

Задача

Agents can write, test, and fix code but lack a safe, isolated deployment environment, leaving the final deployment step in human hands.

Результат

The agent can autonomously deploy and manage applications on a dedicated server, reducing human intervention to oversight and security checks.

Рабочий процесс

  • Install Docker, gVisor, Go, and Nixpacks on a Linux server
  • Configure Docker to use gVisor runtime and create a network
  • Run a local registry and start the agentic‑hosting service
  • Generate a bootstrap token and start the service with it
  • Register a tenant via POST /v1/tenants/register to obtain an API key
  • Create a service with POST /v1/services
  • Trigger a build with POST /v1/services/{serviceID}/builds specifying source_type and source_url
  • Provision a database with POST /v1/databases and wire it to the service via POST /v1/services/{serviceID}/env
  • Stream build and runtime logs with GET /builds/{buildID}/logs and GET /v1/services/{serviceID}/logs
  • Use guardrails such as sandboxing, circuit breakers, and rate limits to ensure safety

Доказательства

agentic-hosting is a self-hosted PaaS whose main user is an agent talking to a REST API

Источник

One build system (Nixpacks, which turns source code into a container image with no config)

Источник

A reconciler checks every 30 seconds that what the database thinks is running matches what Docker is actually running

Источник

  • Дата записи: 2026-10-27T17:26:51.150Z