AlphaAgent is a secure, CLI-first AI coding assistant built on LiteLLM (multi-provider). The interactive CLI (alpha-agent chat) runs an Agent / AgentSession loop with tool calling, filesystem sandboxing, and a tiered shell command policy.
Optional modules (e.g. EventBus in alpha_agent/core/) are not wired into the default chat or run paths.
| Layer | Behavior |
|---|---|
| Workspace (tools) | FilesystemGuard under ~/.alpha-agent/workspace/ |
| Agent data | Sessions, memory, logs, plugins, exports, and CLI history under ~/.alpha-agent/workspace/AgentOrchestra/ |
| Shell | SAFE / CONFIRM / BLOCK; BLOCK is absolute |
| Modes | safe, dev, unrestricted - Security_Guide.md |
| Audit | AgentOrchestra/logs/audit.log (JSONL) |
Routing persisted in config.yaml, /dispatch, footer + token meter, tool panels, doctor, /mode, /debug, /undo, /export + silent auto-save; persisted history and memory under AgentOrchestra.
Recently added features:
alpha-agent --reset/-rfor a full local reset (--reset-yesfor non-interactive scripts)/routes+/routeseparation (listing vs add binding)- Better Windows logging compatibility (UTF-8 stderr + ASCII-safe route logs)
- Better background process kill behavior (Windows process tree + GUI detection)
- Slash command autocomplete and expanded command set
Requires
prompt_toolkit>=3.0.0(installed automatically frompyproject.toml).
pip install -e .
alpha-agent init
alpha-agent doctor
alpha-agent chatalpha-agent chatGlobal options (including --reset): alpha-agent --help.
You can add custom tools as plugins. Start here:
Quick path:
- Create a
.pyfile in~/.alpha-agent/workspace/AgentOrchestra/plugins/ - Define tools using
@tool(...)fromalpha_agent.tools.base - Validate with
/pluginsin chat oralpha-agent tools list
Index (recommended): docs/README.md
Quick links: docs/slash-commands.md · docs/agents.md · docs/personas.md · Plugins_Guide.md · Configuration_Guide.md · CLI_Reference.md