Overview
Claude Code is Anthropic’s agentic coding tool. It automatically readsAGENTS.md files from your repository to understand project context. Adding a Deepdub AGENTS.md gives Claude Code full knowledge of the API, SDKs, and conventions.
Installation
Download theAGENTS.md file to the root of your repository:
View AGENTS.md on GitHub
View, copy, or download the full Claude Code AGENTS.md file.
AGENTS.md file
TheAGENTS.md file contains the full Deepdub API reference that Claude Code reads automatically. It includes:
- Project structure — overview of the monorepo layout
- Base URLs — US, EU, and WebSocket endpoints
- Authentication — API key format and free trial key
- REST endpoints — TTS generation, voice management, gender detection
- Python SDK —
pip install deepdubwith sync/async examples - JavaScript SDK —
npm install @deepdub/nodewith WebSocket and HTTP examples - Error codes — 400, 401, 402, 403, 404, 429, 500 with meanings
- Voice presets — common preset IDs for quick testing
- Coding conventions — project-specific patterns and best practices
Key sections
TTS request body:success: false with a message field.
| Code | Meaning |
|---|---|
| 400 | Invalid or missing parameters |
| 401 | Invalid or missing API key |
| 402 | Insufficient credits |
| 429 | Rate limit exceeded |
| 500 | Internal server error |
How it works
Claude Code readsAGENTS.md files automatically when it starts a session in your repository. Subdirectory AGENTS.md files are scoped to that directory. The Deepdub reference can go at the project root or in a specific service directory.
| Placement | Scope |
|---|---|
/AGENTS.md | Entire repo — always available |
/projects/my-service/AGENTS.md | Only when working in that service |
Example prompts
After adding theAGENTS.md, try asking Claude Code:
- “Add a TTS endpoint that generates speech from user input”
- “Integrate the Deepdub Python SDK to classify speaker gender”
- “Create a streaming TTS service using the JavaScript SDK”
- “Upload a custom voice sample via the REST API”
Combining with Cursor
You can use both the Cursor Skill and Claude Code AGENTS.md in the same repo. They don’t conflict — each tool reads its own format:| Tool | File | Location |
|---|---|---|
| Cursor | .cursor/skills/deepdub-api/SKILL.md | Project .cursor/skills/ |
| Claude Code | AGENTS.md | Repository root |
