{"id":49238059,"url":"https://github.com/deepgram/recipes","last_synced_at":"2026-04-24T17:37:34.011Z","repository":{"id":225413597,"uuid":"765898732","full_name":"deepgram/recipes","owner":"deepgram","description":"Recipes showing how to use Deepgram maintained by the DX team","archived":false,"fork":false,"pushed_at":"2026-04-20T01:09:13.000Z","size":3523,"stargazers_count":24,"open_issues_count":9,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-20T03:21:00.806Z","etag":null,"topics":["code-examples","code-samples","recipes"],"latest_commit_sha":null,"homepage":"https://developers.deepgram.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepgram.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-01T20:55:11.000Z","updated_at":"2026-04-11T13:07:24.000Z","dependencies_parsed_at":"2024-03-04T21:06:39.156Z","dependency_job_id":"250b508e-aadf-4ee4-a7ee-dd095708d694","html_url":"https://github.com/deepgram/recipes","commit_stats":null,"previous_names":["deepgram-devs/code-samples","deepgram/dx-code-samples","deepgram/recipes"],"tags_count":0,"template":false,"template_full_name":"deepgram-devs/oss-repo-template","purl":"pkg:github/deepgram/recipes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Frecipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Frecipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Frecipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Frecipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepgram","download_url":"https://codeload.github.com/deepgram/recipes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Frecipes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32234727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-examples","code-samples","recipes"],"created_at":"2026-04-24T17:37:33.489Z","updated_at":"2026-04-24T17:37:34.004Z","avatar_url":"https://github.com/deepgram.png","language":"Java","readme":"# recipes\n\nAgent-maintained recipes showing how to use every Deepgram SDK feature across every supported language.\n\n**All recipes are built and kept current by autonomous agents.** Humans can direct, override, and add recipes at any time.\n\n[→ Contributing](CONTRIBUTING.md) · [→ Open PRs](../../pulls) · [→ Coverage matrix](COVERAGE.md) · [→ Request a recipe](../../issues/new/choose)\n\n## How it works\n\n1. **Discover** — Hourly: agents scan SDK repos for new releases and compare against `recipes/` to find coverage gaps, creating queue issues for missing recipes\n2. **Generate** — Agents pick up queue issues, fetch current SDK docs via Kapa, and write runnable `example.*` + `example_test.*` + `README.md` for each missing recipe, raising a PR\n3. **Test** — Language-specific CI workflows run every example against the real Deepgram API\n4. **Merge** — PRs merge once tests pass\n5. **Update** — Coverage matrix rebuilds automatically on merge\n6. **Review** — Weekly: agents check SDK release notes for new features and API changes, updating `features.json` and queuing fixes for stale recipes\n\n## Recipe structure\n\n```\nrecipes/{language}/{product}/{version}/{recipe}/\n  example.{ext}       # runnable, \u003c 50 lines, reads DEEPGRAM_API_KEY from env\n  example_test.{ext}  # runs the example as a subprocess, asserts output\n  README.md           # what the feature does · params · sample output · how to run\n```\n\n## Languages\n\n| Language | SDK | Install |\n|----------|-----|---------|\n| Python | [deepgram-python-sdk](https://github.com/deepgram/deepgram-python-sdk) | `pip install deepgram-sdk` |\n| JavaScript | [deepgram-js-sdk](https://github.com/deepgram/deepgram-js-sdk) | `npm install @deepgram/sdk` |\n| Go | [deepgram-go-sdk](https://github.com/deepgram/deepgram-go-sdk) | `go get github.com/deepgram/deepgram-go-sdk/v3` |\n| .NET | [deepgram-dotnet-sdk](https://github.com/deepgram/deepgram-dotnet-sdk) | `dotnet add package Deepgram` |\n| Java | [deepgram-java-sdk](https://github.com/deepgram/deepgram-java-sdk) | Maven: `com.deepgram.sdk` |\n| Rust | [deepgram-rust-sdk](https://github.com/deepgram/deepgram-rust-sdk) | `deepgram = \"0.6\"` |\n| CLI | [deepgram/cli](https://github.com/deepgram/cli) | `pip install deepctl` |\n\n## Products\n\n| Product | API versions | Example recipes |\n|---------|-------------|-----------------|\n| Speech-to-Text | v1 (nova-3, nova-2, nova, enhanced, base) · v2 (flux-general-en) | transcribe-url, transcribe-file, paragraphs, diarize, smart-format, utterances, summarize, sentiment, topics, intents, detect-entities, detect-language, redact, search, keywords, streaming, … |\n| Text-to-Speech | v1 (aura-2 voices) | generate-audio, stream-audio, websocket-streaming, select-model, select-encoding |\n| Audio Intelligence | v1 | summarize, sentiment, topics, intents, entities |\n| Voice Agents | v1 | connect, custom-llm, custom-tts, function-calling |\n\n## Recipes\n\n\u003c!-- recipes-table-start --\u003e\n*Last updated 2026-04-21 19:00 UTC*\n\n| | Python | JavaScript | Go | .NET | Java | Rust | CLI |\n|---|---|---|---|---|---|---|---|\n| Speech-to-Text \\`v1\\` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |\n| Speech-to-Text \\`v2\\` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | 1/2 |\n| Text-to-Speech \\`v1\\` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |\n| Audio Intelligence \\`v1\\` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |\n| Voice Agents \\`v1\\` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |\n| Text Analysis \\`v1\\` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |\n| **Total** | **47/47** | **47/47** | **47/47** | **47/47** | **47/47** | **47/47** | **46/47** |\n| **Tests** | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ |\n\u003c!-- recipes-table-end --\u003e\n\n## Agent schedules\n\n| Workflow | Schedule | Purpose |\n|----------|----------|---------|\n| `pm` | Every hour at :07 | Find coverage gaps → create `queue:generate` issues |\n| `engineer` | Every hour at :27 | Pick up queue issues → generate recipes → open PRs |\n| `researcher` | Saturdays 08:17 UTC | Check SDK release notes for new features and API changes |\n| `lead-coverage` | On PR merge + every 6 h | Rebuild `COVERAGE.md` and per-language READMEs |\n| `lead-reconcile` | Daily 11:45 UTC | Verify README counts; flag incomplete recipe directories |\n\n## Setup\n\n1. Add `ANTHROPIC_API_KEY` as a repository secret\n2. Add `DEEPGRAM_API_KEY` as a repository secret\n3. Add `KAPA_API_KEY` as a repository secret (used by agents to query live Deepgram docs)\n4. Set `KAPA_PROJECT_ID` as a repository variable: `1908afc6-c134-4c6f-a684-ed7d8ce91759`\n5. Run **Actions → Setup Labels → Run workflow** once to create all issue labels\n6. Enable **auto-merge**: Settings → General → Pull Requests → Allow auto-merge\n7. Set **branch protection** on `main`: require status checks → add **`E2E / test`** as the required check — this runs on every PR, makes real API calls, and is the gate for auto-merge. The per-language `test-*` workflows also run when their files change but are not required (they fail-fast and block human review if broken)\n\n`GITHUB_TOKEN` is provided automatically by GitHub Actions.\n\n## Running agents locally\n\n```bash\n# Requires: ANTHROPIC_API_KEY set, DEEPGRAM_API_KEY set, gh auth login, git configured\nclaude --model claude-opus-4-6 -p \"$(cat instructions/pm.md)\"\nclaude --model claude-opus-4-6 -p \"$(cat instructions/engineer.md)\"\n```\n\nSee [instructions/README.md](instructions/README.md) for all available instructions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepgram%2Frecipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepgram%2Frecipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepgram%2Frecipes/lists"}