AI-as-Code framework for structuring AI-assisted software development. Define AI agents as version-controlled Markdown files with YAML frontmatter.
You've figured out how to make AI agents understand your project. You've crafted the perfect prompts, built context-aware agents, and your AI-generated code actually works. Now what?
The real challenge isn't creating smart agents—it's scaling that success across your team, projects, and workflow.
- "How do I share this with my team?" - You've spent weeks perfecting an agent configuration, but there's no clean way to distribute it beyond copy-pasting prompts in Slack
- "Which version was working?" - Your agent setup evolved over time, but when something breaks, you can't roll back to the version that was working last week
- "I need this in my IDE, not just ChatGPT" - Your perfect brainstorming agent lives in a web interface, but you need it integrated into your actual development workflow
- "Can we run this in CI?" - Your agents work great for interactive development, but you need them for code review, documentation generation, and automated analysis
- "How do we maintain this across 10 repositories?" - Each project needs slight variations, but managing separate configurations becomes a nightmare
- No Distribution System: Agents remain isolated to individuals or require manual sharing through ad-hoc methods
- Version Control Gap: Agent configurations evolve without proper versioning, making it impossible to track what works and what doesn't
- Platform Lock-in: Agents tied to specific tools can't be moved, adapted, or integrated into different parts of your workflow
- Maintenance Overhead: As your agent library grows, keeping configurations synchronized across projects becomes unmanageable
- Quality Assurance: No systematic way to validate that agents work correctly before deploying them across teams or into production workflows
- Context Fragmentation: Web-based AI tools lose critical project context, forcing manual re-explanation of architecture, patterns, and organizational standards for each interaction
KubeRocketAI brings the proven "Pipeline-as-Code" model to AI agent management. Teams define agents in version-controlled Markdown files that integrate seamlessly with existing development workflows, enabling the same declarative approach developers expect from modern CI/CD pipelines.
krci-ai-intro.mp4
For a practical case study on product development with project-specific AI agent customization, see:
Feature Implementation with KubeRocketAI: From Product Requirements to Code in Production (YouTube)
This video demonstrates how KubeRocketAI applies AI-as-Code principles to deliver local agent components tailored to project needs while maintaining organizational standards. It covers the full journey from product strategy and requirements updates to technical implementation and validation. You'll see how teams can systematically manage agent customization, update PRDs, define epics and stories, and implement solutions using the framework and CLI tools.
- Agent-as-Code Distribution: Version-control and share your proven agent configurations just like you do with Pipeline-as-Code
- Multi-Platform Injection: Deploy the same agent definition to your IDE, CI pipeline, bundled for brainstorming, or wherever you need AI assistance
- Built-in Validation: Validate agent configurations and dependencies before deployment, ensuring consistent behavior across environments
- Context-Preserving Bundling: Package agents with full project context for web chat tools, maintaining architectural knowledge and organizational standards across platforms
- Scalable Team Workflows: Maintain agent libraries across multiple projects and repositories without configuration hell
Two deployment modes for different contexts:
Deploy agents directly into your development environment with project-specific context optimized for coding tasks.
Bundle agents with complete project assets for brainstorming and requirements elicitation in high-context models (ChatGPT, Claude, Gemini Pro).
# IDE: Focused development context
krci-ai install --ide=cursor
# Web Chat: Complete project context for strategic sessions
krci-ai bundle --all --output brainstorm-context.md
This diagram illustrates the AI-as-Code approach for AI agents, showing how KubeRocketAI enables declarative AI-as-Code management within existing developer workflows.
graph TD
Developer["👨💻 Developer<br/>Uses existing tools"]
CLI["🛠️ krci-ai CLI<br/>📦 Embedded Framework Assets<br/>🔧 AI-as-Code Management"]
IDE["🎨 AI-Powered IDE<br/>Native Integration<br/>(No plugins required)"]
LocalFramework["📁 ./krci-ai/<br/>🔗 Declarative AI Agents<br/>📋 Extracted + Local"]
TargetProject["💻 Target Project<br/>🔀 Git Repository"]
GoldenRepo["🏢 Golden Source<br/>🔗 Git Repository<br/>🤖 AI-as-Code<br/>🔮 Future Enhancement"]
Developer --> CLI
Developer --> IDE
CLI -->|"📦 Extract embedded assets<br/>Offline operation"| LocalFramework
IDE -.->|"📖 Reads declarative configs<br/>Native filesystem access"| LocalFramework
LocalFramework --> TargetProject
GoldenRepo -.->|"🔮 Post-MVP: Remote updates<br/>Community contributions"| CLI
TargetProject -.->|"🔄 Future: Contribute back<br/>Local customizations"| GoldenRepo
style CLI fill:#e3f2fd,stroke:#1976d2,stroke-width:2px,color:#111
style IDE fill:#fff3e0,stroke:#f57c00,stroke-width:2px,color:#111
style GoldenRepo fill:#f0f0f0,stroke:#999999,stroke-width:1px,stroke-dasharray: 5 5,color:#111
style LocalFramework fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px,color:#111
style Developer fill:#e8f5e8,stroke:#388e3c,stroke-width:2px,color:#111
style TargetProject fill:#fff9c4,stroke:#fbc02d,stroke-width:2px,color:#111
# Add the KubeRocketCI tap
brew tap KubeRocketCI/homebrew-tap
# Install krci-ai
brew install krci-ai
# Download and extract latest release
curl -L "https://github.com/KubeRocketCI/kuberocketai/releases/latest/download/krci-ai_Linux_x86_64.tar.gz" | tar -xz
chmod +x krci-ai
sudo mv krci-ai /usr/local/bin/
- Download the latest release: krci-ai_Windows_x86_64.zip
- Extract the zip file
- Add the
krci-ai.exe
to your PATH or move it to a directory in your PATH
git clone https://github.com/KubeRocketCI/kuberocketai.git
cd kuberocketai
make build
# Update via Homebrew
brew update && brew upgrade krci-ai
# Uninstall via Homebrew
brew uninstall krci-ai
# Install framework with IDE integration
krci-ai install --ide=cursor
# Validate your agent configurations
krci-ai validate --all
# Create context-aware bundles for web chat tools
krci-ai bundle --all --output project-context.md
# List available agents
krci-ai list agents
# Install with all IDE integrations
krci-ai install --all
KubeRocketAI succeeds when you can scale your AI workflow like you scale your CI/CD pipelines:
- Agent Reusability: Deploy proven configurations across multiple projects without manual setup
- Quality Assurance: Validate agent configurations before deployment to catch issues early
- Version Control Integration: Track what works, roll back when things break, collaborate on improvements
- Platform Flexibility: Use the same agent definitions for IDE development, CI automation, and brainstorming sessions
Our goal: Turn your AI agent expertise into scalable, maintainable CI/CD pipelines.
KubeRocketAI builds upon the excellent work of several innovative frameworks that enhance AI-powered development workflows. We're particularly inspired by Awesome Claude, which curates powerful commands and workflows for Claude Code productivity. The BMAD method contributes robust agile AI-driven development practices with impressive context management through sharding and delegation. Claude Flow pioneered multi-agent orchestration with specialized development modes like Architect and Coder. SuperClaude demonstrates advanced persona specialization and Git-based memory features.
You'll love this if you:
- Have created effective AI agents but struggle to share them across your team
- Want to version-control your agent configurations just like you do with your infrastructure and CI/CD pipelines
- Need validation and quality assurance for agents before deploying them across projects
- Need the same agents working in multiple contexts: IDE, CI/CD, brainstorming, code review
- Maintain multiple repositories and are tired of keeping agent configurations in sync
- Have proven AI workflows but no systematic way to scale them across projects
Perfect for:
- Senior AI Engineers: Have mastered individual agent creation, now need enterprise-scale management
- DevOps-Minded Teams: Want to apply Pipeline-as-Code principles to AI agent management
- Multi-Project Teams: Need consistent AI capabilities across different repositories and contexts
- AI-First Organizations: Ready to systematize their AI workflows beyond individual experimentation
📚 Complete documentation available at /docs
- Quick Start Guide - Get running in 3 minutes
- Core Concepts - Understand AI-as-Code principles
- Architecture Overview - System design and components
See CONTRIBUTING.md for development setup and guidelines.
Apache-2.0 License - see LICENSE for details.