A personal agent with a browser, terminal, files, and work that keeps going built with CopilotKit and AG-UI.
TypeScript
docs: feature a 38-second OpenMuse kite demo and canonical org links
Jerel John Velarde3e54f62c7f8c
diff --git a/README.md b/README.mdindex 154480f..97accbc 100644--- a/README.md+++ b/README.md@@ -9,20 +9,22 @@ Built with CopilotKit React Native for iOS, Android, and web.[Quick start](#quick-start) · [Demo](#demo) · [Features](#features) · [Architecture](#architecture) · [Docs](docs/README.md) · [Contributing](CONTRIBUTING.md)-[](https://github.com/jerelvelarde/openmuse/actions/workflows/ci.yml)+[](https://github.com/CopilotKit/OpenMuse/actions/workflows/ci.yml)[](LICENSE)-[](assets/openmuse-mobile-demo.mp4)+[](assets/openmuse-mobile-demo.mp4)**[Watch the mobile demo · 38 seconds](assets/openmuse-mobile-demo.mp4)**</div>-> **Alpha, for self-hosting and building on.** The default runs locally with fictional data and no API keys. Open-ended reasoning, live Google accounts, and CopilotKit Rich Threads require their own configuration. See [what is verified](docs/VERIFICATION.md) and the [roadmap](ROADMAP.md).+> **Alpha, for self-hosting and building on.** Open-ended reasoning, live Google accounts, and CopilotKit Rich Threads require their own configuration. See [what is verified](docs/VERIFICATION.md) and the [roadmap](ROADMAP.md).## Demo-A 38-second native iPhone walkthrough, framed in 16:9: the agent's browser, Linux terminal, saved files, PDF reader, rich conversation, and goals. Captured from the working app with fictional personal data and real public websites; cut and accelerated for pace.+Ask OpenMuse to find interesting stories on Hacker News or summarize CopilotKit. The agent opens and reads the real page, shows its browser inline, and replies in the conversation. **Take control** opens that same session when you need it.++The 38-second iPhone recording uses [AI Mock](https://github.com/CopilotKit/aimock) for scripted model responses; Chromium navigation, page reads, and tool results are real. Framed in 16:9, with cuts and pacing for readability.[Watch the MP4](assets/openmuse-mobile-demo.mp4) · [Recording details and reproduction](docs/DEMO.md)@@ -54,7 +56,7 @@ The [feature inventory](docs/FEATURES.md) maps the Muse references to the implem**Requirements:** Node 24 LTS and pnpm 11.19.0. The local app needs no model, Google account, Docker, or Intelligence subscription.```sh-git clone https://github.com/jerelvelarde/openmuse.git+git clone https://github.com/CopilotKit/OpenMuse.git openmusecd openmusepnpm install --frozen-lockfilecp .env.example .env@@ -74,7 +76,7 @@ Open [localhost:8081](http://localhost:8081). The API runs at [localhost:8787/ap1. In Chat, send **“Complete the permission slip”**. Open the task, supply fictional form values, inspect the saved PDF, and review the prepared reply. This writes only to the local mailbox.2. In **Goals → Track**, create a built-in availability watch, then change the built-in test page to trigger an alert.3. In **Menu → Delegate task → Finance**, use **Try example transactions** to create an interactive spending tracker.-4. Start the [browser worker](#browser-worker), then open **Computer** and navigate to `https://example.com`.+4. Start the [browser worker](#browser-worker) and configure a model, then ask **“Check out Hacker News for cool stuff”** or **“Summarize copilotkit.ai”**. Follow the browser inline and use **Take control** to open its session. For a key-free version of this flow, follow the [AI Mock demo setup](docs/DEMO.md#run-the-agent-browser-demo).For iOS or Android, use `pnpm --dir apps/mobile ios` or `pnpm --dir apps/mobile android`. Xcode or Android tooling is required. The PDF reader needs an Expo development build; use [native setup](apps/mobile/README.md).diff --git a/assets/openmuse-demo.gif b/assets/openmuse-demo.gifindex c7b4a1f..8955a4d 100644Binary files a/assets/openmuse-demo.gif and b/assets/openmuse-demo.gif differdiff --git a/assets/openmuse-mobile-demo.mp4 b/assets/openmuse-mobile-demo.mp4index 35532a9..c403020 100644Binary files a/assets/openmuse-mobile-demo.mp4 and b/assets/openmuse-mobile-demo.mp4 differdiff --git a/assets/openmuse-preview.png b/assets/openmuse-preview.pngindex 15a4e9e..d528555 100644Binary files a/assets/openmuse-preview.png and b/assets/openmuse-preview.png differdiff --git a/docs/DEMO.md b/docs/DEMO.mdindex 6608e3a..6ee59c2 100644--- a/docs/DEMO.md+++ b/docs/DEMO.md@@ -2,49 +2,69 @@[Watch the 38-second MP4](../assets/openmuse-mobile-demo.mp4) · [Animated hero](../assets/openmuse-demo.gif) · [Cover image](../assets/openmuse-preview.png).-Recorded from the working OpenMuse development build on an iPhone 17 simulator. The video is **1920 × 1080 (16:9), 30 fps, and 38 seconds**, with a cream, blue, and lilac background and captions designed for sound-off viewing. The opening hook is “Your agent has a computer.” Actual app captures are cut and accelerated up to 2×; no provider connections or execution results are simulated in the edit.+**OpenMuse 🪁 — ask it to browse, follow along in chat, and take control when you need to.** The native iPhone recording is framed in a 1920 × 1080 (16:9) canvas, with a cream, blue, and lilac background and captions for sound-off viewing.++The model responses use [CopilotKit AI Mock](https://github.com/CopilotKit/aimock). The app runs its actual CopilotKit agent and `browse_web` tool against a real Chromium worker. The script requests a page, waits for the real tool result, and extracts headlines or overview text from that result. It does not supply browser results or invent page content. The video also labels the model as AI Mock.## What the recording shows| Time | Scene || --- | --- |-| 0:00–0:03 | The agent computer and its saved browser session |-| 0:03–0:10 | Opening the real CopilotKit website and Hacker News in persistent Chromium |-| 0:10–0:15 | A Linux command receipt with successful output and a saved `today.md` file |-| 0:15–0:21 | Opening and saving that same file in the workspace editor |-| 0:21–0:27 | A PDF exported from the computer into the native reader, including paging |-| 0:27–0:32 | A saved document result and action update in the CopilotKit conversation |-| 0:32–0:38 | Goals and the open-source repository link |+| 0:00–0:04 | Ask OpenMuse to explore Hacker News |+| 0:04–0:09 | Read highlights from the live page |+| 0:09–0:15 | Ask it to summarize CopilotKit |+| 0:15–0:21 | Follow the inline browser and result |+| 0:21–0:31 | Take control of the same live browser |+| 0:31–0:38 | Return to chat and the OpenMuse repository |++- A chat request to find interesting stories on Hacker News.+- A server tool call that opens and reads the page, with a browser card inline in the conversation.+- Highlights extracted from the page the browser just read.+- A second request to summarize CopilotKit, using the same persistent browser session.+- **Take control**, which opens that session's live browser console.+- The open-source repository at [CopilotKit/OpenMuse](https://github.com/CopilotKit/OpenMuse).++Captures are trimmed and paced for readability, including brief slowdowns of the browser card and faster transitions into takeover. This is a reproducible demonstration of the app and tool flow; it is not an evaluation of a live model's reasoning. Site content changes, so your highlights can differ. Personal workspace information is fictional. Live Google, provider quality, Intelligence persistence/replay, and OpenBot require separately configured acceptance runs; see [verification](VERIFICATION.md).++## Run the agent browser demo++From the repository root:++```sh+pnpm install --frozen-lockfile+pnpm --dir apps/worker exec playwright install chromium+pnpm dev:demo+```++This starts AI Mock, the normal OpenMuse API on port **8788**, and a separate real browser worker on **8791**. Demo files and profiles stay in ignored `artifacts/demo/`. The runner supplies an explicit local environment and does not load the project's private `.env` or provider credentials. The Linux computer is disabled for this focused browser recording.-The walkthrough shows manual browser/computer interaction and previously saved task results. It does not present these edits as an uninterrupted autonomous agent run. Personal mail, goals, and form details are fictional. CopilotKit and Hacker News are real public pages. The Linux workspace runs in the project's isolated Docker container, using a dedicated Colima VM on the recording machine; it is not Meta Secure VM or a graphical desktop.+Start the app in another terminal:-Live Google, model-provider quality, CopilotKit Intelligence persistence/replay, and OpenBot still require separately configured acceptance runs. See [verification](VERIFICATION.md).+```sh+EXPO_PUBLIC_API_URL=http://127.0.0.1:8788 pnpm dev:web+```-## Reproduce the workspace+For the iPhone development build:++```sh+EXPO_PUBLIC_API_URL=http://127.0.0.1:8788 pnpm --dir apps/mobile exec expo start --dev-client --port 8081+```-1. Follow the [quick start](../README.md#quick-start). Keep the default local-data mode for fictional personal information.-2. In Chat, ask **“Complete the permission slip”**. Open the task, enter fictional form values, inspect the PDF, and review the local reply. Its saved tool result remains in the conversation.-3. Start the [browser worker](../apps/worker/README.md#local-development), open Computer, and navigate to `copilotkit.ai` or `news.ycombinator.com`. Bare domains become HTTPS addresses.-4. Enable the [Linux computer](COMPUTER.md) and open **Computer → Terminal → Start computer**. Run:+Use the [native setup](../apps/mobile/README.md) if the development build is not installed. Fully reload the app after changing its API URL. Android emulators use `http://10.0.2.2:8788` for the host API.- ```sh- printf '# Today\n\n- Read Hacker News\n- Review my calendar\n- Plan the week\n' > today.md- cat today.md- ```+Send **“Check out Hacker News for cool stuff”**, then **“Summarize copilotkit.ai”**. Wait for each reply and choose **Take control** to inspect the browser. The recording script supports those two prompts; use [a configured model](../README.md#configure-the-agent-and-google) for open-ended requests. `browse_web` is the same server tool in both modes.-5. Open **Files → today.md** and save it. The file is in the same persistent `/workspace` volume used by the terminal.-6. Choose **Copy a document here** to import an app PDF. Open the copied file from the workspace list to export it into Documents and display it in the native reader. Use **Next** to inspect the second page.-7. In **Menu → Delegate task → Finance**, use **Try example transactions**. Open the saved artifact to create a savings goal and visit Goals.+`DEMO_MODEL_FIRST_BYTE_DELAY_MS` and `DEMO_MODEL_CHUNK_DELAY_MS` tune model pacing (defaults 1500 and 80 ms). `DEMO_API_PORT` changes the API port. Set `DEMO_WORKER_URL` and `DEMO_WORKER_TOKEN` to use an existing local worker instead of starting one. The built-in demo token is public and scoped to this local demo; it is not a deployment credential. Press Control-C to stop the demo processes. Restart your normal app command without the demo API override to return to your usual workspace.## Record your own demo-Use a simulator containing fictional personal data. With the native app open:+With the app open on a simulator containing fictional personal information:```shxcrun simctl io booted recordVideo --codec=h264 openmuse-recording.mp4# Interact with the app. Press Control-C to finish the video.```-Capture at native resolution, trim idle time, and place the portrait capture inside a 16:9 canvas. Keep captions short and show the first working screen immediately. Check the final video for development reload banners, credentials, and accidental private content before publishing.+Capture at native resolution, trim idle time, and frame the portrait capture inside a 16:9 canvas. Show the chat request and its real tool result. Keep the model's mocked status visible if you use this runner. Check the final video for development reload banners and private content before publishing.-The original [75-second alpha walkthrough](https://github.com/jerelvelarde/openmuse/releases/download/v0.1.0-alpha/openmuse-demo.mp4) remains available as a release archive. The README hero uses the newer 38-second cut. OpenMuse's own artwork is included; Meta reference screenshots and mascot are not redistributed.+The original [75-second alpha walkthrough](https://github.com/jerelvelarde/openmuse/releases/download/v0.1.0-alpha/openmuse-demo.mp4) remains available as a historical release archive. OpenMuse's own artwork is included; Meta reference screenshots and mascot are not redistributed.diff --git a/docs/VERIFICATION.md b/docs/VERIFICATION.mdindex 30ae26d..ca7ef2e 100644--- a/docs/VERIFICATION.md+++ b/docs/VERIFICATION.md@@ -1,16 +1,24 @@# Release verification-September 15, 2026 · Linux computer and experience release after `0.1.0-alpha` · local fictional workspace. This records exercised behavior and its limits; it is not full Meta Muse parity.+September 15, 2026 · Agent browser and experience release after `0.1.0-alpha` · local fictional workspace. This records exercised behavior and its limits; it is not full Meta Muse parity.## Automated checks-- **139 tests pass**, with no failures or skipped tests, across the API, task engine, integrations, computer lifecycle, Docker runner, conversation queue, browser address handling, domain, and native date handling.+- **149 tests pass**, with no failures or skipped tests, across the API, task engine, integrations, computer lifecycle, Docker runner, conversation queue, browser address handling, domain, and native date handling.- Biome formatting/lint, server/mobile/browser-worker TypeScript checks, and the server build pass.- Expo exports web, iOS Hermes, and Android Hermes bundles. These exports do not produce signed native binaries.- The **real Chromium lifecycle test passes**: public page navigation/read, failed profile cleanup, same-UUID reopen, text truncation, and localStorage/profile persistence after restart.- The **real Docker computer smoke test passes** against the isolated `colima-openmuse` context: local image build, nonroot commands, read-only system files, disabled network, capped output, text editing, symlink rejection, PDF byte-preserving import/export, stop/start file persistence, and interruption of an actually running command. Its disposable container and volume are removed after the test.- CI now includes a separate computer-container build/smoke job. Its YAML parses with unique keys and valid workflow triggers. The existing browser-container CI job was not rerun locally for this release; remote CI results remain separate from these local checks.+## Agent browser verification++- Actual CopilotKit BuiltInAgent streams `browse_web` calls and results. Tests cover successive reads, honest worker failures, cancellation, owner isolation, concurrent navigation/read pairing, and persistent per-thread profile reuse.+- Native iPhone acceptance: ask for Hacker News highlights → fully terminate and relaunch the app → summarize CopilotKit → open **Take control**. Both page reads returned the same session ID, and the console displayed the live CopilotKit page. Local chat now has a stable routed CopilotKit thread identity across app launches.+- Inline cards show reading progress, the source title, a real browser preview, and takeover. A historical source does not display a different page after that browser moves on. Pending calls show paused status after a stopped run; takeover waits until the active chat run finishes.+- The [AI Mock runner](DEMO.md#run-the-agent-browser-demo) drives the actual model/tool loop against a separate real Chromium worker. Its three tests verify prompt routing, current-turn tool results, failures, and model-protocol execution. Recorded responses are scripted page excerpts, not live-model reasoning.+- Full formatting/lint, server/mobile/worker types, all 149 tests, server build, all three Expo exports, frozen lockfile validation, and the real Chromium lifecycle test passed for this change. The Docker implementation and runtime dependencies did not change; its prior smoke evidence remains below.+## Feature acceptance matrix| Area | Evidence | Boundary |@@ -62,7 +70,7 @@ pnpm test:computerpnpm --dir apps/worker test:docker```-The [demo guide](DEMO.md) describes the native walkthrough. The CI workflow defines these validation categories for a fresh Linux environment. See [GitHub Actions](https://github.com/jerelvelarde/openmuse/actions/workflows/ci.yml) for remote CI results. No real mail was sent, purchase made, or private Google account connected during release verification.+The [demo guide](DEMO.md) describes the native walkthrough. The CI workflow defines these validation categories for a fresh Linux environment. See [GitHub Actions](https://github.com/CopilotKit/OpenMuse/actions/workflows/ci.yml) for remote CI results. No real mail was sent, purchase made, or private Google account connected during release verification.## Still outside this release