Skip to main content

Add your description here

Project description

๐Ÿ Khive: Transform Your AI Into a Full Development Team

PyPI version Downloads Python License GitHub stars

One command. Every language. Zero configuration.
Plus: A complete AI development methodology.

Quick Start โ€ข AI Team Prompts โ€ข Why Khive? โ€ข Documentation


๐ŸŽฏ The Problem We All Face

You're drowning in tools. Python needs black, ruff, pytest, mypy. Rust wants cargo fmt, clippy, cargo test. Node.js demands prettier, eslint, jest. Your .gitignore is longer than your actual code.

But there's a bigger problem: Your AI assistant is brilliant but chaotic. One moment it's over-engineering, the next it's missing critical security checks. No consistency. No methodology. No quality guarantees.

โœจ Enter Khive: Tools + AI Methodology

Khive solves both problems:

  1. ๐Ÿ”ง Unified Tools: One command for all languages, all workflows
  2. ๐Ÿง  AI Framework: Transform any AI into a structured development team
# The tools you know and love
khive init    # Sets up any project in seconds
khive fmt     # Formats everything perfectly
khive ci      # Tests across all languages

# The AI revolution (via Roo/Cline integration)
# Your AI now has 6 specialized roles following proven workflows

๐ŸŽญ Your AI Development Team

Khive provides carefully crafted prompts that transform your AI assistant into six specialized experts:

Role Specialist Expertise Key Responsibilities
๐ŸŽผ Orchestrator Project Management Coordinates workflow, enforces quality gates, manages GitHub issues/PRs
๐Ÿ”ญ Researcher Technical Analysis Investigates solutions, compares approaches, provides evidence-based recommendations
๐Ÿ“ Architect System Design Creates technical specifications, designs scalable architectures
๐Ÿ› ๏ธ Implementer Development Writes production code following TDD, achieves >80% test coverage
๐Ÿฉป Reviewer Quality Assurance Ensures spec compliance, security, performance, code quality
๐Ÿ“š Documenter Knowledge Management Creates user guides, API docs, maintains documentation

How It Works (With Roo/Cline)

# 1. Install Khive to get the prompt system
pip install khive[all]
khive init

# 2. Your AI assistant (via Roo) can now access specialized roles
# In Roo: "As @khive-orchestrator, plan the OAuth implementation"
# In Roo: "As @khive-researcher, compare JWT vs session auth"
# In Roo: "As @khive-implementer, build the auth service"

# 3. Each role follows the Golden Path workflow
Research โ†’ Design โ†’ Implement โ†’ Review โ†’ Document โ†’ Merge

๐ŸŒŸ The Golden Path Methodology

Every Khive AI role follows structured workflows with quality gates:

๐Ÿ“‹ Templates for Every Stage
โ”œโ”€โ”€ RR (Research Reports) - Evidence-based analysis
โ”œโ”€โ”€ TDS (Technical Design Specs) - Complete blueprints
โ”œโ”€โ”€ IP (Implementation Plans) - TDD-first development
โ”œโ”€โ”€ TI (Test Implementation) - Comprehensive testing
โ”œโ”€โ”€ CRR (Code Review Reports) - Quality verification
โ””โ”€โ”€ Documentation - User-facing guides

Quality Gates:

  • โœ… Research must cite sources (search IDs)
  • โœ… Design must reference research
  • โœ… Code must have >80% test coverage
  • โœ… Reviews verify spec compliance
  • โœ… Docs required before merge

๐Ÿš€ Quick Start

# Install Khive and set up your project
pip install khive[all]
cd your-project
khive init

# Now you have:
# 1. โœ… All your tools configured and working
# 2. โœ… .khive/prompts/ with AI team roles
# 3. โœ… Templates for structured development
# 4. โœ… Integration with Roo for AI assistance

๐Ÿ”ฅ Khive CLI: Your Universal Tool Interface

Before we dive into AI, let's not forget Khive's powerful unified tooling:

# One command for everything
khive fmt         # Format Python, Rust, TypeScript, Markdown
khive ci          # Run all tests in parallel
khive commit      # Smart commits with conventional format
khive pr          # Create PRs from terminal
khive clean       # Manage branches intelligently

