# ContextOS — Spatial Architecture Canvas & Context OS for AI Coding Agents

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/yubinbin32-ops/ContextOS  
**GitHub Stars:** 16  
**npm Downloads (last month):** 12  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/contextos-spatial-architecture-canvas-context-os-for-ai-coding-a

## Description
Spatial architecture canvas and context optimization OS for AI coding agents.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "contextos-spatial-architecture-canvas-context-os-for-ai-coding-agents": {
    "command": "npx",
    "args": ["-y","contextos"]
  }
}
```

## Documentation

## What ContextOS — Spatial Architecture Canvas & Context OS for AI Coding Agents does

ContextOS — Spatial Architecture Canvas & Context OS for AI Coding Agents is a local development runtime that works alongside an AI coding assistant and a repository. It keeps project evidence, command results, plans, architecture information, change records, and verification receipts in persistent local state rather than leaving all of that material in the active conversation.

The main agent remains responsible for planning, scoping, architecture, and review. The runtime supplies an execution and continuity layer that can return only the evidence or result needed for the next decision. A new session can recover plans and receipts instead of rebuilding the entire history from chat.

## How it works

The runtime separates several kinds of work. `ask` reads selected paths, line ranges, or AST symbols and can recover earlier results by ID while checking source versions. `command` runs a command once and stores its output and exit status for later retrieval. `pipeline` groups known steps for serial or parallel execution and provides results for each step.

Architecture is represented with Blocks and Chains. Blocks associate selected source files with architecture units, boundaries, state, and verification evidence. Chains connect those units into project paths and record relationships and progress. Changes can be applied through `change` and integrated through `integrate`, preserving a connection between implementation, architecture state, and verification.

The ContextOS — Spatial Architecture Canvas & Context OS for AI Coding Agents workflow also supports two delegation paths. `micro` uses a configured API model for bounded retrieval, summaries, diagnosis, or small edits, returning a compact report. `agent` uses a configured CLI adapter in an isolated workspace and can return changes, checks, and blockers. Delegation is intended for clearly defined tasks because it introduces its own execution overhead.

## Setup and configuration

The repository identifies Node.js 22 or newer as a requirement and describes ContextOS as a local MCP runtime.

Micro requires a configured API model, while `agent` requires a configured CLI adapter.

## Tools and capabilities

- Inspect exact source locations and reusable evidence with `ask`.
- Persist command output, errors, and exit statuses with `command`.
- Run grouped serial or parallel operations with `pipeline`.
- Model architecture ownership and relationships with Blocks and Chains.
- Apply scoped changes or merge isolated worker results with `change` and `integrate`.
- Delegate bounded analysis or small edits through `micro`.
- Run isolated implementation tasks through `agent`.
- Continue work using persistent plans, tasks, sessions, and receipts.

The documented evaluation reports lower peak main-agent context for one recorded development task when using the runtime with Micro and CLI delegation, but those measurements describe that task rather than a general result.

## Limitations and notes

ContextOS — Spatial Architecture Canvas & Context OS for AI Coding Agents is most suitable when the task benefits from inspectable state, reusable command results, or explicit architecture tracking. Small deterministic reads can use the runtime directly; broader implementation work may be better suited to the isolated CLI path.

Reported token reductions should not be treated as guarantees across repositories, workflows, or model configurations.

_Full upstream README: https://allmcps.com/mcp/contextos-spatial-architecture-canvas-context-os-for-ai-coding-a/readme_

