@anonymous-dev/0x0-server is the local runtime for AI-powered developer tools.
It exposes one provider layer over OpenAI and Anthropic models. The primary app surfaces
are server chat and server completions. Clients can call them through HTTP for simple
requests or WebSocket for editor sessions, agent turns, cancellation, and change review.
What It Provides
- Provider discovery through
GET /providers - Streaming chat through
POST /chat - One-shot code completion through
POST /completions - One-shot inline edits through
POST /inline-edit - Git-backed agent sessions over
/ws - Worktree-based change review with accept and discard operations
Quick Start
http://127.0.0.1:4096 by default. Set PORT to choose another
port.
Runtime Shape
| Surface | Use it for |
|---|---|
| HTTP | Stateless chat, completion, inline-edit, provider, and session endpoints |
| SSE | Streaming output from POST /chat |
| WebSocket | Editor sessions, long-running agent turns, cancellation, and review state |
| Worktrees | Isolated agent edits before the user accepts or discards changes |
Documentation
Server Chat
Chat, inline edits, agent sessions, and worktree review
Server Completions
Ghost-text completion requests for editor buffers
Configuration
Environment variables, port selection, and local state
API Reference
HTTP endpoints, WebSocket messages, and stream events
Providers
OpenAI and Anthropic provider configuration