Add your description here
Project description
๐ Khive: Transform Your AI Into a Full Development Team
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:
- ๐ง Unified Tools: One command for all languages, all workflows
- ๐ง 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
- Tools should unify, not multiply - One interface for everything
- AI needs structure - Roles, workflows, and quality gates
- Humans lead, AI executes - You set direction, AI handles details
- Evidence over opinion - Every decision traced to research
- 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
- Golden Path - The methodology
- Discord - Join the community
๐ 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18edea02dcd3e80ad1f3830b4cf22e36358e2670ebb545127ffc5c3025510888
|
|
| MD5 |
a2b4d3b3e6ef86e10b0f163ef59b7352
|
|
| BLAKE2b-256 |
36617900bf6832b9a110f829d831d07bda8a5b4516be581eb89d66b932f01e36
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a668b472c54bc4ed10e25ec5782b7f96240296a3a57ea75cc779ef5f41c099a8
|
|
| MD5 |
c6ed6b9642523fd273703436b0661f46
|
|
| BLAKE2b-256 |
0a86e8bb2eadb439125509ef9a1206f8195a5d2c85af068905b294db12e4fd11
|