AgentForge SDK is a professional AI Agent development framework. This guide will help you get started quickly.
- Python 3.12 or newer
- uv installed
# Windows PowerShell
irm https://astral.sh/uv/install.ps1 | iex
# Linux/macOS
curl -LsSf https://astral.sh/uv/install.sh | sh# Clone the repository
git clone https://github.com/AstroAir/agentforge.git
cd agentforge
# Install dependencies (including dev tools)
uv sync --all-groups# Full installation (FastAPI server)
uv pip install agentforge[full]
# Swarm features (Redis, monitoring)
uv pip install agentforge[swarm]
# Monitoring only
uv pip install agentforge[monitoring]agentforge init my-agent
cd my-agentEdit agent.json:
{
"id": "my-agent",
"name": "My Agent",
"version": "0.1.0",
"model": {
"provider": "anthropic",
"name": "claude-sonnet-4-20250514",
"parameters": {
"temperature": 0.7
}
},
"prompts": {
"system": "You are a helpful AI assistant."
}
}# Interactive CLI
agentforge run
# With specific skills
agentforge run --skill web-search --skill code-analysisimport asyncio
from agentforge import Agent
async def main():
agent = Agent("agent.json")
await agent.start()
session = agent.create_session()
async for chunk in session.stream("Hello!"):
print(chunk, end="", flush=True)
await agent.stop()
asyncio.run(main())uv run pytest -q- API Reference - Detailed API documentation
- Architecture - System architecture overview
- Guides - How-to guides for common tasks