Open Source Framework

Claude Forge

Build AI agent applications with the Claude Agent SDK.
Production-ready backend + frontend in minutes.

9Built-in Features
229Tests
~30Lines to Start

Preview

See it in action

5 different agents, one framework. Click to explore.

Tool chaining + Memory
Claude Forge — localhost:3001
connected

Built-in Features

Everything you need to build
agentic apps

9 features. All optional. Enable what you need, skip what you don't.

Memory

DB

Persist facts, preferences, and feedback across sessions

Skills

DB

Learn document styles, create reusable workflows with parameters

Scheduled Agents

DB

Run prompts on cron schedules — daily briefs, weekly reports

Custom Tools

DB

Agent creates and executes Python functions at runtime

Artifact Generator

Generate presentations, reports, and documents from structured data

Integrations

Connect external MCPs — Gmail, Slack, Calendar, Jira

Feedback

Record user ratings and route to Langfuse analytics

Audit

DB

Log every tool call with timing to PostgreSQL

Sessions

DB

Persist chat conversations across page reloads

Build your own agent in 20 lines

Define a tool, wrap it in a Feature, configure, and go.

my_agent.py
# 1. Define a tool
@tool("lookup", "Look up a customer.", {"name": str})
async def lookup(args):
    return {"content": [{"type": "text", "text": f"Found: {args['name']}"}]}

# 2. Wrap it in a Feature
crm_feature = Feature(
    name="crm",
    mcp_server_factory=lambda **kw: create_sdk_mcp_server("crm", tools=[lookup]),
    sidebar_tab={"key": "crm", "label": "CRM", "icon": "users"},
)

# 3. Configure and create
config = FrameworkConfig(
    app_name="Support Bot",
    system_prompt="You are a support assistant.",
    db_dsn=None,
)

app = create_app(config, features=[crm_feature])

Architecture

How it works

Browser
Chat UI
Next.js
/api/chat proxy
FastAPI
create_app()
Claude SDK
Agent runner
Claude
LLM
SSE Stream
  • text-delta
  • tool-trace
  • data-artifact
  • data-session
Features
  • Memory
  • Skills
  • Scheduler
  • Custom Tools
  • Artifacts
MCP Tools
  • Your domain tools
  • Built-in tools
  • External MCPs
Hooks
  • Audit trail
  • Langfuse
  • Pre/Post tool
Chat UI◂──SSE events stream back through the entire chain──▸Tool results

Up and running in 3 steps

01

Install

git clone github.com/hfarazul/claude-forge
pip install -e ".[dev]"
cd frontend && npm install
02

Configure

cp .env.example .env
# Set ANTHROPIC_API_KEY
03

Run

uvicorn backend.main:app --port 8080
cd frontend && npm run dev -- -p 3001

The stack

LayerTechnology
BackendFastAPI + Claude Agent SDK (Python 3.12)
FrontendNext.js 16 + React 19 + Vercel AI SDK
DatabasePostgreSQL via asyncpg (optional)
StreamingSSE — Vercel AI SDK UI Message Stream Protocol v1
Testingpytest (194 backend) + vitest (35 frontend)

Start forging

Open source. MIT licensed. Build something extraordinary.