Similar to WordPress, made for AI Native Applications — Build, deploy, and manage AI-powered applications without the complexity.
Agentbase is an open-source platform that brings the WordPress model to AI development: plugins, themes, a marketplace, and a hosted option — everything you need to launch AI products fast.
agentbase/
├── packages/
│ ├── core/ # NestJS API (PostgreSQL + MongoDB)
│ ├── frontend/ # Next.js 14 (App Router + Tailwind)
│ ├── ai-service/ # FastAPI (AI provider integrations + SSE streaming)
│ ├── shared/ # Shared TypeScript types
│ ├── plugins/ # Plugin SDK + examples
│ └── themes/ # Theme SDK + starter themes
├── docker-compose.yml # Local dev databases
├── docker-compose.prod.yml # Production stack
└── .env.example # Environment template
| Layer | Technology |
|---|---|
| Core API | Node.js + NestJS + TypeORM |
| Frontend | Next.js 14 + React + Tailwind CSS |
| AI Service | Python + FastAPI |
| SQL Database | PostgreSQL 16 |
| Document DB | MongoDB 7 |
| Cache | Redis 7 |
| Infrastructure | Docker, Nginx, DigitalOcean Kubernetes (DOKS) |
| License | GPL-3.0 |
# Clone the repo
git clone https://github.com/agentaflow/agentbase.git
cd agentbase
# Copy environment variables
cp .env.example .env
# Start databases
docker compose up -d
# Install dependencies
pnpm install
# Start all services
pnpm dev
Services will be available at:
pnpm dev:core # NestJS API only
pnpm dev:frontend # Next.js frontend only
pnpm dev:ai # FastAPI AI service only
POST /api/auth/register — Register new userPOST /api/auth/login — LoginGET /api/auth/me — Get current userGET /api/auth/github — OAuth: Redirect to GitHubGET /api/auth/github/callback — OAuth: GitHub callbackGET /api/auth/google — OAuth: Redirect to GoogleGET /api/auth/google/callback — OAuth: Google callbackGET /api/auth/providers — List available OAuth providersPOST /api/auth/change-password — Change passwordPOST /api/auth/password-reset/request — Request password resetPOST /api/applications — Create applicationGET /api/applications — List user’s applicationsGET /api/applications/:id — Get applicationPUT /api/applications/:id — Update applicationDELETE /api/applications/:id — Delete applicationGET /api/plugins — List marketplace pluginsPOST /api/plugins — Create pluginPUT /api/plugins/:id/publish — Publish pluginPOST /api/applications/:appId/plugins — Install pluginPUT /api/applications/:appId/plugins/:id/activate — Activate pluginPUT /api/applications/:appId/plugins/:id/deactivate — Deactivate pluginDELETE /api/applications/:appId/plugins/:id — Uninstall pluginPOST /api/prompts — Create prompt templateGET /api/prompts?applicationId= — List templates for appGET /api/prompts/:id — Get prompt templatePUT /api/prompts/:id — Update prompt templateDELETE /api/prompts/:id — Delete prompt templatePUT /api/prompts/:id/default — Set as default templatePOST /api/prompts/render — Render template with variablesGET /api/themes — List themesPOST /api/themes — Create themeGET /api/ai/providers — List AI providersPOST /api/ai/conversations — Create conversationPOST /api/ai/conversations/:id/messages — Send message (standard)POST /api/ai/conversations/:id/stream — Send message (SSE streaming)GET /api/ai/conversations/by-app/:appId — List conversationsDELETE /api/ai/conversations/:id — Archive conversationAgentbase supports multiple AI providers out of the box:
Set your API keys in .env and Agentbase handles provider routing, rate limiting, and conversation management automatically.
See CHANGELOG.md for a detailed history of changes across all phases.
See CONTRIBUTING.md for development guidelines.
GNU General Public License v3.0 — see LICENSE
Built by AgentaFlow