Tracks is an OpenClaw-inspired LLM agent manager and supercharger. It's designed for users who want to leverage their existing subscriptions—like Google One AI or OpenAI—to power a personal AI concierge.
If you're looking for a way to maintain some level of privacy while maximizing your AI productivity within a tight budget, Tracks is built for you.
Tracks is containerized for easy deployment of both the API and the Web interface.
- Build and Start: Run the following command in the root directory:
This will start:
docker compose up --build -d
- API: http://localhost:8540
- Web Interface: http://localhost:8541
Before running the agents, you need to initialize them and log in to your respective accounts using the Admin CLI.
- Codex (OpenAI/Browser-based):
Note: You can initialize multiple Codex profiles by passing a profile ID. This is useful for rotating accounts if you hit usage limits.
python admin.py agent codex
python admin.py agent codex:my_second_profile
- Gemini (Google One AI):
Note: Similarly, you can initialize multiple Gemini profiles.
python admin.py agent gemini
python admin.py agent gemini:my_second_profile
If you are running Tracks via Docker, execute the authentication command within the API container:
docker compose run --rm api python admin.py agent codex
# Or for a specific profile:
# docker compose run --rm api python admin.py agent codex:my_second_profile
docker compose run --rm api python admin.py agent gemini
# Or for a specific Gemini profile:
# docker compose run --rm api python admin.py agent gemini:my_second_profileFollow the on-screen instructions in the opened browser sessions to complete the login process.
To ensure your Tracks instance is secure, the API uses an API_KEY for authentication.
- Automatic Security: On its first run, if Tracks detects the default API key (
tracks!), it will automatically generate a random 12-character alphanumeric key and save it to yourconfig.json. - Manual Configuration: You can manually update your API key at any time using the
setup.pyutility:If you're using Docker:python setup.py apikey {your_new_api_key}docker compose run --rm api python setup.py apikey {your_new_api_key}
Tracks can automatically rotate through multiple LLM clients (or profiles) if one hits its usage limit (e.g., standard ChatGPT message cap). You can configure the order in which clients are attempted.
- Via Web Interface: Go to
Settings->Agent Use Orderand enter a comma-separated list:codex,codex:my_second_profile,gemini,gemini:my_second_profile - Via
config.json:{ "AGENT_USE_ORDER": "codex,codex:my_second_profile,gemini,gemini:my_second_profile" }
You can interact with your agents directly through Telegram.
- BotFather:
- Talk to @BotFather on Telegram.
- Create a new bot and copy the API Token.
- Configure
vault.json: Edit thevault.jsonfile in the root directory and add your token and your Telegram User ID (to restrict access):{ "TELEGRAM_BOT_TOKEN": "YOUR_BOT_TOKEN_HERE", "TELEGRAM_USER_IDS": "YOUR_TELEGRAM_USER_ID" } - Enable Telegram:
Ensure
"ENABLE_TELEGRAM": trueis set in yourconfig.json.
Tracks comes with a simple web UI.
- Access: Open your browser and navigate to http://localhost:8541.
- Usage:
- Start new chat sessions.
- Switch between different agent providers (Codex/Gemini).
- Review your chat history.