Skip to content

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

Module Description
Base Adapter Abstract adapter interface
Claude Adapter Claude Code agent adapter

Chat Providers

Module Description
Anthropic Anthropic API chat provider
Ollama Ollama local LLM chat provider

Discord

Module Description
Bot Discord bot core
Commands Discord slash commands
Notifications Discord notification system

Git

Module Description
Manager Git operations manager

Tokens

Module Description
Budget Token budget management
Tracker Token usage tracking