tooldex is a terminal-first pair-programming companion that stays out of your way until you need it. Instead of replacing your shell, it listens for a hotkey, freezes the active tmux pane, and hands control to a purpose-built AI agent that can inspect context via MCP and suggest the next command, debug step, or explanation. When the exchange finishes, control snaps straight back to your running session—no reflowed buffers or confusing hand-offs.
- Bring-your-own CLI: Run your usual tools (gdb, git, nvims) while tooldex augments them with targeted agent prompts.
- Ephemeral assistance: AI agents activate only on demand, perform a scoped action, and then relinquish control.
- tmux-native UX: A secondary pane streams agent output while your main pane is temporarily locked, keeping history intact.
- MCP integration: Agents interface with the terminal via the Model Context Protocol, allowing precise read/write access without full autonomy.
uv sync --group dev– install runtime and development dependencies into.venv.uv run tooldex– launch the CLI scaffold. (Upcoming: interactive session manager.)- Ensure
tmuxis installed and running; tooldex will hook into the active session.
- Start tooldex inside an existing tmux session (
tmux attachortmux new -s work). - Press the configured hotkey (defaults forthcoming) to trigger agent mode.
- Watch the right-hand pane for conversation, confirm or edit the proposed command, then let the agent apply it through MCP.
- Exit agent mode to resume your normal terminal buffer untouched.
src/tooldex/agents/– agent definitions and orchestration.src/tooldex/core/– session management, MCP bridges, prompt templates.src/tooldex/tmux/– tmux control helpers and key-binding utilities.tests/– pytest suite mirroring the source layout.
- Implement tmux pane manager and keybinding configuration.
- Connect MCP command execution layer with auditing safeguards.
- Add specialized agents for debugging (
gdb), repo hygiene (git), and environment setup. - Ship a minimal prompt library and long-running session state cache.
See AGENTS.md for repository standards, commit conventions, and security guidance. We welcome targeted improvements—from new agent scripts to better tmux workflows—that respect the “assist, don’t replace” philosophy.
