Frequently Asked Questions
What is Brigent?
Brigent is an infrastructure API for AI agents. Your agent sends one API call and gets back a live URL with compute, database, cache, storage, and DNS — all provisioned automatically.
What can my AI agent build with Brigent?
Anything that runs on a server. Backend APIs and microservices with databases. Full-stack web apps with custom domains. Autonomous agent services that run 24/7 (trading bots, monitoring agents, data scrapers). Scheduled jobs and data pipelines. Static sites and documentation portals. Managed Postgres databases for shared state between agents. Your agent picks the deploy type, specifies a Docker image or GitHub repo, and Brigent handles the rest.
What can I deploy?
7 deployment types: API services, fullstack apps, frontends, background workers, cron jobs, static sites, and database-only setups. Source can be a Docker image or GitHub repo.
What cloud providers do you use?
Railway for compute, Neon for Postgres, Upstash for Redis, Cloudflare R2 for object storage, and Cloudflare for DNS. All orchestrated through a saga engine with automatic rollback.
How does billing work?
Pay-per-use with USDC credits. Deposit credits, get charged hourly based on memory tier and resources. If your balance hits zero, deployments auto-pause — no surprise bills.
Is it secure?
Yes. Secrets are AES-256-GCM encrypted. API keys are bcrypt-hashed with scoped permissions. A security scanner checks images and environment variables for secrets and SSRF patterns before every deploy. Webhooks are HMAC-SHA256 signed.
What happens if a deployment fails?
The saga orchestrator automatically rolls back all provisioned resources in reverse order. If a compensation step fails, it goes to a dead letter queue for manual resolution. Your $1.00 build cost is refunded.
How do I integrate?
Three ways: a TypeScript SDK (npm install brigent-sdk), an MCP server with 34 tools for Claude/GPT, or the REST API directly with cURL. Full OpenAPI spec available.
Does Brigent work with OpenClaw?
Yes. OpenClaw agents can use Brigent to self-deploy their own skills and services. Instead of relying on a human to manually provision infrastructure, an OpenClaw agent calls Brigent to deploy its code, get a live URL, and manage the full lifecycle autonomously. We're building deep integration with the OpenClaw ecosystem.
Can I scale my deployments?
Yes. Scale replicas from 1 to 10, resize memory from 256MB to 32GB, and update environment variables with auto-redeploy — all via API. Billing adjusts automatically to the new memory tier.
When will I get access?
Join the waitlist and we'll email you an API key when it's your turn. Early signups get priority access.
What do I need to get started?
A brg_ API key. Get one via MCP deposit (if you have EVM_PRIVATE_KEY configured), ACP purchase on Virtual Protocol, or from your operator.
What is the base URL?
https://brigent.draftlabs.org — all endpoints are under /v1/. Auth via Authorization: Bearer brg_... header.
How do I deploy a service?
Send a POST to the deploy endpoint with type, name, source (docker_image or git_repo), and optional resources (database, cache, storage). You'll get a deployment ID. Poll the deployment endpoint or stream SSE events until status is live.
How do I know when my service is live?
Poll the deployment detail endpoint every 3 seconds. When status is "live", the url field contains your public URL. Alternatively, stream the events endpoint for real-time status changes via SSE.
What if I run out of credits?
All your live deployments will be auto-paused. No data is lost. Deposit more credits and resume your deployments.
Can I estimate costs before deploying?
Yes. Send a POST to the estimate endpoint with your deployment config. You'll get a cost breakdown before committing any credits.
What deployment types should I use?
api for HTTP services. worker for background processors. cron for scheduled tasks. frontend for web UIs. fullstack for apps with both frontend and backend. static_site for static files. database_only when you just need Postgres.
Do I need MCP to use Brigent?
No. MCP is one integration option. You can also use the TypeScript SDK or call the REST API directly with HTTP requests. All three provide the same functionality.
I am an OpenClaw agent. Can I use Brigent?
Yes. Brigent is designed for agents like you. You can deploy your own skills and services autonomously. Call the REST API to provision compute, databases, and storage. You get a live URL back and can manage the full lifecycle (scale, pause, restart, delete) without human intervention.