Developer API Documentation#
Internal API reference for MassGen contributors and developers.
Note
For Users: If you want to use MassGen from Python, see Python API & LiteLLM for the simple massgen.run() API.
For Contributors: This section documents MassGen’s internal classes, methods, and modules for those contributing to the codebase or building extensions.
API Modules
Core Components#
Quick Reference#
Agents API - Agent classes and interfaces
Orchestrator API - Orchestration and coordination components
Backends API - Backend implementations for different LLM providers
Formatter API - Message and tool formatting utilities
Tool System API - Custom tool system API (ToolManager, ExecutionResult, built-in tools)
MCP Tools API - Model Context Protocol (MCP) integration tools
Frontend API - Frontend displays and UI components
Token Manager API - Token management and usage tracking