Skip to main content

Deft Console

Any coding agent, in your terminal.

Deft Console is a terminal app for working with AI coding agents. It speaks the Agent Client Protocol (ACP), so the same interface works with Claude Code, Codex, Grok Build, Gemini CLI, Copilot and many more. Run several sessions at once, with different agents, and keep an eye on all of them from one place.

What it does

  • Any ACP agent. Pick an agent from the built-in catalogue (ctrl+h), install it from there, or run any ACP command with console acp "<command>".
  • Many sessions at once. Each session has its own agent. Switch with ctrl+] and ctrl+[, or open the Sessions dashboard (ctrl+s) to see every session, what it's doing, and what it's waiting on.
  • Sub-agents you can follow. When an agent hands work to sub-agents, each gets a live card. Open one to see its own conversation, its commands and the messages it exchanges with its parent.
  • Rich replies. Markdown with syntax highlighting, file edits as diffs, and Mermaid diagrams drawn right in the conversation, even while they're still streaming in.
  • Live commands. Commands an agent runs appear as live terminals. Type ! at the prompt to run your own shell commands.
  • Terminals beside the conversation. /console:terminal opens a shell in a pane. Split, drag and zoom panes, with the keyboard (ctrl+\) or the mouse. A project's layout comes back the next time you open it, with a fresh shell in each terminal. Agents can open a terminal too, after asking you, and can only touch the ones they opened.
  • The agent asks, you answer. Permission requests, plans, forms and multiple-choice questions appear inline, with keyboard shortcuts.
  • Session options and history. Change the model and reasoning level (f3), and list, reopen or delete an agent's earlier sessions (/console:sessions).
  • Usage at a glance. Tokens, context used and cost, per session and in total, in the Sessions dashboard (ctrl+s).
  • Works with your terminal. Console reports each session's status to terminals that support the OSC 7501 program-status protocol.

Install

For humans

You need access to the private deftai/console repo (an SSH key on GitHub) and uv.

curl -LsSf https://astral.sh/uv/install.sh | sh        # if you don't have uv
uv tool install --python 3.14 git+ssh://git@github.com/deftai/console.git
console

On Windows, you also need Git (one of Console's dependencies is installed from GitHub). In PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"   # if you don't have uv: then open a new window
uv tool install --python 3.14 git+ssh://git@github.com/deftai/console.git
console

If console isn't found, run uv tool update-shell and open a new window. Use Windows Terminal, which can show images and pages in Console. Console has been tried on Windows 11; pasting images from the clipboard isn't there yet.

uv installs Python 3.14 for Console if you don't have it. To update, run uv tool upgrade deft-console; to remove it, uv tool uninstall deft-console.

You can also install a release's wheel, downloaded with the GitHub CLI:

gh release download --repo deftai/console --pattern '*.whl'
uv tool install --python 3.14 ./deft_console-*.whl    # on Windows, give the wheel's full name

For agents

If you're an AI agent asked to install Deft Console for a user, follow these steps in order. Each is non-interactive; stop and tell the user if one fails.

  1. Check for uv: command -v uv. If it's missing, install it with curl -LsSf https://astral.sh/uv/install.sh | sh, then make it available in the current shell (source "$HOME/.local/bin/env", or use $HOME/.local/bin/uv). On Windows, check with Get-Command uv and Get-Command git, and install uv with powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex", then use $HOME\.local\bin\uv.exe, as the current shell's PATH doesn't have it yet. If Git is missing, tell the user: it's needed for the next steps.
  2. Check repo access: git ls-remote git@github.com:deftai/console.git HEAD. If this fails, the user's GitHub account or SSH key has no access: stop and tell them. Don't create keys or change their GitHub settings.
  3. Install: uv tool install --python 3.14 git+ssh://git@github.com/deftai/console.git (uv fetches Python 3.14 if needed). To update an existing install, use uv tool upgrade deft-console instead.
  4. Verify: console --version prints the version. If console isn't found, run uv tool update-shell and tell the user to open a new terminal.
  5. Optional agent tools: node --version should be 20 or later for Claude, Codex and SABAL. If there's no Node.js, Console offers to download its own copy when an agent needs it, so report what's missing rather than installing system software unasked.
  6. Hand over: Console is a full-screen terminal app, so let the user start it themselves: console for the agent picker, or console -a demo and type tutorial. Don't sign in to agents (Claude, Codex, Grok) on the user's behalf.

Getting started

console                    # the agent picker, in the current directory
console ~/code/my-project  # ... in another project
console -a demo            # the built-in Console Demo
console -a claude          # straight into an agent: claude, codex, grok, sabal, …

New to Console? Run console -a demo and type tutorial: twelve short lessons walk through every part of the app, and you can try each one as you go. Type menu there for every demo.

Agent What it is Needs
Console Demo A built-in, scripted agent with a tutorial and a demo of every feature Nothing
SABAL A fun VVSLM (Very Very Small Language Model): classic text adventures Node.js 20+
Grok Build xAI's coding agent The Grok CLI
Codex OpenAI's coding agent Node.js 20+; a ChatGPT sign-in or an OpenAI API key
Claude Code Anthropic's coding agent Node.js 20+ and Claude Code, signed in

Many more agents are in the picker (ctrl+h); choose one and pick Install to set it up. Agents that need signing in ask when they start, and Console offers each agent's own sign-in methods: a browser login, a terminal login or an API key.

Your own agents

Put an agent file (*.toml) in the agents folder next to your settings, usually ~/.config/toad/agents/ (console settings shows where your settings live). It appears in the picker and works with console -a. Only four fields are needed:

identity = "my-agent.example"
name = "My Agent"
short_name = "mine"            # console -a mine
run_command."*" = "my-agent --acp"

Any other field of the built-in agents (description, help, welcome, actions, ...) works too. A file with the identity of a built-in agent replaces it. A file that can't be read is skipped, and the reason is logged.

Keys

Key Does
ctrl+h The agent picker: start a session with any agent
ctrl+s The Sessions dashboard (n new session, enter opens a row)
ctrl+] / ctrl+[ Next / previous session
f3 (or ctrl+g) Session options: model, reasoning level and more
alt+↑ / alt+↓ (Option on macOS) Move between blocks in the conversation; enter opens a block's menu, where b opens an image or diagram in a pane beside it
ctrl+\, then a key Panes: arrows or hjkl move focus, with shift to swap; v and s open a terminal right and below; z zooms; x closes; < > + - resize. Pressed twice, it goes to the terminal
escape Cancel the agent's turn, or close a dialog
f1 Help for what's focused
f2 Settings
ctrl+p The command palette: themes, modes and keys

At the prompt, / lists commands (Console's own start with /console:), @ mentions a file, and ! runs a shell command.

Command line

Command Does
console [PATH] Start in PATH (default: the current directory)
console -a AGENT [PATH] Start a session with an agent from the catalogue, by short name
console acp "COMMAND" [PATH] Run any ACP agent from its command, e.g. console acp "npx -y some-acp-agent"
console serve Serve Console as a web app
console settings Show where settings live
console about Version and environment details
console --version The version

Driving panes from a script

Anything running in a Console terminal pane or the ! shell can drive that session's panes with console pane. From another terminal, it finds the session for the current folder, or the only one running (console pane sessions lists them, for --socket):

new=$(console pane split --current --direction down)
console pane send "$new" "npm test" --enter
# ...once the tests have run:
console pane read "$new" --lines 20
console pane close "$new"

console pane show FILE opens an image, or a Mermaid diagram (.mmd), in a pane of its own. It also has list, move, focus, call, action for anything else, events to follow what happens as lines of JSON, and schema to list every action and event. It prints JSON when piped. Underneath is JSON-RPC, one object per line, on the socket in $CONSOLE_PANE_SOCKET.

Development

git clone git@github.com:deftai/console.git && cd console
uv run console           # run from the checkout
uv run pytest            # the tests, in parallel (add -n0 to run them one at a time)

To release, set version in pyproject.toml, then push a matching tag: git tag v0.7.0 && git push origin v0.7.0. The release workflow runs the tests, builds the package and creates a GitHub release with the wheel attached.

License

Deft Console is proprietary software. See LICENSE.

Metadata

Release files for deft-console 0.11.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deft-console 0.11.2
File Size Uploaded Provenance Actions
deft_console-0.11.2.tar.gz 2.7 MB With provenance Details for deft_console-0.11.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deft-console 0.11.2
File Interpreter ABI Platform Actions
deft_console-0.11.2-py3-none-any.whl Python 3 none any Details for deft_console-0.11.2-py3-none-any.whl

Total release size: 5.4 MB

Release files / deft_console-0.11.2.tar.gz

Download URL deft_console-0.11.2.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
b39371e117bd0897d1a67d92589889b86a7f4c6d6d882d58aa74d831d3ab9db7
BLAKE2b-256 checksum
How to use checksums
21467d1bcff7787df3ef048cb771cdc8ac47f5a516d48aa19e60dbeeb0b80da8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / deft_console-0.11.2-py3-none-any.whl

Download URL deft_console-0.11.2-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
fc3efd18fec76a1f71e840e21c2b169a8c96d37c7c8423a36c5ef77eb9fa7b49
BLAKE2b-256 checksum
How to use checksums
8e6f8975cafd5261a0765e6dd30b4a351b87fed9ad8b832abf2ed8614dafc80a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for deft-console 0.11.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for deft_console-0.11.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page