Configure API keys for external AI providers. Only add keys for the tools you want to use - many powerful tools require no keys at all.
⚠️ Important Disclaimer
TachiBot is provided as-is under open source license. The author is not responsible for:
API costs incurred from using third-party AI services
Incorrect or harmful outputs from AI models
Service interruptions or API changes from providers
Data privacy or security issues with external APIs
Any damages resulting from use or misuse of this tool
You are solely responsible for: monitoring your usage, managing costs, reviewing outputs, and ensuring compliance with provider terms of service. Use at your own risk.
scout - Information gathering (needs OpenRouter + Google + OpenAI + optionally Perplexity/Grok for search)
pingpong - Model debates (needs API keys for models: default = Grok + Gemini + OpenAI + Qwen)
workflow - YAML/JSON workflows (needs API keys for tools called in workflow)
Configuration Options
There are two ways to configure API keys. Pick the one that works best for you:
Option 1: User Config File (Recommended)
Create ~/.tachibot/.env - this works across all projects:
Option 2: Claude Code MCP Config
Add API keys directly in your Claude Code settings (~/.claude.json):
~/.claude.json
Config Priority (v2.8.0+)
When the same key is set in multiple places, this is the priority order (highest wins):
Claude Code MCP config (~/.claude.json env section)
User config (~/.tachibot/.env)
Project .env (development only)
This means you can set defaults in ~/.tachibot/.env and override specific keys per-project in Claude Code.
🚀
NEW: OpenRouter Gateway Mode
v2.1.0
One API key for multiple providers! Enable Gateway Mode to route GPT-5.1, Gemini, and Grok through your OpenRouter account - unified billing, simpler setup.
Check which tools are available based on your configured API keys:
Cost Management
Monitor Usage
Check provider dashboards regularly
Set up billing alerts on each platform
Track API calls in workflow logs
Reduce Costs
Use tools.config.json to disable expensive tools
Limit PingPong rounds (each round = N model calls)
Use free tools first (think, focus, challenger)
Choose cheaper models (gpt-5.1-codex-mini vs gpt-5.1)
🚨 Cost Warning
Multi-model workflows can be expensive. A 20-round PingPong with 4 models = 80 API calls. Always test with fewer rounds first. You are fully responsible for managing your API costs.
Security Best Practices
Never commit.env files to git
Use.gitignore to exclude API keys
Rotate keys regularly
Use separate keys for development and production
Review provider security guidelines
.gitignore
Troubleshooting
Tool Not Working
Invalid API Key
Check for typos in ~/.tachibot/.env or Claude Code config