<p align="center"> <img src="https://raw.githubusercontent.com/asgarovf/locusai/refs/heads/master/assets/logo.png" alt="Locus" width="150" /> </p>
npm install @locusai/server

The backend API server for Locus — a local-first AI development platform.
- RESTful API for task management, documents, and CI runs
- SQLite database for local-first data storage
- Real-time events for live updates
- CI execution with allowlisted commands
This package is bundled with @locusai/cli. You typically don't need to install it directly.
``bash`Start via CLI (recommended)
npx @locusai/cli dev
| Endpoint | Description |
|----------|-------------|
| GET /api/tasks | List all tasks |POST /api/tasks
| | Create a new task |GET /api/docs/tree
| | Get documentation structure |POST /api/ci/run` | Execute a CI preset |
|
This package is part of the Locus platform.