diff --git a/AGENTS.md b/AGENTS.md index da2137db93d..e7ca48bdc38 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,31 @@ Kilo Code is an open source AI coding agent for VS Code that generates code from natural language, automates tasks, and supports 500+ AI models. +## Project Structure + +This is a pnpm monorepo using Turbo for task orchestration: + +- **`src/`** - VSCode extension (core logic, API providers, tools) +- **`webview-ui/`** - React frontend (chat UI, settings) +- **`cli/`** - Standalone CLI package +- **`packages/`** - Shared packages (`types`, `ipc`, `telemetry`, `cloud`) +- **`jetbrains/`** - JetBrains plugin (Kotlin + Node.js host) +- **`apps/`** - E2E tests, Storybook, docs + +Key source directories: +- `src/api/providers/` - AI provider implementations (50+ providers) +- `src/core/tools/` - Tool implementations (ReadFile, ApplyDiff, ExecuteCommand, etc.) +- `src/services/` - Services (MCP, browser, checkpoints, code-index) + +## Build Commands + +```bash +pnpm install # Install all dependencies +pnpm build # Build extension (.vsix) +pnpm lint # Run ESLint +pnpm check-types # TypeScript type checking +``` + ## Skills - **Translation**: `.kilocode/skills/translation/SKILL.md` - Translation and localization guidelines