kai
Health Uyari
- No license รขโฌโ Repository has no license file
- Description รขโฌโ Repository has a description
- Active repo รขโฌโ Last push 0 days ago
- Low visibility รขโฌโ Only 8 GitHub stars
Code Basarisiz
- Hardcoded secret รขโฌโ Potential hardcoded credential in apps/mcp/scripts/test-vault.ts
- process.env รขโฌโ Environment variable access in apps/mcp/src/config.ts
Permissions Gecti
- Permissions รขโฌโ No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
๐ Kai is a context engineering platform. It's persistent memory for AI coding copilots. Teach it once, surface context automatically. MCP server for Claude Code.
๐ Kai
Your AI copilot's memory. Persistent context across sessions, projects, and teams.
Give your coding agent the context it needs โ automatically.
Works with Claude Code ยท more copilots coming soon
The Problem
Every time you start a new conversation with your AI copilot, it forgets everything.
- ๐ You repeat the same context about your project, your team, your standards
- ๐คท The copilot makes mistakes you've already corrected in past sessions
- ๐ Your policies, specs, and business rules sit in files the copilot never sees
- ๐ง Decisions and rationale from past conversations are lost forever
Copilots are powerful โ but they have amnesia.
The Solution
Kai gives your copilot a persistent memory that grows smarter over time.
| Without Kai | With Kai |
|---|---|
| Copilot starts fresh every session | Copilot remembers what it learned |
| You repeat context manually | Context surfaces automatically |
| Knowledge lives in your head | Knowledge lives in a structured KB |
| Decisions are forgotten | Decisions persist across sessions |
How it works: Kai runs as an MCP server alongside your copilot. You teach it your context once โ policies, specs, decisions, patterns โ and it proactively surfaces relevant information when you need it.
๐ All data stays local. Your code and context never leave your machine.
Quickstart (Claude Code)
Step 1: Add Kai to Claude Code
claude mcp add kai -s user -e ANTHROPIC_API_KEY="your-anthropic-api-key" -- npx @aurite-ai/kai
Scope options:
-s projectโ Config stored for current project only-s userโ Config stored globally (available across all projects)
Step 2: In any project, tell your copilot:
"Set up Kai"
This deploys copilot rules and runs onboarding. The copilot asks a few questions to understand your context โ this only happens once.
Step 3: Start teaching it your context:
"learn ~/Downloads/api-guidelines.pdf"
"learn the docs/ folder"
Step 4: Start working โ Kai surfaces the right context automatically.
๐ฆ More installation options (npm global, Docker, from source)"build a customer support agent"
Kai feeds your copilot your API conventions, auth patterns, and related context. No reminders needed.
npm (Global Install)
npm install -g @aurite-ai/kai
Configure your MCP client to use kai-mcp as the command.
npx (No Install)
npx @aurite-ai/kai
Docker
docker pull kai/mcp
docker run -i kai/mcp
From Source
git clone https://github.com/Aurite-ai/kai.git
cd kai
pnpm install
pnpm --filter @aurite-ai/kai build
pnpm --filter @aurite-ai/kai bundle
What It Looks Like
You teach Kai your company's context:
"learn ~/docs/api-guidelines.pdf"
"learn the docs/ folder"
Later, you start a task:
"build a customer support agent"
Kai automatically surfaces the relevant context to your copilot:
- โ Your API conventions and auth patterns
- โ Customer data models and access policies
- โ Error handling and response format standards
- โ Related endpoints already in the codebase
Your copilot builds it right the first time โ no reminders needed.
How It Works
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ YOU COPILOT KAI โ
โ โ
โ "set up Kai" โโโโโโโโโโบ deploys rules โโโโโโบ .kai/ โ
โ asks questions stores โ
โ context โ
โ โ
โ "learn these docs" โโโโโโโโบ kai_learn โโโโโโบ knowledge โ
โ base โ
โ โ
โ "build feature X" โโโโโโโโโบ kai_prepare โโโโโโบ surfaces โ
โ _context relevant โ
โ files โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ก If Kai saves you from repeating yourself, consider giving it a โญ. It helps others discover the project.
Contents
- The Problem
- The Solution
- Quickstart
- What It Looks Like
- How It Works
- How It Compares
- Features
- Available Tools
- Documentation
- Contributing
- License
How It Compares
| Feature | Kai | Copilot Memory | RAG Tools | Manual Context |
|---|---|---|---|---|
| Persists across sessions | โ | Partial | โ | โ |
| Learns from files & conversations | โ | โ | Files only | N/A |
| Proactive context surfacing | โ | โ | Query-based | โ |
| Auto-classifies knowledge | โ | โ | โ | Manual |
| Works across projects | โ | โ | Varies | โ |
| Zero-config for copilot | โ | โ | โ | โ |
| Data stays local | โ | โ | Varies | โ |
Kai is not a replacement for built-in copilot memory โ it's what copilot memory should have been.
Features
- ๐ Knowledge Base โ Store, categorize, and retrieve context from markdown files
- ๐ฏ Smart Context Surfacing โ Automatically surface relevant knowledge for your task
- ๐ Integration Management โ Discover, verify, and use external service integrations
- ๐ Secure Credential Vault โ Store and manage secrets with multiple provider support
- ๐ Usage Tracking โ Monitor token consumption and costs per project
- ๐ Onboarding System โ Guided setup for organization and project context
Available Tools
| Tool | Description |
|---|---|
kai_initialize |
Deploys copilot rules, runs onboarding |
kai_learn |
Adds files to knowledge base with classification |
kai_prepare_context |
Surfaces relevant knowledge for a task |
kai_ask |
Quick Q&A against the knowledge base |
kai_delete |
Remove outdated files from the knowledge base |
kai_provide_context |
Store org or user context in the knowledge base |
kai_usage |
View token usage and cost summary for the project |
kai_list_integrations |
List all discovered integrations and their status |
kai_use_integration |
Execute operations on discovered integrations |
kai_verify_integration |
Verify integration credentials and connectivity |
health_check |
Verify MCP server connectivity |
Documentation
For Users:
- MCP Server Documentation โ Installation, tools, configuration
- Advanced Documentation โ Integrations, vault, KB structure
For Contributors:
- Product Design โ Core concepts, tool specifications
- Architecture: Repository Infrastructure
- Architecture: Context Management System
Contributing
We welcome contributions of all kinds!
- ๐ Found a bug? Open an issue
- ๐ก Have an idea? Open a feature request
- ๐ง Want to contribute code? Open a PR
Prerequisites
- Node.js 18+
- pnpm 9+
Quick Start
# Install dependencies
pnpm install
# Set up environment
cp apps/mcp/.env.example apps/mcp/.env
# Build workspace packages
pnpm build
# Run tests
pnpm test
Scripts
| Command | Description |
|---|---|
pnpm build |
Build all packages (via Turborepo) |
pnpm test |
Run all tests across workspace |
pnpm lint |
Lint codebase (Biome) |
pnpm lint:fix |
Lint and auto-fix issues |
pnpm format |
Format codebase (Biome) |
pnpm typecheck |
Type-check all packages |
pnpm clean |
Remove build artifacts and caches |
Testing CLI
| Command | Description |
|---|---|
pnpm kai-test |
Run testing CLI |
pnpm test:create |
Create a test project from a scenario |
pnpm test:list |
List available scenarios and test projects |
pnpm test:collect |
Collect results from a test session |
Project Structure
kai/
โโโ apps/
โ โโโ mcp/ # MCP server (stdio) โ context management tools
โ โโโ src/
โ โ โโโ knowledge/ # Knowledge base domain logic (agents, storage, surfacing)
โ โ โโโ integrations/ # External service integration management
โ โ โโโ vault/ # Secure credential management
โ โ โโโ usage/ # Token usage and cost tracking
โ โ โโโ tools/ # MCP tool handlers
โ โโโ templates/ # Project initialization templates
โโโ packages/
โ โโโ testing/ # QA testing infrastructure (scenarios + CLI)
โ โโโ vck-templates/ # Copilot configuration templates
โโโ docs/ # Documentation
License
MIT
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi