API Reference
This section contains auto-generated API documentation from the Agent Queue source code. The documentation is extracted from docstrings, type annotations, and class definitions.
Core Modules
| Module |
Description |
| Models |
Data models — Task, Agent, Project, Hook, and enums |
| Config |
Configuration loading and dataclasses |
| Database |
SQLite persistence layer |
| Orchestrator |
Core task and agent lifecycle management |
| State Machine |
Task state transitions and validation |
| Scheduler |
Proportional credit-weight task scheduling |
| Event Bus |
Async pub/sub event system |
| Plan Parser |
Plan file parsing |
| Hooks |
Hook engine for automation |
| Main |
Application entry point |
Adapters
Chat Providers
| Module |
Description |
| Anthropic |
Anthropic API chat provider |
| Ollama |
Ollama local LLM chat provider |
Discord
Git
| Module |
Description |
| Manager |
Git operations manager |
Tokens
| Module |
Description |
| Budget |
Token budget management |
| Tracker |
Token usage tracking |