T3 Code

Set up dkod with T3 Code — a minimal GUI for coding agents by ping.gg.


Quick Setup

Paste the prompt below into T3 Code's chat. It will automatically install and configure the dkod CLI.

Install MCP

T3 Code proxies MCP through whichever underlying agent provider you have configured. Set up the dkod MCP server in your provider, and T3 Code will automatically have access to dkod tools.

Prerequisite (Self-Hosted): For self-hosted setups, see the Self-Hosted quickstart.

With Claude Code Provider

Cloud (dkod.io):

claude mcp add --transport http dkod https://api.dkod.io/mcp

Self-Hosted:

export DKOD_AUTH_TOKEN=your-secret-token
claude mcp add --transport http dkod http://localhost:8080/mcp

With Codex Provider

Cloud (dkod.io) — add to ~/.codex/config.toml:

[mcp_servers.dkod]
url = "https://api.dkod.io/mcp"

Self-Hosted:

export DKOD_AUTH_TOKEN=your-secret-token

Then add to ~/.codex/config.toml:

[mcp_servers.dkod]
url = "http://localhost:8080/mcp"

With Other Providers

Follow the MCP setup for your specific provider:

Authentication happens via browser on first use (cloud). For self-hosted, set your auth token before use:

export DKOD_AUTH_TOKEN=your-secret-token

Install the CLI

# Install via Cargo (requires Rust)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
cargo install dk-cli

Initialize & Authenticate

# Authenticate via browser (cloud only)
dk login

# Open a session (auto-detects from git remote)
dk init

For self-hosted setups, skip dk login and set export DKOD_AUTH_TOKEN=your-secret-token and export DKOD_GRPC_ADDR=localhost:50051, then run dk init.

Usage

Once configured, use T3 Code's chat to interact with dkod:

# Search code semantically
dk search "authentication middleware"

# Check project status
dk status

# View changes
dk diff

# Commit and push
dk commit -m "Fix token refresh logic"
dk push