Common building blocks for creating AI agents.
Production-ready components for building AI agents, optimized across LLMs and providers. Uses InteropRouter as a unified AI model provider interface.
Note
This library is in early development and subject to change.
# With uv.
uv add agent-core-toolkit
# With pip.
pip install agent-core-toolkitRun the agent CLI.
uv run agent-core --prompt "Your prompt here" --working-dir /path/to/directoryWith all options:
uv run agent-core --prompt "Your prompt here" --working-dir "/path/to/directory" --mode "permissive" --model "gpt-5.1-codex-max" --model-friendly-name "gpt-5.1-codex-max" --model-knowledge-cutoff "Sep 30, 2024" --timezone "America/New_York"Or run with uvx:
uvx --from /path/to/agent-core agent-core --prompt "Your prompt here" --working-dir "/path/to/directory"Create uv virtual environment and install dependencies:
uv sync --frozen --all-extras --all-groupsSet up git hooks:
prek installTo update dependencies (updates the lock file):
uv sync --all-extras --all-groupsRun formatting, linting, type checking, and tests in one command:
uv run ruff format && uv run ruff check --fix && uv run ty check && uv run pytest