Agent Forge API Reference
Welcome to the complete API reference for Agent Forge. This section provides detailed documentation for all classes, decorators, utilities, and types available in the framework.
Quick Navigation
🏗️ Core Classes
The fundamental building blocks of Agent Forge applications:
- Agent - Individual AI agents with specific roles and capabilities
- AgentForge - Main framework orchestrator
- Team - Coordinated groups of agents with a manager
- Workflow - Sequential agent execution pipelines
- LLM - Language model abstraction layer
🎨 Decorators
Powerful decorators for declarative configuration:
- @agent - Agent configuration and metadata
- @llmProvider - LLM provider setup
- @forge - AgentForge instance creation
- @tool - Tool integration
- @RAGChromaDb - RAG integration with ChromaDB
- @a2aClient/@a2aServer - Distributed agent communication
- @RateLimiter - API rate limiting
- @Visualizer - Timeline visualization
- @plugin - Plugin system integration
🔧 Utilities
Essential utilities and base classes:
- Rate Limiter - Rate limiting utilities
- Event System - Framework event handling
- Streaming - Streaming response utilities
Getting Started
If you're new to Agent Forge, start with the Core Classes to understand the fundamental concepts, then explore the Decorators for declarative configuration patterns.
For extending functionality, check out the Utilities section to learn about framework utilities.
Code Examples
Most API reference pages include practical code examples.
TypeScript Support
Agent Forge is built with TypeScript and provides comprehensive type definitions. All APIs are fully typed, providing excellent IDE support and compile-time safety.
Contributing
Found an error in the documentation or want to improve it? Visit our GitHub repository to report issues or contribute improvements.