Skip to main content
Crush is Charm’s terminal coding agent. Route it through Edgee to reduce token costs with lossless compression and gain full observability over every session. The fastest way to connect Crush to Edgee is the CLI. It authenticates, merges an Edgee provider into your Crush config (populated from the live Edgee model catalog), and starts Crush, no config file to edit by hand.
1

Install the Edgee CLI

2

Launch Crush through Edgee

The CLI authenticates, adds the edgee provider, and starts Crush. Token compression is enabled automatically. Pick an Edgee model from Crush’s model picker.
Crush must already be installed. See the Crush repository for install instructions.
After the session ends, the CLI prints a link to view token usage, compression savings, and cost breakdown in the Edgee Console.

Manual setup (advanced)

Prefer to configure Crush yourself? Add an OpenAI-compatible provider pointed at Edgee to your global crush.json (~/.config/crush/crush.json):
Replace <YOUR_EDGEE_API_KEY> with your actual Edgee API key from the Edgee Console. With discover_models enabled, Crush populates its model picker from the Edgee catalog.

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