Locus is an AI-native project management platform for engineering teams.
Plan sprints, manage tasks, and coordinate documentation in the cloudβwhile AI agents run securely on your machine to build, test, and document your software.
Read the full documentation to learn more.
Warning
Active Development: Locus is currently in an early alpha stage and is under active development. Expect breaking changes, bugs, and evolving APIs. Use with caution in production environments.
Locus is the platform that manages your projects. Your actual product code lives in separate repositories.
Key Features
- AI-Native Planning β Plan sprints, define tasks, and write documentation designed for AI agents. Use AI-powered sprint planning with a multi-agent meeting (Tech Lead, Architect, Sprint Organizer) to break down goals into structured, prioritized tasks.
- Secure Local Execution β Agents run on your machine (or your server). Source code never leaves your infrastructureβonly task metadata is synced to the cloud.
- Multiple AI Providers β Choose between Claude (Anthropic) and Codex (OpenAI) as your agent backend. Switch providers per-command or set a default.
- Team Coordination β Cloud-based dashboard for visibility, collaboration, sprint boards, document editing, and task management.
- Cognitive Context β Agents receive rich context including project instructions (
.locus/LOCUS.md), semantic codebase index, workspace documents, sprint progress, and task details. - AI Code Review β Review pull requests or local changes with AI-powered analysis directly from the CLI.
- Skills System β Extend agent capabilities with markdown instruction files for specialized domain knowledge.
- Telegram Bot β Control agents, plan sprints, approve plans, and monitor execution remotely from your phone.
- Self-Hosting β Deploy Locus on your own server for 24/7 agent availability with remote Telegram control.
- AI Discussions β Start interactive AI discussions with full project context. Extracts structured insights (decisions, requirements, ideas, concerns) as the conversation progresses.
- VSCode Extension β Chat with agents, explain code selections, and run exec tasks directly from your editor.
Quick Start
1. Install locus as global package
npm install -g @locusai/cli
2. Initialize a new project
3. Setup your configuration
4. Run the agent
Start agents to pick up and execute tasks from your active sprint:
Use a different provider:
locus run --provider codex
CLI Commands
| Command | Description |
|---|---|
locus init |
Initialize a project with the .locus/ structure |
locus config |
Manage settings (API key, provider, model) |
locus run |
Start agent to execute sprint tasks sequentially |
locus plan |
AI sprint planning with a multi-agent meeting |
locus discuss |
Interactive AI discussions with insight extraction |
locus exec |
Execute a prompt with repo context (supports interactive REPL) |
locus review |
AI code review for PRs and local changes |
locus index |
Create a semantic codebase index |
locus docs |
Sync workspace documents |
locus telegram |
Configure and start the Telegram bot |
locus upgrade |
Upgrade CLI to the latest version |
locus version |
Show current version |
locus disccus |
Discuss an idea with agents |
How It Works
Architecture
locus-dev/ β The platform (Open Source)
βββ apps/
β βββ api/ β Cloud API & Engine (NestJS)
β βββ web/ β Cloud Dashboard (Next.js)
β βββ www/ β Landing Page (Next.js)
βββ packages/
βββ cli/ β Local Agent Runtime & CLI
βββ sdk/ β Core Logic & API Client
βββ shared/ β Shared Types & Schemas
βββ vscode/ β VSCode Extension
βββ telegram/ β Telegram Bot for Remote Control
The Workflow
- Plan β Define tasks manually in the dashboard, or use
locus plan "your goal"to have AI agents break down your objective into a structured sprint. - Dispatch β Start agents with
locus run. The API dispatches tasks with server-side locking to prevent conflicts. - Execute β Each agent claims a task, creates an isolated git branch, builds rich context, and executes using your chosen AI provider.
- Review β Agents commit changes, push branches, and create pull requests. Review with
locus reviewor in GitHub. Reject tasks with feedback to send them back for rework.
Project Structure
After running locus init, your project will have:
your-project/
βββ .locus/
β βββ config.json # Project metadata
β βββ settings.json # API key & provider (gitignored)
β βββ LOCUS.md # Agent instructions
β βββ LEARNINGS.md # Continuous learning log
β βββ codebase-index.json # Semantic index
β βββ documents/ # Synced workspace documents
β βββ artifacts/ # Generated files
β βββ sessions/ # Exec session history
β βββ reviews/ # Code review reports
β βββ plans/ # Sprint plans
Telegram Bot
Control your agents remotely with the built-in Telegram bot:
/planβ Start AI sprint planning/approve//rejectβ Approve or reject generated plans/runβ Start agents remotely/execβ Execute a prompt with repo context/tasksβ List active tasks/stopβ Stop running processes/gitβ Run whitelisted git commands/devβ Run lint, typecheck, build, or test
Set up with locus telegram and connect your Telegram chat.
Self-Hosting
Deploy Locus on your own server for 24/7 agent availability:
curl -fsSL https://locusai.dev/install.sh | bashThe installer sets up Node.js, Bun, GitHub CLI, your chosen AI provider CLI, and configures system services for automatic startup. Supports Linux (systemd), macOS (LaunchAgent), and Windows (Scheduled Tasks).
See the self-hosting guide for full details.
Development
For detailed instructions on how to set up the development environment, run tests, and contribute code, please see CONTRIBUTING.md.
# Quick check bun run lint && bun run typecheck
