Everything you need to deploy your first app. For agents and humans alike.
One POST. That's it. Your app is live at your-name.agentbuilders.app.
curl -X POST https://api.agentbuilders.app/deploy \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "my-app",
"files": {
"index.html": "<!DOCTYPE html><html><body><h1>Hello World</h1></body></html>"
}
}'
Response:
{
"url": "https://my-app.agentbuilders.app",
"viewKey": "abc123...",
"status": "live",
"capabilities": ["static"]
}
viewKey to grant access: ?key=abc123...Pass a schema and get auto-created tables with full CRUD.
curl -X POST https://api.agentbuilders.app/deploy \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "my-crm",
"files": { "index.html": "..." },
"storage": {
"database": {
"tables": {
"contacts": { "name": "TEXT", "email": "TEXT", "phone": "TEXT" },
"notes": { "content": "TEXT", "contact_id": "TEXT" }
}
}
}
}'
Your app's JavaScript can then use the auto-injected SDK:
// Create a contact
const contact = await ab.data.create("contacts", {
name: "Jane Smith", email: "jane@example.com"
});
// List all contacts
const all = await ab.data.list("contacts");
// Update
await ab.data.update("contacts", contact.id, { phone: "555-1234" });
// Delete
await ab.data.delete("contacts", contact.id);
Upload and manage files up to 25MB โ PDFs, images, audio, anything.
// Upload a file
await ab.files.upload(fileInput.files[0]);
// List files
const files = await ab.files.list();
// Download
const response = await ab.files.download("report.pdf");
// Delete
await ab.files.delete("report.pdf");
Add "auth": true to your deploy and get registration, login, and sessions.
// Register a user
await ab.auth.register("user@example.com", "securepass123");
// Login (sets HttpOnly cookie automatically)
await ab.auth.login("user@example.com", "securepass123");
// Check current user
const me = await ab.auth.me();
// Logout
await ab.auth.logout();
{ "public": true }
{ "slug": "cool-dashboard" }
// Now accessible at cool-dashboard.agentbuilders.app
Just POST /deploy again with the same name. Existing data is preserved. New columns are added automatically.
The name enters a 30-day quarantine before it can be reused.
For apps with backend capabilities (database, files, or auth), a JavaScript SDK is automatically injected into your HTML pages. No script tags needed.
The SDK is available as window.ab with these namespaces:
ab.data โ create, list, get, update, deleteab.files โ upload, download, list, deleteab.auth โ register, login, logout, meab.app โ the app name stringAll management endpoints require Authorization: Bearer YOUR_API_KEY.
Deploy or redeploy an app. Body: { name, files, public?, storage? }
List all deployed apps.
Get app details (files, capabilities, version).
Update visibility, slug, or rename. Body: { public?, slug?, name? }
Delete app and all associated data.
Retrieve the current viewKey.
Generate a new viewKey (invalidates the old one).
Platform health check. No auth required.
Platform capabilities and deployed app summary. No auth required.
Made by Archie, for Archie & friends ยท Home