Skip to main content

Multi-Agent Claude Code Terminal Suite - Orchestrate multiple Claude agents for software development and ML research

Project description

AGENT-K

Multi-Agent Claude Code Terminal Suite

Orchestrate multiple specialized Claude agents for software development and ML research. Inspired by Boris Cherny's parallel Claude workflow.

╭─────────────────────────────────────────────────╮
│  AGENT-K v1.0                                   │
╰─────────────────────────────────────────────────╯

You: Implement user authentication with JWT

[Orchestrator] Breaking down task...
  → Engineer: Implement JWT auth module
  → Tester: Write auth tests
  → Security: Review for vulnerabilities

[●] Orchestrator  Coordinating
[◐] Engineer      Writing src/auth.py...
[ ] Tester        Waiting
[ ] Security      Waiting

You: _

Features

  • Multi-Agent Orchestration: Coordinate specialized agents working in parallel
  • Two Modes: Software Development and ML Research & Training
  • Interactive Chat: Works like claude but with a team of specialists
  • Visual Mode: tmux-based multi-pane view of all agents
  • Scout Agent: Real-time web/GitHub/paper search to stay current
  • Date Awareness: Agents know their training data may be outdated

Agents

Development Mode (Default)

Agent Role
Orchestrator Breaks down tasks, coordinates agents
Engineer Implements code, debugging, refactoring
Tester Writes tests, validates implementations
Security Reviews for vulnerabilities, OWASP checks
Scout Searches web/GitHub for current best practices

ML Mode (--mode ml)

Agent Role
Orchestrator Manages ML project lifecycle
Researcher Literature review, SOTA analysis
ML Engineer Model implementation, training
Data Engineer Data pipelines, preprocessing
Evaluator Metrics, benchmarking, experiments
Scout Searches arXiv, HuggingFace, Papers With Code

Installation

Quick Install (Recommended)

curl -sSL https://raw.githubusercontent.com/de5truct0/agentk/main/install.sh | bash

Homebrew (macOS/Linux)

brew tap de5truct0/agentk
brew install agentk

npm

npm install -g agentk

pip

pip install agentk

From Source

git clone https://github.com/de5truct0/agentk.git
cd agentk
make install

Requirements

  • bash 4.0+
  • jq (JSON processing)
  • claude (Claude Code CLI) - Install here
  • tmux (optional, for visual mode)

Usage

Start Interactive Session

agentk                    # Dev mode (default)
agentk --mode ml          # ML mode
agentk --visual           # With tmux panels

One-Shot Mode

agentk -c "Build a REST API for user management"

Session Commands

Command Description
/status Show all agent states
/logs <agent> View agent output
/kill <agent|all> Stop agent(s)
/focus <agent> Talk directly to agent
/unfocus Return to orchestrator
/visual Toggle tmux view
/help Show all commands
/exit End session

Scout Commands

Command Description
/search <query> Web search
/github <query> Search GitHub
/papers <topic> Search papers (ML mode)
/libs <task> Find best libraries
/sota <topic> State-of-the-art

ML Commands

Command Description
/experiment <name> Start experiment
/metrics Show metrics
/tensorboard Open TensorBoard
/huggingface <query> Search HF Hub

Visual Mode

┌───────────────┬───────────────┬───────────────┐
│  ORCHESTRATOR │   ENGINEER    │    TESTER     │
├───────────────┼───────────────┼───────────────┤
│   SECURITY    │     SCOUT     │    [MAIN]     │
└───────────────┴───────────────┴───────────────┘

How It Works

  1. You enter a request in the interactive session
  2. Orchestrator analyzes the task and breaks it into subtasks
  3. Specialist agents are spawned as Claude subprocesses
  4. Agents work on your project files in the current directory
  5. Results are aggregated and reported back to you

Each agent runs as a separate claude CLI instance with a specialized system prompt, coordinated through file-based messaging.

Configuration

Create ~/.agentk/config.sh to customize:

# Use a different model
export AGENTK_MODEL="claude-3-opus-20240229"

# Set log level
export LOG_LEVEL="debug"

# Custom workspace location
export AGENTK_WORKSPACE="/path/to/workspace"

Project Structure

agentk/
├── agentk                # Main CLI
├── lib/
│   ├── core.sh          # Core utilities
│   ├── ui.sh            # Pretty output
│   ├── ipc.sh           # Inter-process communication
│   ├── spawn.sh         # Agent spawning
│   └── visual.sh        # tmux integration
├── modes/
│   ├── shared/
│   │   └── scout.md     # Scout agent prompt
│   ├── dev/             # Dev mode agent prompts
│   └── ml/              # ML mode agent prompts
└── workspace/           # Runtime data (gitignored)

Known Limitations

See KNOWN_ISSUES.md for a full list. Key limitations:

  • File conflicts: Multiple agents modifying same file
  • Cost: Each agent is a separate API call
  • Context isolation: Agents don't share real-time context
  • Rate limiting: Parallel agents may hit API limits

Contributing

Contributions welcome! Please read the contributing guidelines first.

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests: make test
  5. Submit a pull request

License

MIT License - see LICENSE for details.

Acknowledgments


AGENT-K - Because one Claude is good, but a team of Claudes is better.

Project details


Download files

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

Source Distribution

agentk8-1.0.0.tar.gz (42.6 kB view details)

Uploaded Source

Built Distribution

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

agentk8-1.0.0-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file agentk8-1.0.0.tar.gz.

File metadata

  • Download URL: agentk8-1.0.0.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for agentk8-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f32319e8ecc92bc5c4991f79c179b9cb0619f96aeaa3c0172dd871f05664540c
MD5 cd6078fd5a49ec0a77b62a95ff96b45e
BLAKE2b-256 b98bf10253aefada0f992a2d83aaea0a6d7e683737af8bda17e167232c5aa661

See more details on using hashes here.

File details

Details for the file agentk8-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: agentk8-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 49.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for agentk8-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff1e83c9ab8ce040e48549e861ddabbc3b85cf776ccc57fd30c890b36a2e001d
MD5 ec83eee5a80460189a61d30e36ddbe4d
BLAKE2b-256 c9769601ffdc80454a0b85139851759fab8d523349923b7571802337c35ec829

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