Developer Documentation
Technical documentation for extending and customizing AgentPress.
Overview
AgentPress is built as a modular monorepo that you can extend with custom agents, tools, and UI components. This documentation covers the technical details of how the system works and how to build on top of it.
Quick Links
Getting Started
- Prerequisites - Install the required tooling
- Quick Start - Create and run your first app
- CLI Reference - Every CLI command
SDK & API
- Configuring the API - Server options and custom auth handlers
- Using the SDK - Send webhooks and verify callbacks with
@agentpress/sdk
Architecture
- Architecture Overview - Understand how AgentPress is structured
Building Tools & UI
- Creating Tools - Build custom tools for your agents
- Background Tasks - Durable, long-running work with
defineTask - Creating UI Components - Add custom UI for tool results
Integrations
- Email Integration - Connect email inboxes to agents
- Action Webhooks - Create actions from trusted external events
- Partner MCP - Delegated MCP access for registered partners
Tech Stack
- Runtime: Bun
- Backend: Hono
- Frontend: React 19, Vite + TanStack Router
- Database: PostgreSQL with Drizzle ORM
- AI: Vercel AI SDK with multiple providers
- Styling: Tailwind CSS v4
Monorepo Structure
apps/
api/ # Hono API server
console/ # Admin console (React)
docs/ # This documentation site
packages/
api/ # Backend: routes, repositories, services
lib/ # Shared: types, stores, utilities
ui/ # React components
custom/ # Custom agents, tools, pluginsLooking for User Guides?
If you're looking for guides on using AgentPress features like creating agents, managing leads, or configuring voice, check out the Guides section.