Files
EverOS/docs/everos-demo.md
T
DaniandClaude Opus 5 649046b0df docs(api): use /api/v2 in docs and examples, demote v1 to legacy (#370)
1.2.0 introduced /api/v2 as the canonical, cloud-aligned prefix and mounted
every business router twice, but the user-facing entry points (README,
README.zh-CN, QUICKSTART, the docs/ set, the Langfuse example) still taught
/api/v1 — so new users were pointed at the compatibility alias while
docs/api.md already declared v2 canonical.

- Switch every EverOS endpoint reference in docs, examples, and
  `everos demo --live` to /api/v2, plus the matching CLI test expectations.
- Describe /api/v1 as a legacy compatibility alias that may be removed in a
  future major release, rather than a permanent one. Nothing changes at
  runtime: both prefixes still resolve to the same handlers and the
  v1/v2 parity test is untouched.
- Add a short note in README / README.zh-CN / QUICKSTART so existing v1
  integrations know they keep working.
- Fix the five dead endpoint anchors in the docs/api.md table of contents,
  which still pointed at the pre-1.2.0 #post-apiv1... slugs.

Left on v1 deliberately: docs/migration-to-1.0.0.md (historical record),
CHANGELOG history, tests/** (v1 must stay covered), and the
use-cases/claude-code-plugin + openher READMEs, which document a different
cloud API.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-29 10:52:29 +08:00

1.9 KiB

EverOS Demo

everos demo is a local educational TUI. It helps new users feel the memory lifecycle before they configure API keys, start the server, or write real memory through the API.

Run It

everos demo

The command asks for one memory and one recall question, then opens a full-screen terminal UI. The visual flow is deterministic and local to the CLI: conversation -> memory sphere -> recall -> source proof -> confetti.

For non-interactive shells or a copyable preview, use:

everos demo --plain

For the looping showroom view used by README media, use:

everos demo --cinematic

Run It Against A Server

After everos init and everos server start, run:

everos demo --live

Live mode keeps the same TUI, but the memory lifecycle is backed by real server calls:

  1. GET /health
  2. POST /api/v2/memory/add
  3. POST /api/v2/memory/flush
  4. POST /api/v2/memory/search

If your server is not running on http://127.0.0.1:8000, pass --server-url <url>.

What It Does Not Do

By default, everos demo does not connect to the EverOS server, call LLM providers, or write production memory files. It is intentionally hardcoded so users can try the experience before configuring the full runtime. Use everos demo --live when you want the same visual flow backed by a running server.

Source Layout

The CLI command adapter stays under src/everos/entrypoints/cli/commands/demo.py because the public command is still everos demo.

The TUI implementation lives under src/everos/entrypoints/tui/demo/:

  • app.py renders the Textual app.
  • data.py builds the deterministic demo story.
  • widgets/sphere.py builds the memory sphere frames.
  • readme_media.py renders README media.

To regenerate README media locally:

uv run python -m everos.entrypoints.tui.demo.readme_media --out-dir /tmp/everos-demo-media