Credentials. The API key is stored in a plain user file, so restrict its permissions and never commit it to version control.
Who it is forA developer who works across several project folders and wants one launch command everywhere.
The problemCloning the repo and setting up the environment for each project is repetitive and easy to get wrong.
The outcomeA frontier-agent command that starts the TUI from any project directory using your saved endpoint settings.
What you need first
- Git
- Python 3.12
- uv
- An OpenAI-compatible model endpoint with its API key, base URL, and model name
- Docker (optional, only for the container path)
Steps
uv tool install --python 3.12 git+https://github.com/ApodexAI/FrontierAgent.git- Put OPENAI_API_KEY, OPENAI_BASE_URL, and OPENAI_MODEL into ${XDG_CONFIG_HOME:-$HOME/.config}/apodex/env, then run
chmod 600on that file cd /path/to/projectfrontier-agent
Prompt for your agent
Install the FrontierAgent command from the repo at git+https://github.com/ApodexAI/FrontierAgent.git, then start it inside <project path>. The expected output is an open TUI session scoped to that project. Verify that the endpoint settings load from the user config file and that the session starts without errors.
Caveat. On macOS with Docker running, the container image has to be built once from a clone before this command runs as expected.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ApodexAI/FrontierAgent and "Install frontier-agent once and launch it in any folder"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer