Usage

Operate through the dashboard, API, and configured channels.

The current repo does not expose a separate interactive python -m opencas chat terminal mode. The practical operator paths are the dashboard, the HTTP API, Telegram, phone, and the WebSocket bridge when enabled.

Launch modes

python -m opencas --with-server

This is the primary operator mode. It serves the dashboard and the HTTP/WebSocket APIs on 127.0.0.1:8080 by default.

python -m opencas --tui

Use the TUI when you need to set up or change provider material, model selection, Telegram settings, or copied credential material.

Dashboard tabs

Tab Purpose
OverviewHigh-level runtime, health, token, and memory summaries.
HealthDoctor status, recent health history, runtime and event visibility.
ChatSession history, current provider/model lane, somatic context, current work, voice controls, and message send.
OperationsReceipts, tasks, work objects, qualification runs, approval audit, and live process control.
ScheduleDurable schedules, calendar views, and run history.
UsageToken telemetry, dominant models and sources, provider telemetry notes, and process hygiene clues.
DaydreamReflections, conflicts, keeper promotion, and daydream-origin work.
MemoryMemory atlas, retrieval inspection, embedding projection, and node detail.
IdentitySelf-model, user model, continuity, musubi, and somatic state.
ExecutiveGoals, plans, commitments, and executive snapshot.
PlatformCapability inventory, extension lifecycle, and trust policy control.
SystemConfig overview, model/configured option visibility, phone, and Telegram control.
LogsTelemetry event stream and search/filter controls.

Chat lane behavior

  • The chat rail shows the active lane: provider, resolved model, auth profile, and auth source.
  • New assistant messages carry their own lane metadata in history.
  • Older assistant messages that predate lane metadata should be treated as legacy historical entries.
  • The chat context panel also surfaces somatic state, current work, executive intent, and recent background-task counts.
  • Voice controls let the operator record a prompt, transcribe it, and synthesize spoken replies when configured.

Memory and daydream behavior

OpenCAS uses provider-backed embeddings by default for semantic memory retrieval. Artifact-backed autobiographical memory is also part of the current system, which means authored plans and stories can be ingested into recall instead of only being found as raw files.

Memory tools

Episode list, search, graph view, landscape view, embedding projection, node detail, and retrieval inspection.

Daydream tools

Reflections, keepers, conflicts, promotion lineage, and daydream-origin work visibility.

Channels

Telegram

Use the System tab or the TUI bootstrap to configure bot token, pairing policy, allowlists, and polling settings.

Phone

The System surface and `/api/phone/*` routes expose Twilio configuration, owner calling, and recent-call inspection.

Voice

Use the Chat tab microphone and speaker controls when voice transcription and synthesis are enabled.

Operations and control planes

  • Use the Operations tab to inspect receipts, task state, work objects, commitments, plans, and live process sessions.
  • Use the Schedule tab to manage recurring work and see what is due next.
  • Use the Platform tab when installing or auditing extensions and trust policies.
  • Use the Logs tab when you need the raw event sequence.
  • Use the Usage tab to inspect token usage, expensive sources, dominant models, and provider telemetry notes.
  • Use the System tab to confirm the effective provider/model configuration before assuming a lane is active.
Good operator habit. When something looks wrong in chat, verify the active lane in the Chat panel and the effective runtime model in the System panel before assuming the dashboard is lying.