Skip to main content

Drydock — nautical CLI coding agent

Project description

DryDock

Python Version License

         |    |    |
        )_)  )_)  )_)
       )___))___))___)\
      )____)____)_____)\\
    _____|____|____|____\\\__
---\                   /----
    \_________________/
  ~~~~ ~~~ ~~~~ ~~~ ~~~~
   ~~~ ~~~~ ~~~ ~~~ ~~~

Nautical CLI coding agent. Chart your course. Execute with precision.

DryDock is a command-line coding assistant that works with any LLM provider. It provides a conversational interface to your codebase, allowing you to use natural language to explore, modify, and interact with your projects through a powerful set of tools.

[!WARNING] DryDock works on Windows, but we officially support and target UNIX environments.

Install

pip install drydock-cli

Or with uv:

uv tool install drydock-cli

Features

  • Interactive Chat: A conversational AI agent that understands your requests and breaks down complex tasks.
  • Powerful Toolset: Read, write, and patch files. Execute shell commands. Search code with grep. Manage todos. Delegate to subagents.
  • Project-Aware Context: DryDock automatically scans your project's file structure and Git status.
  • Conda/Pip Support: Auto-approves pip install, conda install, pytest, and other dev commands.
  • Bundled Skills: Ships with skills like create-presentation for PowerPoint generation.
  • MCP Support: Connect Model Context Protocol servers for extended capabilities.
  • Safety First: Tool execution approval with --dangerously-skip-permissions for full auto-approve.

Built-in Agents

  • default: Standard agent that requires approval for tool executions.
  • plan: Read-only agent for exploration and planning.
  • accept-edits: Auto-approves file edits only.
  • auto-approve: Auto-approves all tool executions.
drydock --agent plan

Quick Start

  1. Navigate to your project directory and run:

    drydock
    
  2. First run creates a config at ~/.drydock/config.toml and prompts for your API key.

  3. Start chatting:

    > Can you find all TODO comments in this project?
    

Usage

Interactive Mode

drydock                        # Start interactive session
drydock "Fix the login bug"    # Start with a prompt
drydock --continue             # Resume last session
drydock --resume abc123        # Resume specific session

Keyboard shortcuts:

  • Ctrl+C — Cancel current operation (double-tap to quit)
  • Shift+Tab — Toggle auto-approve mode
  • Ctrl+O — Toggle tool output
  • Ctrl+G — Open external editor
  • @ — File path autocompletion
  • !command — Run shell command directly

Programmatic Mode

drydock --prompt "Analyze the codebase" --max-turns 5 --output json
drydock --dangerously-skip-permissions -p "Fix all lint errors"

Trust Folder System

DryDock includes a trust folder system. When you run DryDock in a directory with a .drydock folder, it asks you to confirm trust. Managed via ~/.drydock/trusted_folders.toml.

Configuration

DryDock is configured via config.toml. It looks first in ./.drydock/config.toml, then ~/.drydock/config.toml.

API Key

drydock --setup                              # Interactive setup
export MISTRAL_API_KEY="your_key"            # Or set env var

Keys are saved to ~/.drydock/.env.

Consultant Model

Set a smarter model for the /consult command:

# In ~/.drydock/config.toml
consultant_model = "gemini-2.5-pro"

The consultant provides read-only advice — it never calls tools. Use /consult <question> to ask it. The response appears in your conversation so the local model can see it.

Custom Agents

Create agent configs in ~/.drydock/agents/:

# ~/.drydock/agents/redteam.toml
active_model = "devstral-2"
system_prompt_id = "redteam"
disabled_tools = ["search_replace", "write_file"]
drydock --agent redteam

Custom Prompts

Create markdown files in ~/.drydock/prompts/:

system_prompt_id = "my_custom_prompt"

Skills

DryDock discovers skills from:

  1. Custom paths in config.toml via skill_paths
  2. Project .drydock/skills/ or .agents/skills/
  3. Global ~/.drydock/skills/
  4. Bundled skills (shipped with the package)

MCP Servers

[[mcp_servers]]
name = "fetch_server"
transport = "stdio"
command = "uvx"
args = ["mcp-server-fetch"]

Custom DryDock Home

export DRYDOCK_HOME="/path/to/custom/home"

This affects where DryDock looks for config.toml, .env, agents/, prompts/, skills/, and logs/.

Slash Commands

Type /help in the input for available commands. Create custom slash commands via the skills system.

Session Management

drydock --continue              # Continue last session
drydock --resume abc123         # Resume specific session
drydock --workdir /path/to/dir  # Set working directory

Resources

License

Copyright 2025 Mistral AI (original work) Copyright 2026 DryDock contributors (modifications)

Licensed under the Apache License, Version 2.0. See LICENSE for details.

DryDock is a fork of mistralai/mistral-vibe (Apache 2.0). See NOTICE for attribution.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drydock_cli-1.7.5.tar.gz (674.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drydock_cli-1.7.5-py3-none-any.whl (368.3 kB view details)

Uploaded Python 3

File details

Details for the file drydock_cli-1.7.5.tar.gz.

File metadata

  • Download URL: drydock_cli-1.7.5.tar.gz
  • Upload date:
  • Size: 674.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for drydock_cli-1.7.5.tar.gz
Algorithm Hash digest
SHA256 ab079996439f92ec0d05a856f2d90457031d010c597ae3b8f692d04d778eaa17
MD5 4ca7788688b26a1ea6d6682e60352cc5
BLAKE2b-256 c73f3a7a9e49653d67cfe76185ae097fcfa565da23d7d506c230906d2ac7cdaf

See more details on using hashes here.

File details

Details for the file drydock_cli-1.7.5-py3-none-any.whl.

File metadata

  • Download URL: drydock_cli-1.7.5-py3-none-any.whl
  • Upload date:
  • Size: 368.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for drydock_cli-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b0476a0e926a5f8cd7b9fc707df8e67043d45031893033bc6744911de8dc01ab
MD5 dda948525c4ca0d4ab98fcd1cae321ca
BLAKE2b-256 c64b64b4fd0fedca7ea135f25feb975bbf2cc9f46b85a3d88c94ec9e01e3d759

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page