# Claude Code

> Keeps its Claude model; adds a Lyber client to your project.

Source: https://www.lyber.ai/docs/agents/coding-agents/claude-code/ · Markdown: https://www.lyber.ai/docs/md/agents/coding-agents/claude-code.md

Claude Code only speaks the Anthropic Messages API, which Lyber doesn't serve, so it can't run on Lyber models. It can add Lyber to the project you're building: paste this prompt into Claude Code.

```text
Set up Lyber in this project.

Lyber is an OpenAI-compatible API for uncensored, abliterated models.
- Base URL: https://lyber-paid-acceptance-gateway-production.up.railway.app/v1
- API key: read it from the LYBER_API_KEY environment variable. Never write the key into code, config files, logs or git.
- Model: minimax-m3.1-flash-abliterated or deepseek-v4.1-flash-1017-abliterated. Select one explicitly; check readiness using GET {base URL}/models.

Do this:
1. Find where this project calls an LLM, or add a small client if it has none. Use the official OpenAI SDK for the project's language with its base URL set to the Lyber base URL.
2. Add LYBER_BASE_URL and LYBER_API_KEY to .env.example without values, and load them the way this project loads its other settings.
3. Only when the user asks to send a paid request, use the explicitly selected model ID and print the response model.
4. Tell me what you changed. Don't commit, and don't print the key.
```

The prompt never contains your key: it tells the agent to read `LYBER_API_KEY` from the environment and not to send paid requests unless you ask. More in [Add Lyber to a project](https://www.lyber.ai/docs/agents/setup-prompt/).
