ApodexAI/FrontierAgent
🧩 FrontierAgent, our agent framework, open-sourced alongside it — native command-line TUI, ReAct and Agent Team modes, one command on macOS and Linux, no preinstall, no hard Docker dependency.
FrontierAgent — What It Is
FrontierAgent is an open-source toolkit for running AI agents that do long, multi-step research and file-based work. It's three things in one: a runtime that executes agents, a terminal app you interact with, and a test harness for evaluating AI models.
The Two Built-in Workflows
ReAct — a single agent that works through a task step by step: researching, reading files, writing results, running commands, and iterating inside a sandboxed environment.
Agent Team — a coordinator agent that breaks a request into subtasks, assigns them to parallel sub-agents, collects their reports, and combines everything into a final answer. A live task board tracks each subtask's status (pending, active, completed, blocked, cancelled).
Key Design Points
- Sandboxed file system — every task gets three areas:
/inputs(read-only, for supplied documents),/workspace(read-write, for scratch work), and/outputs(for final deliverables). Shell and file tools share this one sandbox. - Interrupt without losing work — you can type a follow-up instruction while an agent is running; it gets queued and injected at the next safe stopping point rather than killing the current run.
- Safety controls — mutating operations show a diff and require approval (unless you pass
--yes). Sessions are checkpointed, every action is traced locally, and a/revertcommand can undo session changes. - Transparent outputs — on macOS/Docker, deliverables land in
.apodex/runs/<session-id>/outputson your host machine, alongside checkpoints, traces, and logs. - Built-in evaluation — the same engine that runs workflows also runs benchmarks in isolated subprocesses, with support for concurrency, progress inspection, and rerunning failed cases.
How It's Organized
The code is deliberately split into reusable layers:
frontier_agent/— the core loop, scheduling, and registriesplugins/tools/— web, shell, file, sandbox, and team tool implementationsworkflows/— the ReAct and Agent Team pipelinesapodex/— the terminal app, approvals, sessions, tracesbenchmarks/— the evaluation harness and bundled benchmarks
Getting Started
Requirements: Git, Python 3.12, the uv package manager, and an OpenAI-compatible model endpoint (Docker is optional).
git clone https://github.com/ApodexAI/FrontierAgent.git
cd FrontierAgent
uv sync --python 3.12 --extra dev
cp .env.example .env
Then add your API key and endpoint to .env, and launch:
# Single-agent mode
uv run frontier-agent --mode react --cwd /path/to/project
# Coordinator + parallel sub-agents
uv run frontier-agent --mode agent_team --cwd /path/to/project
You can also install it globally with uv tool install so frontier-agent works from any project directory.
Deployment Options
The README covers four environments: macOS (native or Docker), Linux (native, bubblewrap, or Docker), managed Linux GPU containers, and Windows via WSL2. Pre-built Docker images exist for linux/amd64 and linux/arm64, but the package is private, so you either need authorized access or build from the checkout.
For local model serving, the README pins specific NVIDIA driver/CUDA/SGLang combinations and warns to check your GPU compatibility before choosing an image tag.
Benchmarks & Performance
The harness supports 14 benchmarks including BrowseComp, Humanity's Last Exam, SuperChem, DeepSearchQA, and several custom ones (FrontierSearchBench, FrontierChallenge).
The README includes a performance table for the Apodex-1.1 model, showing the Agent Team workflow scoring higher than ReAct and much higher than the previous Apodex-1.0 across six benchmarks (e.g., 38.5 vs 34.4 vs 16.5 on APEX-Agents).
License
Apache 2.0.
Note: The README also advertises a free two-week trial of the Apodex API (no model hosting needed) and links to a tech blog, arXiv report, and documentation index for deeper dives.
Related
- Project
- Dispatch
- Project
- Project
- Project