Deep Code

Run DeepSeek's Deep Code agent on Tchavi by setting BASE_URL, and pay in FCFA by mobile money.

Part of the coding agents guides.

Deep Code is DeepSeek's terminal agent. It reads an OpenAI-compatible BASE_URL, so it points at Tchavi with three lines — and the same file configures the Deep Code VS Code extension.

Configure it

Create ~/.deepcode/settings.json:

JSON
{
  "env": {
    "MODEL": "deepseek-v4-pro",
    "BASE_URL": "https://tchavi.com/api/v1",
    "API_KEY": "sk-tch-your-key"
  },
  "thinkingEnabled": true,
  "reasoningEffort": "max"
}

That is the whole setup. Start deepcode in a project and it runs on Tchavi credits.

Choosing the model

MODEL takes any Tchavi chat model, not only DeepSeek's:

ModelCredits / 1K inWhy
deepseek-v4-pro3Closest to Deep Code's native behaviour
deepseek-v4-flash0.72The budget option for routine edits
claude-sonnet-4-67Stronger on large refactors
gpt-5.46A different model family for a second opinion

reasoningEffort and thinkingEnabled are Deep Code's own settings. They are passed to the model as sent; a model that does not support extended thinking simply ignores them.

Where the key lives

A project-level settings file overrides the user-level one. Keep the key in the user-level file at ~/.deepcode/settings.json and leave credentials out of any per-project copy you might commit.


Next: Codex · Back to coding agents

On this page