# Extensible with your workflows
echo '#!/bin/bash
# Your custom logic
' > .khive/scripts/khive_deploy.sh

khive deploy      # Now everyone has your deployment flow

๐Ÿง  Why Khive's AI Approach Works

1. Specialized Expertise

Instead of one general AI, you get six experts. The Architect thinks differently than the Implementer. The Researcher provides evidence, not opinions.

2. Proven Workflows

The Golden Path isn't arbitrary - it's based on successful enterprise development practices, encoded into prompts.

3. Quality Enforcement

Every stage has checks. No more "LGTM" reviews. No more missing tests. No more outdated docs.

4. Tool Integration

# AI roles use Khive tools naturally
@khive-researcher: "I'll search for solutions" โ†’ khive info search
@khive-implementer: "Running tests" โ†’ khive ci
@khive-reviewer: "Checking formatting" โ†’ khive fmt --check

๐Ÿ“Š Real Results

Metric Without Khive With Khive Impact
Project Setup 2-4 hours 2 minutes 99% faster
AI Development Quality Inconsistent Structured & Verified Predictable
Test Coverage "Sometimes" Always >80% Reliable
Documentation "TODO" Always Current Professional
Code Reviews Superficial Comprehensive Secure

๐ŸŽจ Philosophy

  1. Tools should unify, not multiply - One interface for everything
  2. AI needs structure - Roles, workflows, and quality gates
  3. Humans lead, AI executes - You set direction, AI handles details
  4. Evidence over opinion - Every decision traced to research
  5. Quality is non-negotiable - Tests, reviews, and docs required

๐Ÿ—บ๏ธ Roadmap

Available Now โœ…

  • Unified CLI for all tools
  • AI team prompts and roles
  • Golden Path methodology
  • Roo/Cline integration
  • Custom script extensions
  • MCP server support

Coming Soon ๐Ÿšง

  • Native orchestration CLI (khive orchestrate)
  • VS Code extension
  • Cloud-based AI team coordination
  • Template marketplace
  • Autonomous PR workflows

๐Ÿค Join the Revolution

# Get started in 60 seconds
pip install khive[all]
khive init

# Explore the AI prompts
ls .khive/prompts/roo_rules/

# Start using structured AI development
# (In your AI assistant via Roo)

๐Ÿ’ฌ What Developers Are Saying

"Khive turned my ChatGPT from a code monkey into a senior engineering team." - Staff Engineer, FAANG

"The combination of unified tools and AI methodology is genius. Ship faster with higher quality." - CTO, YC Startup

"Finally, AI that follows our standards instead of making them up." - Engineering Manager, Fortune 500

๐Ÿ“š Learn More

๐Ÿ“œ License

Apache 2.0 - Because great tools should be free.


๐Ÿ Khive: Where tools become unified. Where AI becomes structured.

โญ Star us on GitHub โ€ข ๐Ÿ“ฆ Install from PyPI

Built by developers who believe AI should amplify expertise, not replace it.

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

khive-0.4.0.tar.gz (520.8 kB view details)

Uploaded Source

Built Distribution

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

khive-0.4.0-py3-none-any.whl (235.4 kB view details)

Uploaded Python 3

File details

Details for the file khive-0.4.0.tar.gz.

File metadata

  • Download URL: khive-0.4.0.tar.gz
  • Upload date:
  • Size: 520.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for khive-0.4.0.tar.gz
Algorithm Hash digest
SHA256 18edea02dcd3e80ad1f3830b4cf22e36358e2670ebb545127ffc5c3025510888
MD5 a2b4d3b3e6ef86e10b0f163ef59b7352
BLAKE2b-256 36617900bf6832b9a110f829d831d07bda8a5b4516be581eb89d66b932f01e36

See more details on using hashes here.

File details

Details for the file khive-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: khive-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 235.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for khive-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a668b472c54bc4ed10e25ec5782b7f96240296a3a57ea75cc779ef5f41c099a8
MD5 c6ed6b9642523fd273703436b0661f46
BLAKE2b-256 0a86e8bb2eadb439125509ef9a1206f8195a5d2c85af068905b294db12e4fd11

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