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.1.tar.gz (42.8 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.1-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentk8-1.0.1.tar.gz
  • Upload date:
  • Size: 42.8 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.1.tar.gz
Algorithm Hash digest
SHA256 2c26bdf231663d8e1254d2ad451b6b38efb79b5f9f380ef2c3bc7ef5eadb23f5
MD5 6584e93c0edac6ad206c67cc0a271255
BLAKE2b-256 a5bc4e4d1ea3b91d8d138d2f80721badedc6ce0ead3a773ad100639b271c1ff5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentk8-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 49.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8266fb9acd89206ca6de20b827636c456469cf9c2c955f3f7b90152fafa20ed
MD5 575414daf0c9a5d4aec3f8459622e904
BLAKE2b-256 af22193a4bc9129916abbcbf7f94f5e4d3ac8fce24ea33d755bb1571ba2457cd

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