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

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

说明与用途

使用自托管 PaaS agentic-hosting 在专用服务器上让 AI 代理自动部署和管理服务,提供沙箱、断路器和请求限制。

问题

Deploying AI agents to production requires a platform that limits their surface area and protects the host, yet lets them build, deploy, and debug autonomously.

结果

Agents can autonomously deploy, debug, and manage services on a dedicated server while the host remains protected by sandboxing, circuit breakers, and strict rate limits.

工作流

  • Install Docker, gVisor, Go, and Nixpacks on a Linux server
  • Configure Docker to use gVisor runtime and create a Traefik network
  • Run a local registry and build the agentic-hosting binary
  • Generate a master key and bootstrap token, then start the ah service
  • Register a tenant via POST /v1/tenants/register to obtain an API key
  • Use the API key to create a service, trigger a build from a Git repo, and provision a database
  • Stream build and runtime logs to let the agent self‑debug
  • Redeploy after fixes, monitoring via /v1/services/{id}/logs
  • Optionally install the Claude Code skill to issue commands via chat

证据

agentic-hosting is a self-hosted PaaS (platform-as-a-service, like a Heroku you run yourself) whose main user is an agent talking to a REST API.

来源

Every container runs under gVisor, a sandbox that intercepts system calls before they reach the host kernel.

来源

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

来源

  • 记录日期: 2026-10-22T09:26:08.699Z