For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Ask AIPlaygroundLoginFree API Key
HomeAPI ReferenceVoice AgentSpeech-to-TextText-to-SpeechIntelligenceSelf-Hosted Deployments
HomeAPI ReferenceVoice AgentSpeech-to-TextText-to-SpeechIntelligenceSelf-Hosted Deployments
    • Home
    • Ask AI
    • Support
    • Changelog
        • Getting Started
        • Installation
        • Authentication
        • Speech-to-Text
        • Text-to-Speech
        • Text Intelligence
        • Account Management
        • MCP Server
        • Shell Completion
        • Plugin System
      • Agentic developer tools
  • Trust & Security
    • Security Policy
    • Data Privacy Compliance
    • Information Security & Privacy
  • SDKs
    • SDK Features
  • Guides
LogoLogo
Ask AIPlaygroundLoginFree API Key
On this page
  • Install a Plugin
  • List Installed Plugins
  • Update Plugins
  • Uninstall a Plugin
  • Example Plugins
  • Plugin Development
  • Plugin Configuration
  • Trusted Plugins
  • Security
Developer ToolsCommand-Line Interface

Plugin System

Extend the Deepgram CLI with community-built plugins.

Was this page helpful?
Previous

Agentic developer tools

Deepgram CLI, MCP servers, and agent skills — give your AI coding tools built-in knowledge of Deepgram APIs, docs, and starter apps.

Next
Built with

The dg CLI supports plugins that add new commands and capabilities.

Install a Plugin

$dg plugin install <package-name>

Plugins are installed in an isolated virtual environment.

List Installed Plugins

$dg plugin list

Update Plugins

$dg plugin update
$dg plugin update <package-name>

Uninstall a Plugin

$dg plugin uninstall <package-name>

Example Plugins

Search for available plugins:

$dg plugin search <keyword>

Plugin Development

Plugins are Python packages that expose CLI commands:

1# my-dg-plugin/my_plugin/__init__.py
2from deepgram_cli.plugins import hookimpl
3import click
4
5@hookimpl
6def register_commands(cli_group):
7 @cli_group.command()
8 def mycommand():
9 """My custom command"""
10 click.echo("Hello from my plugin!")

Plugin Configuration

Plugins can read from your Deepgram config:

1from deepgram_cli.config import get_config
2
3config = get_config()
4api_key = config.get("api_key")

Trusted Plugins

Mark a plugin as trusted (skips confirmation prompts):

$dg plugin trust <package-name>

Security

  • Plugins run with your user permissions
  • Plugins have access to your API key
  • Only install plugins from trusted sources
  • Review plugin code before installing