Cellar
Cellar provides a structured, multi-source computer use platform for AI agents to perceive, interact with, and automate tasks across desktop and browser environments through 4 composable tools.
cel_see — Screen Observation
Read structured UI elements with types, labels, bounds, and confidence scores
Capture screenshots, list windows/monitors, get cursor position
Inspect elements by ID or coordinates, create resilient element references
Retrieve browser (CDP) page content, debug targets
Wait for elements to appear (with timeout) or screen to stabilize (idle detection)
Watch for 18 event types: tree changes, network idle, focus/value/window/menu/selection changes, and more
cel_act — Screen Interaction
Click (single, right, double), move mouse by coordinates or element reference
Type text, press keys, execute keyboard combos with modifiers
Perform native accessibility API actions (
ax_action) and set values directly on form fields/checkboxesWrite and read spreadsheet cells deterministically (Numbers app)
Scroll, drag & drop, execute JavaScript in browser via CDP
Batch up to 4 sequential actions in one call
cel_think — Planning, Memory & Autonomous Execution
Delegate a natural language goal for fully autonomous see→plan→act execution (
run_goal)Generate LLM-powered step-by-step plans (with optional vision/screenshot)
Store and search persistent knowledge via FTS5 full-text search
Get/set per-workflow working memory (scratchpad)
Record observations with priority levels, track runs with confidence scores
Send text or image+text directly to the LLM (passthrough)
cel_perceive — Always-On Continuous Perception (Cortex)
Start a continuously-updated mental model of the screen with a goal
Get instant snapshots kept warm by background event streams
Report actions and receive verification (screen diff + settlement detection)
Checkpoint completed work and reset action history between task phases
Check Cortex health: confidence score, uptime, cycle count, element stability
Stop the Cortex and receive a session summary
Additional Capabilities
Multi-source fusion: Combines accessibility tree, CDP, vision, network, and app-specific adapters (Apple Calendar, Mail, Numbers; planned for Excel, Slack, Figma) into structured JSON with confidence scoring
Agent & model agnostic: Works with LangGraph, Mastra, Claude Code, Cursor, n8n and LLMs including OpenAI, Anthropic, Gemini, and local Ollama
Hybrid runtime: Prioritizes structured sources (accessibility, native APIs) and escalates to vision only when needed; prevents infinite loops via impossible-action detection
CLI: Commands for init, setup, context viewing, screen capture, actions, MCP server, workflows, and training mode
Platform support: Full macOS support (AXUIElement, Cortex, MCP); Linux via AT-SPI2; Windows UI Automation planned
Provides a first-party adapter for SAP GUI, enabling structured interaction with SAP applications through accessibility and input injection.
CEL OSS
CEL is the open context and trust data plane for AI agents.
CEL gives agent builders reusable contracts for four things every serious agent runtime needs:
fuse many sources into one canonical context snapshot
persist cross-turn memory locally or behind your own backend
assemble governed model briefs with receipts
inspect what the agent saw, remembered, sent to the model, and later claimed
The open project is intentionally not the full Cellar runtime. The live cortex engine, policy enforcement, monitoring, compliance workflows, hosted workers, and GUI surfaces are the commercial Cellar/Dilipod operating layer built on these contracts.
OSS Crates
Each crate is published on crates.io and maintained in a
standalone repository. This workspace (cellar-oss) mirrors them for integrated
examples and shared docs.
Crate | Repository | Role | Start here |
| |||
Memory trait, sessions, scopes, write hooks | |||
Local SQLite + vector + FTS backend | |||
Brief assembly, budgeting, governance, receipts | |||
Action, planning, and execution receipt schemas | |||
LLM summarizers for session rollups (Anthropic + Ollama) |
Current release line: 0.2.0 on crates.io. Upgrading from 0.1.x? See docs/migration-0.2.md.
See docs/crates.md for the full crate matrix.
Related MCP server: native-devtools-mcp
Architecture
+------------------------------------------------------------+
| Agents LangGraph | Mastra | Claude Code | Cursor |
| Codex | GPT | Gemini | n8n | MCP clients |
+------------------------------------------------------------+
| Cellar live cortex runtime, policy, monitoring, |
| runtime compliance, hosted execution, GUI workflows |
+------------------------------------------------------------+
| CEL OSS context snapshots, memory, brief assembly, |
| contracts transport schemas, receipts |
+------------------------------------------------------------+
| Sources browser | desktop apps | logs | traces | APIs |
+------------------------------------------------------------+Quickstart
Use the OSS contracts without the full runtime. Clone a standalone crate repo, or run from this workspace:
# standalone repo (from repo root)
cargo run --example context_snapshot -- --json
cargo run --example basic
cargo run --example standalone
cargo run --features memory --example with_memory
# this workspace
cargo run -p cel-context --example context_snapshot -- --json
cargo run -p cel-memory --example basic
cargo run -p cel-memory-sqlite --example basic
cargo run -p cel-brief --example standalone
cargo run -p cel-brief --features memory --example with_memoryFor a guided path, read docs/quickstart.md.
Examples
The top-level examples are organized by job-to-be-done:
examples/merge-context — emit or capture multiple sources into one
ContextSnapshot.examples/memory-provider — store and retrieve memory through the
MemoryProvidertrait.examples/build-brief — build a governed prompt bundle and inspect its receipt.
examples/receipt-inspection — understand action and brief receipts.
examples/context-to-brief — connect context, memory, and brief assembly end-to-end.
Commercial Boundary
Open CEL provides the contracts. Cellar/Dilipod operates those contracts in a live environment:
Open CEL | Commercial Cellar/Dilipod |
Context schema and merge contracts | Live cortex runtime |
Memory and SQLite backend | Policy enforcement and approvals |
Brief assembly and brief receipts | Monitoring, alerting, audit timeline |
Receipt and transport schemas | Compliance exports and hosted workers |
See docs/oss-boundary.md and docs/commercial-model.md.
License
Open CEL crates and docs are Apache-2.0 unless a subdirectory states otherwise.
Available Tools
4 toolscel_actCEL ActA
Execute actions on the screen: mouse clicks, keyboard input, accessibility actions, drag & drop, and direct value setting. Always use cel_see first to understand the screen.
For click/move: provide (x, y) coordinates or a target_ref from cel_see make_reference. For form filling: prefer set_value over type — faster and more reliable. For buttons/checkboxes: prefer ax_action over click — uses native accessibility API.
Coordinate Actions (x,y or target_ref): click, right_click, double_click, mouse_move.
Keyboard: type (text string), key_press (single key: Enter, Tab, Escape, etc.), key_combo (modifier combinations: ['Ctrl','C'], ['Cmd','Shift','S']).
Accessibility API (preferred for reliability): ax_action — native a11y actions on element_id: click, activate, press, increment, decrement, cancel, show_menu, scroll_to_visible, raise, pick, delete. set_value — direct value injection on element_id: text for fields, 'true'/'false' for checkboxes.
Deterministic spreadsheet actions: write_cells (atomic Numbers cell writes with optional readback verification), read_cells (read Numbers cell values from the document model instead of guessing from AX text).
Other: scroll (dx,dy at optional x,y), drag (from_x,from_y to to_x,to_y), cdp_eval (execute JavaScript in browser via CDP — best for cookie banners, iframes, overlays, and elements invisible to the accessibility tree).
Batching: pass array of 1-4 actions for sequential execution (100ms default delay). Re-observe with cel_see after each batch to avoid stale-state cascading failures.
Inputs: no named parameters.
cel_perceiveCEL PerceiveA
Always-on perception engine (Cortex). Maintains a continuously-updated mental model via background event streams with periodic accessibility tree refreshes on significant changes, and vision/screenshots when flagged as needed.
IMPORTANT: Singleton — only one perception session can be active at a time. cel_see 'watch' mode is unavailable during an active session.
Modes:
start: Boot the cortex with a goal. Set enable_suggestions=true (default) for LLM-powered next-action recommendations on each read.
read: Get the mental model snapshot (instant — model is kept warm by background events).
feed: Report an action you took (action, target, expected outcome). Cortex waits for screen to settle, diffs against current model, returns verification.
checkpoint: Summarize completed work and reset action history. Use between phases of multi-step tasks.
configure: Update goal or enable_suggestions mid-session.
status: Cortex health — confidence score, uptime, cycle count, element counts (stable vs volatile), temporal state (loading, errors, focus trail).
stop: Shutdown the cortex and get a summary.
The model includes temporal awareness (loading states, error persistence, focus trail) and element stability classification (stable vs volatile targets).
Inputs: no named parameters.
cel_seeCEL SeeA
Read and observe the current screen state. Returns structured UI elements, window lists, screenshots, CDP page content, accessibility element details, and screen change events. Always use this BEFORE acting to understand what's on screen.
Screen Context: context (elements with filter/compression — use detail 'compact' to save tokens), screenshot (PNG capture), windows (visible window list), monitors (display list).
Element Inspection: focused (high-fidelity detail for one element_id), element_at (hit-test x,y coordinates), is_settable (check if set_value works), make_reference (resilient ref that survives across snapshots), cursor_position.
Browser (CDP): cdp_status (debug targets & connection state), cdp_page (full page content as text).
Observation Recall: observation (load a persisted context snapshot by observation_id).
Waiting & Watching: wait_for_element (poll for element by type/label, default 10s timeout), wait_for_idle (poll until screen stabilizes — requires 2 consecutive stable polls), watch (event-driven — 18 event types: tree_changed, network_idle, focus_changed, value_changed, window_created, menu_opened, menu_closed, sheet_created, layout_changed, title_changed, app_activated, app_deactivated, window_moved, window_resized, window_minimized, window_restored, selection_changed, row_count_changed). Note: watch is unavailable during an active cel_perceive session.
Limits: CDP enrichment caps at 50 text_blocks, 50 interactive_elements, 3000 char body_text.
Inputs: no named parameters.
cel_thinkCEL ThinkC
CEL's cognitive layer: delegated autonomy, planning, knowledge, run tracking, and LLM passthrough.
Efficiency rule: if the MCP host already reasons well step-by-step, prefer cel_see + cel_act and keep planning in the host. Use run_goal only when you intentionally want CEL to take over the control loop.
Delegated Autonomous Execution: run_goal — give a natural language goal, CEL runs a full internal see→plan→act loop autonomously. This can be convenient, but it adds an internal planner loop and may be slower or more expensive than host-driven execution. Only goal, max_steps (default 80), and timeout_ms (default 900_000) are tunable — vision, self-healing, decomposition, and notebook are implicit in the canonical loop and no longer per-invocation knobs (see docs/canonical-agent-plan.md).
Planning: plan (LLM-powered step planning with optional history for multi-step context), plan_with_vision (plan with screenshot — use for visual/spatial tasks).
Knowledge Store (persisted to ~/.cellar/cel-store.db): store_knowledge (save facts with source and optional tags), search_knowledge (FTS5 full-text search, default 10 results, scope by workflow).
Working Memory: memory_get, memory_set (per-workflow scratchpad, not persisted across sessions).
Observations: observe (record insight with priority high/medium/low), get_observations (retrieve, default 50).
Run Tracking: run_start, run_finish, run_log_step (per-step with confidence score), run_history, run_steps.
LLM Passthrough: llm_complete (text, 4096 tokens default), llm_complete_with_image (vision, 4096 tokens default).
Maintenance: eviction (TTL cleanup — default 90 days runs, 365 days knowledge).
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct role: cel_act for executing actions, cel_perceive for continuous perception, cel_see for reading screen state, and cel_think for cognitive planning. Descriptions clarify boundaries despite some perceptual overlap.
All tool names follow the consistent pattern 'cel_verb' (act, perceive, see, think), using lowercase with underscores throughout. No deviations or mixed conventions.
With only 4 tools, the set is compact but each encapsulates many sub-operations via parameters and modes. The count is slightly low but appropriate for the server's focused domain of screen automation and perception.
The tools cover perception, action, and cognitive planning comprehensively for UI automation. Minor gaps exist (e.g., no explicit system-level operations), but core workflows are well supported and no obvious dead ends.
Maintenance
Related MCP Connectors
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
1Melaya is a remote MCP server. It gives an assistant hands on your own Android phone and browser: it reads the screen through the accessibility tree, then taps, types and navigates inside the apps and sites you allow-list, with no per-app API. It also builds, schedules and runs agent pipelines across 6k+ connected tools. OAuth 2.1, nothing to install.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn open-source MCP server for macOS and Windows that provides native desktop control via Accessibility APIs, OCR, and Chrome CDP. It enables AI agents to interact with applications, manage browser sessions, and automate workflows with high-speed native UI actions.76 npm15AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceGives AI agents and MCP clients direct control over native desktop apps, Chrome/Electron browsers, and Android devices with screenshots, OCR, accessibility-based element lookup, input simulation, window management, CDP, and ADB in one local server.142MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that gives AI agents hands and eyes on macOS, enabling them to see and operate native and Electron applications via structured accessibility queries, screenshots, OCR, and application-specific skills.5MIT
- AlicenseAqualityCmaintenanceCross-platform desktop automation MCP server that lets AI agents capture screenshots, run OCR with UI-element classification, control mouse/keyboard, and launch programs on Linux, macOS, and Windows.202MIT