Edgee CLI setup (recommended)
The fastest way to connect CodeBuddy to Edgee is the CLI, no environment variables to set by hand.1
Install the Edgee CLI
- macOS / Linux
- Homebrew (macOS)
- Windows (PowerShell)
2
Launch CodeBuddy through Edgee
CodeBuddy must already be installed. See the CodeBuddy repository for install instructions.
Manual setup (advanced)
CodeBuddy reads its endpoint and headers from environment variables. Set the following in your shell configuration (~/.bashrc, ~/.zshrc, etc.):
Replace
<YOUR_EDGEE_API_KEY> with your actual Edgee API key from the Edgee Console.Benefits
Cost reduction
Edgee’s token compression reduces the tokens sent to and from the model, with no change to output quality.
Observability
Every request is logged in the Edgee Console with token counts, latency, and cost breakdowns.
Reliability
Automatic retry and fallback across providers keeps your sessions running even when a provider has issues.
One command
No config to edit, the CLI wires everything up.
Next Steps
- Learn more about the Edgee CLI and its launch commands
- Set up observability to monitor usage and costs
- Explore retry and fallback for resilient routing