Claude-Force Documentation

Production-Ready Multi-Agent Orchestration System for Claude

Welcome to the comprehensive documentation for claude-force, a powerful framework for orchestrating multiple Claude AI agents to solve complex software engineering tasks.

What is Claude-Force?

Claude-Force is a Python framework that enables you to:

  • Orchestrate Multiple AI Agents: Coordinate specialized Claude agents for different tasks

  • Semantic Agent Selection: Automatically recommend the best agent for your task using embeddings

  • Hybrid Model Orchestration: Optimize costs by automatically selecting Haiku/Sonnet/Opus based on task complexity

  • Performance Tracking: Monitor execution time, token usage, and costs

  • Workflow Composition: Create custom multi-agent workflows

  • Marketplace Integration: Install and share community agents

Key Features

🧠 Semantic Agent Recommendation

claude-force recommend --task "Review authentication code for security"
# → Recommends: security-specialist (confidence: 0.92)

⚡ Hybrid Model Orchestration

Automatically selects the optimal Claude model based on task complexity:

  • Haiku for simple tasks (typo fixes, formatting)

  • Sonnet for moderate tasks (code reviews, refactoring)

  • Opus for complex tasks (architecture design, security audits)

📊 Performance Analytics

claude-force analyze performance
# Shows: execution times, token usage, costs, success rates

🎨 Project Initialization

claude-force init ./my-project \
  --description "Build a chat application" \
  --name "chat-app"
# Creates optimized .claude/ configuration

Installation

From Source

git clone https://github.com/khanh-vu/claude-force.git
cd claude-force
pip install -e .

Quick Example

from claude_force.orchestrator import AgentOrchestrator

# Initialize orchestrator
orchestrator = AgentOrchestrator(
    config_path=".claude/claude.json",
    enable_tracking=True
)

# Run single agent
result = orchestrator.run_agent(
    agent_name="code-reviewer",
    task="Review this authentication function for security issues"
)

print(result.output)

# Run multi-agent workflow
results = orchestrator.run_workflow(
    workflow_name="full-stack-feature",
    task="Implement user authentication with JWT"
)

for result in results:
    print(f"{result.agent_name}: {result.success}")

Architecture

Claude-Force consists of several key components:

Documentation Sections

For Users

For Developers

Advanced Topics

System Requirements

  • Python 3.8 or higher (3.10+ recommended)

  • Anthropic API key (Get one here)

  • 100MB disk space

Optional Dependencies

  • sentence-transformers: For semantic agent selection (recommended)

  • numpy: For vector operations (required if using semantic selection)

Support

License

MIT License - see LICENSE file for details.

Next Steps


Version: 2.1.0 Last Updated: 2025-11-14 Status: Production Ready