ai
AssemblyAI CLI for Coding Agents
Use the AssemblyAI CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.
6 functions 4 read 2 write API key auth
AssemblyAI CLI for Coding Agents
Let coding agents discover schemas and execute integration functions through CLI commands or MCP.
Use this pattern when another coding agent needs exact commands and schema discovery. The AssemblyAI CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# AssemblyAI CLI for Coding Agents
kosmokrator integrations:configure assemblyai --set api_key="$ASSEMBLYAI_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call assemblyai.assemblyai_transcribe '{"audio_url":"example_audio_url","language_code":"example_language_code","speaker_labels":true,"auto_chapters":true,"entity_detection":true,"sentiment_analysis":true,"summarization":true,"punctuate":true}' --json Discovery Before Execution
Agents and scripts can inspect AssemblyAI docs and schemas before choosing a function.
kosmo integrations:docs assemblyai --json
kosmo integrations:docs assemblyai.assemblyai_transcribe --json
kosmo integrations:schema assemblyai.assemblyai_transcribe --json
kosmo integrations:search "AssemblyAI" --json
kosmo integrations:list --json Useful AssemblyAI CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
assemblyai.assemblyai_transcribe | Write | audio_url, language_code, speaker_labels, auto_chapters, entity_detection, sentiment_analysis, summarization, punctuate, format_text, webhook_url, custom_topics, topics | Submit an audio or video file URL for AI transcription. Supports speech-to-text, speaker diarization, summarization, sentiment analysis, and more. Returns a transcript ID to poll for results. |
assemblyai.assemblyai_get_transcript | Read | id | Retrieve a transcript by ID. Returns the transcription text, status (queued, processing, completed, error), confidence score, and any enabled AI features like speaker labels, chapters, or sentiment analysis. |
assemblyai.assemblyai_list_transcripts | Read | limit, status, created_on, before_id, after_id, throttled_only | List transcripts with optional filtering by status, date range, and pagination. Returns transcript IDs, statuses, and metadata. |
assemblyai.assemblyai_upload | Write | file_path | Upload a local audio or video file to AssemblyAI. Returns an upload URL that can be passed to the transcribe tool as the audio_url parameter. Supports most common audio and video formats. |
assemblyai.assemblyai_get_lemons | Read | none | Retrieve lemons (billing credits and usage information) from your AssemblyAI account. |
assemblyai.assemblyai_get_current_user | Read | none | Get the authenticated user's profile, including email, subscription plan, and API usage details. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.