KosmoKrator

data

Deepgram CLI for AI Agents

Use the Deepgram CLI from KosmoKrator to call Deepgram tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Deepgram CLI Setup

Deepgram can be configured headlessly with `kosmokrator integrations:configure deepgram`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure deepgram --set api_key="$DEEPGRAM_API_KEY" --enable --read allow --write ask --json
kosmokrator integrations:doctor deepgram --json
kosmokrator integrations:status --json

Credentials

Authentication type: API key api_key. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
api_key DEEPGRAM_API_KEY Secret secret yes API Key
url DEEPGRAM_URL URL url no API Base URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call deepgram.deepgram_transcribe_url '{}' --json
Provider shortcut
kosmo integrations:deepgram deepgram_transcribe_url '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs deepgram --json
kosmo integrations:docs deepgram.deepgram_transcribe_url --json
kosmo integrations:schema deepgram.deepgram_transcribe_url --json
kosmo integrations:search "Deepgram" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

deepgram.deepgram_transcribe_url

Transcribe prerecorded media from a hosted URL.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_transcribe_url '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_transcribe_url '{}' --json

deepgram.deepgram_transcribe_audio

Transcribe raw audio bytes submitted by the host.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_transcribe_audio '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_transcribe_audio '{}' --json

deepgram.deepgram_analyze_text

Analyze text or a URL for summaries, topics, intents, and sentiment.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_analyze_text '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_analyze_text '{}' --json

deepgram.deepgram_speak

Generate speech audio from text and return base64 audio.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_speak '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_speak '{}' --json

deepgram.deepgram_list_models

List public Deepgram STT and TTS models.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_list_models '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_list_models '{}' --json

deepgram.deepgram_get_model

Get public Deepgram model metadata.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_get_model '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_get_model '{}' --json

deepgram.deepgram_list_projects

List projects visible to the API key.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_list_projects '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_list_projects '{}' --json

deepgram.deepgram_get_project

Get Deepgram project details.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_get_project '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_get_project '{}' --json

deepgram.deepgram_update_project

Update Deepgram project settings such as name.

Write write
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_update_project '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_update_project '{}' --json

deepgram.deepgram_list_project_keys

List API keys for a project.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_list_project_keys '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_list_project_keys '{}' --json

deepgram.deepgram_create_project_key

Create an API key for a project.

Write write
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_create_project_key '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_create_project_key '{}' --json

deepgram.deepgram_delete_project_key

Delete an API key from a project.

Write write
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_delete_project_key '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_delete_project_key '{}' --json

deepgram.deepgram_list_project_balances

List outstanding balances for a project.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_list_project_balances '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_list_project_balances '{}' --json

deepgram.deepgram_get_project_balance

Get one project balance by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_get_project_balance '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_get_project_balance '{}' --json

deepgram.deepgram_get_usage_breakdown

Get project usage breakdown with filters and groupings.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_get_usage_breakdown '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_get_usage_breakdown '{}' --json

deepgram.deepgram_get_project_request

Get one project request by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_get_project_request '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_get_project_request '{}' --json

deepgram.deepgram_list_project_models

List public and private models available to a project.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_list_project_models '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_list_project_models '{}' --json

deepgram.deepgram_get_project_model

Get project-specific model metadata.

Read read
Parameters
none
Generic call
kosmo integrations:call deepgram.deepgram_get_project_model '{}' --json
Shortcut
kosmo integrations:deepgram deepgram_get_project_model '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

deepgram.deepgram_transcribe_url 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_transcribe_url --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_transcribe_audio 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_transcribe_audio --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_analyze_text 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_analyze_text --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_speak 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_speak --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_list_models 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_list_models --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_get_model 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_get_model --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_list_projects 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_list_projects --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_get_project 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_get_project --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_update_project 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_update_project --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_list_project_keys 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_list_project_keys --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_create_project_key 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_create_project_key --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_delete_project_key 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_delete_project_key --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_list_project_balances 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_list_project_balances --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_get_project_balance 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_get_project_balance --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_get_usage_breakdown 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_get_usage_breakdown --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_get_project_request 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_get_project_request --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_list_project_models 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_list_project_models --json
ParameterTypeRequiredDescription
No parameters.
deepgram.deepgram_get_project_model 0 parameters
Schema command
kosmo integrations:schema deepgram.deepgram_get_project_model --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.