惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tailwind CSS Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
The Cloudflare Blog
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
WordPress大学
WordPress大学
Jina AI
Jina AI
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
有赞技术团队
有赞技术团队
V
Vulnerabilities – Threatpost
博客园 - 司徒正美
L
Lohrmann on Cybersecurity
P
Privacy International News Feed
S
SegmentFault 最新的问题
C
Cisco Blogs
V
V2EX
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
I
Intezer
人人都是产品经理
人人都是产品经理
博客园_首页
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cyberwarzone
Cyberwarzone
Know Your Adversary
Know Your Adversary
酷 壳 – CoolShell
酷 壳 – CoolShell
Security Latest
Security Latest
V
Visual Studio Blog
S
Schneier on Security
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
腾讯CDC
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
博客园 - Franky
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
K
Kaspersky official blog
T
The Exploit Database - CXSecurity.com
G
GRAHAM CLULEY
量子位
S
Securelist
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tenable Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 叶小钗
T
Troy Hunt's Blog

Show HN

GitHub - steveking-gh/firmion: Firmion is DSL and engine for firmware image generation. GitHub - villagesql/villagesql-skills: Agent skills for VillageSQL - gemini-cli-extension; claude-code-plugin GitHub - flightdeckhq/flightdeck: Observability and control plane for AI agents. CSP Radar GitHub - Light-Heart-Labs/DreamServer: Turn your PC, Mac, or Linux box into an AI server. LLM inference, chat UI, voice, agents, workflows, RAG, and image generation. GitHub - Diplomat-ai/diplomat-agent-ts: What can your TypeScript AI agent do to the real world? Scan your code. See which tool calls have zero checks Code Block Selector - Visual Studio Marketplace Prometheus dependency graph — interactive showcase | Riftmap Show HN: I made a vi-like modal keyboard plugin for Figma GitHub - run-llama/liteparse: A fast, helpful, and open-source document parser GitHub - dalemyers/Roar: A macOS CLI tool for notifications GitHub - district-solutions/open-agent-tools-coder: Enables small-to-large self-hosted ai models to use local source code when running tool-calling agentic workloads. We actively data mine 20,900+ (2+ TB) popular github repos using large and small ai models to create reuseable: json, markdown and parquet files for local-first tool-calling models. GitHub - progapandist/stripeek: A local TUI proxy for real-time Stripe API debugging, built for navigating complex payloads fast. GitHub - sir1st/hermes-desktop: All-in-one cross-platform desktop app for Hermes Agent — bundles Python + hermes-agent + hermes-web-ui GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach GitHub - nixys/nxs-universal-chart: The Helm chart you can use to install any of your applications into Kubernetes/OpenShift Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code. GitHub - tamerh/enju: Coordinating Humans, AI Agents, and Compute as Peers on a Shared Workflow Graph Show HN: Continuity-auth – Respect-weighted rate limits for the open web GitHub - luml-ai/luml: AI lifecycle platform where engineers and agents track experiments, train models, and ship to production. GitHub - mrdanielcasper/CoreTex: A UNIX-inspired, biomimetic, flat-file AI harness and knowledge engine. GitHub - clemg/pierre-github: Pierre's diffs.com and trees.software for Github GitHub - lyriks-io/unspaghettit: Behavior-driven AI development without prompt spaghetti. GitHub - sofumel/claude-handoff-revive: Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages. GitHub - dotexorg/saferpc: Typed, end-to-end encrypted RPC over any bidirectional channel. GitHub - BeeZeeAgent/beezee: Agent harness orchestration Legato Next.js Boilerplate for Internal Tools · CoreUI GitHub - clark-labs-inc/clark-hash: Clark Hash, 32x smaller searchable sketches for embeddings GitHub - ZeroPointRepo/youtube-mcp: The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free. Typing Mastery — climb toward 100+ WPM, deliberately GitHub - Andebugulin/Awareen GitHub - fayzan123/claude-workflow-composer: Visual desktop app for composing multi-agent coding workflows. Drag agents, attach skills and MCPs, wire handoffs, export to .claude/ GitHub - harshaneel/humanize: Best static AI text humanizer. Two research-grounded skills that work in any LLM (Claude, ChatGPT, Gemini, Codex): humanize beats perplexity-based detectors, ai-check produces forensic scoring with evidence-quoted flags. Nine levers, 50+ peer-reviewed sources, 2024-2026 detection literature. GitHub - StackOneHQ/stack-nudge GitHub - nodes-app/swift-markdown-engine: A native AppKit Markdown editor for macOS, built on TextKit 2 and bridged to SwiftUI. We hardened an LLM agent. Each defense we added made it more exploitable. GitHub - alkait/WhatsKept: Agent-queryable WhatsApp history from an iOS backup — a single Go binary. GitHub - octelium/cordium: Open-source, general-purpose sandbox platform for devs and AI agents that provides identity-based secure access to infrastructure without credentials. WAR.GOV/UFO Microfilm5 GitHub - scosman/videowright: Build animated explainer videos with your coding agent GitHub - dipankar/dscode: The code editor you can take apart. GitHub - zoharbabin/web-researcher-mcp: MCP server (Go) for AI assistants: web search, content extraction, academic/patent/news research. Multi-provider routing, 4-tier scraping, search lenses. Works with Claude, Cursor, and any MCP client. GitHub - ruvnet/RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video. GitHub - scanaislop/aislop: Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions. 50+ rules across 7 languages (TypeScript, JavaScript, Python, Go, Rust, Ruby, PHP). Sub-second, deterministic, no LLM at runtime. MIT-licensed. GitHub - kouhxp/cheap-im: CPU-only voice agent approximating Thinking Machines' Interaction Models demo GitHub - unprovable/OrchidMantis: Orchid Mantis — standalone framework for Zero-Knowledge Proofs of eXploit (ZKPoX). GitHub - MarcellM01/TinySearch: Shrink the web for your local LLMs! GitHub - TangibleResearch/Halgorithem: A Algo designed to detect AI Hallucitions GitHub - DO-SAY-GO/freelang: I love freelang GitHub - CarpseDeam/Aura-IDE: An AI coding harness that shaped itself - Planner/Worker agents, repo awareness, surgical edits, validation, recovery, and safe diff approvals. GitHub - chojs23/concord: A feature-rich TUI client for Discord GitHub - tommyjepsen/awesome-ux-skills: UX & AI Product designs skills you can use today in Claude Code GitHub - aerf-spec/aerf: Agent Evidence Receipt Format (AERF) — an open specification for tamper-evident, independently verifiable records of AI agent actions. GitHub - kklimuk/docx-cli: CLI for AI agents (Claude, Codex) to read, edit, and comment on .docx files with full format fidelity. GitHub - Jwrede/tokentoll: Catch LLM cost changes in code review. Infracost for LLM spend. GitHub - samchon/ttsc: A `typescript-go` toolchain for compiler-powered plugins and type-safe execution + 500x faster lint integrated into compiler GitHub - Higangssh/homebutler: 🏠 Manage your homelab from chat. Single binary, zero dependencies. GitHub - olalie/tapmap: See where your computer connects and what stands out on a live world map. GitHub - Diplomat-ai/diplomat-agent: What can your AI agent do to the real world? Scan your code. See which tool calls have zero checks GitHub - Bajusz15/beacon: Open-source agent for secure remote access, monitoring, and deploys across home-lab and self-hosted machines like Raspberry Pi, N100, or any Linux server. Open web based TTY or tunnel Home Assistant and other local services securely without opening ports. BigTech AI News - Chrome 应用商店 GitHub - vinhnx/VTCode: VT Code is an open-source coding agent with LLM-native code understanding and robust shell safety. Supports multiple LLM providers with automatic failover and efficient context management. GitHub - michaelaz774/decision-engine: A decision operating system for startup founders, powered by Claude Code. Synthesizes wisdom from 25+ legendary founders and investors into interactive AI-driven decision frameworks. GitHub - Chrilleweb/dotenv-diff: Validate environment variable usage in your codebase GitHub - Lumen-Labs/brainapi2: BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications. GitHub - familiar-software/familiar: Let AI watch you work. Familiar lets your AI update its memory, skills, and knowledge by watching your screen. GitHub - skorotkiewicz/rudo: A small, elegant dock for Wayland GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. make sidebar/address bar rounded corner toggleable
GitHub - xiang-deng/moumantai: Self-hosted runtime for personal apps that combine reliable code with LLM agents and adapt across every screen.
no_0044 · 2026-06-28 · via Show HN

Moumantai logo

License: MIT Ask DeepWiki

Moumantai (冇問題 / no problem) is an open-source, self-hosted runtime for personal apps that can be owned, adapted, and used across the devices around you.

Describe an app once: its data, capabilities, and interfaces. The server holds the state and application logic, then projects the appropriate face onto the browser, phone, watch, or embedded display in front of you. Code defines the reliable behavior; an LLM-powered agent adds language, interpretation, and judgment within those boundaries.

The result is an app, not a prompt: durable software that can be reused, inspected, shared, and remixed.

You drive; the agent helps.

Quick start · Architecture · Plugin apps · Agent backends · Clients · Develop

Moumantai demo: a chat-driven home agent and mini apps rendering natively on a phone and a watch
Talk to one agent; your mini apps render natively on every screen.

Key features

  • Yours, end to end — self-host the runtime and own the app's source, data, behavior, appearance, and deployment.
  • Schema. Tools. Faces. — a deliberately familiar CRUD core: the schema owns state, tools mutate, and faces read. Direct UI and agent calls meet at the same tool boundary.
  • Code for the known, an agent for the fuzzy — taps and forms stay deterministic; an LLM-powered agent brings language, flexibility, and judgment when useful.
  • Bring your own agent and model — the agent supplies orchestration and tool use; the model supplies inference. Choose the combination that fits the task, provider, and budget.
  • Polyphenic apps, native surfaces — one app wears many faces, specialized for each device and context. Thin clients map the same typed protocol to the toolkit that fits — from browsers and phones to watches and embedded panels — while the server carries the heavy compute.
  • Apps, not prompts — code and interfaces are reused rather than regenerated on every request, saving tokens and making smaller or less expensive models practical. The result can be inspected, shared, forked, and personalized.
  • Build, preview, promote — a coding agent can draft or edit an app in isolation, validate it, and preview it on paired devices; nothing goes live until you choose to promote it.

Moumantai is early and evolving; expect rough edges and changing APIs. Trying it, reporting what breaks, and contributing improvements are all welcome.

Quick start

Runs the server + PWA locally — the fastest path to a working app. Native clients are opt-in (see Running on your devices).

1. Set up. Clone with the plugin-apps submodule:

git clone --recurse-submodules https://github.com/xiang-deng/moumantai.git
cd moumantai
# Already cloned without --recurse-submodules? Run: git submodule update --init

Then install the toolchain — install mise (winget install jdx.mise · brew install mise · curl https://mise.run | sh), activate it in your shell (mise activate pwsh|bash|zsh), open a fresh shell, and run:

mise install && uv sync   # Node 22, Python 3.12, JDK 17, task, buf, uv
npm install               # links the TS workspaces (server, pwa, protocol)

2. Configure the server. An interactive wizard sets up the workspace (Moumantai Home — config, secrets, per-app data) and your LLM credential. Its first prompt asks where the workspace lives (default ~/.moumantai/; see Where your data lives):

By default the wizard expects a Claude credential — one of:

Credential Format Where to get it
OAuth token sk-ant-oat… claude setup-token (from the Claude Code CLI); best with a Claude Pro/Max plan
API key sk-ant-api… console.anthropic.com

Prefer another agent harness, model, or provider? See Agent backends.

3. Start the server and the PWA in two terminals:

task server:dev   # Terminal A — WebSocket on ws://localhost:3000
task pwa:dev      # Terminal B — Vite on http://localhost:5174

4. Pair this browser. Pairing is on by default — the server only accepts allowlisted devices. Open an enrollment window:

task server:cli -- device pair   # opens a 5-minute enrollment window

Open http://localhost:5174; the PWA shows a pairing code. Back in the device pair prompt, type approve <code> — the browser connects within seconds. (Local-only? Disable with pairingRequired: false via task server:cli -- config edit, but keep it on for any networked server.)

5. Try it. In chat, type:

The spend-tracker plugin app picks it up via the agent, runs its add_expense tool, and re-renders the Summary face. Swipe up/down to switch faces within an app, left/right to switch apps.

Note

The server is a WebSocket endpoint — opening http://localhost:3000 in a browser shows nothing; the PWA (or a native app) is the consumer. Change the port with task server:init.

6. Make it your own. The bundled spend-tracker shows the idea. From here you can:

  • Install an existing app — from a local path, a git URL, or a registry id:

    task server:cli -- app install <path|url|id>
    task server:cli -- app list
  • Edit one directly — work in TypeScript using the same schema, tool, face, and validation rules used by the coding agent.

  • Use the coding agent — describe an app or change in the PWA's dev tab, preview its isolated draft, then promote it when ready.

Both are covered in full under Plugin apps.

Where your data lives

The server keeps all runtime state in one directory — Moumantai Home: config.json, secrets in .env, chat history, and each app's SQLite database. The setup wizard's first prompt picks where it goes:

  • ~/.moumantai/ — the default; best for everyday use.
  • <checkout>/.moumantai/ — project-local and gitignored; best for development and keeping multiple checkouts / worktrees isolated.

Not sure which home is active (common with multiple clones)? task server:cli -- workspace path prints it and which rule selected it. The full resolution order and the workspace set/reset commands live in server/CLAUDE.md.

Credentials are stored on the server and never sent to clients or plugin apps. The active agent backend uses them to authenticate with the provider you configure; prompts and relevant app context may be sent to that provider.

Important

No standalone binary. There's no moumantai command to install — admin commands run from the checkout as task server:cli -- <command> (e.g. task server:cli -- device list). task server:init is the single setup wizard (first run and reconfigure); task server:cli -- config show / config edit inspect and hand-edit the saved config.

Architecture

Moumantai is a server-authoritative application runtime. The server owns state, execution, and coordination; plugin apps, agent backends, and clients connect through explicit contracts.

Component Responsibility Architectural boundary
Server runtime Owns application state, capability execution, agent orchestration, device coordination, and presentation resolution The authoritative core: state changes and business execution happen here
Plugin app Defines data, capabilities, and presentation through schemas, tools, and faces Uses the app SDK; independent of clients and agent backends
Agent backend Connects an agent harness and its model to app context, tools, and faces May request actions or steer presentation; never mutates app state directly
Shared protocol Defines transport messages, the UI-component vocabulary, and generated TypeScript, Kotlin, and C types The stable contract between the server and client implementations
Client Renders protocol components with its platform toolkit and reports user intent Owns device interaction and rendering, not app data, business behavior, or model credentials

The design follows a few strict boundaries:

  • Tools mutate; faces read; parameters steer presentation.
  • The server is authoritative; clients render and report intent.
  • Agent backends request actions; the server validates and executes them.
  • Device specialization happens on the server, outside plugin business logic.
  • Apps do not depend on a particular client, agent harness, or model.

Implementation detail lives with each boundary: the server, app examples, protocol, and client READMEs.

Plugin apps

An app is a small TypeScript plugin: a Drizzle schema, defineTool tools, and defineFace faces. Example apps ship in the apps/ submodule and serve as working references.

Install or remix an existing app

Install from a local path, git URL, or registry id; installed source remains available to inspect and change:

task server:cli -- app install <path|url|id>
task server:cli -- app list

Edit directly

Write or modify the TypeScript yourself. Humans and coding agents follow the same rules in CLAUDE.md and the build-moumantai-app / edit-moumantai-app skills. Validate app changes with task apps:typecheck.

Use the coding agent

Enable dev mode (MOUMANTAI_DEV_MODE=1, or devMode: true in .moumantai/config.json) and describe an app or change in the PWA's dev tab. The agent works through an isolated draft: draft → validate → preview → promote or discard. Nothing touches the live app until you choose to promote it.

Dev mode is off by default; restart the server after enabling it.

Agent backends

The server integrates intelligence through an agent backend contract. A backend connects its agent harness and chosen model to app context, tools, and faces; the server keeps ownership of tool execution and state.

Backend Agent harness Models / providers Authentication
claude (default) Claude Agent SDK Anthropic Claude OAuth token or Anthropic API key (see Quick start)
pi Pi Coding Agent More than two dozen providers, including Anthropic, OpenAI, Google, and Bedrock Provider API key or OAuth

Select the backend in .moumantai/config.json. Provider/model selection and authentication details are covered in server/CLAUDE.md.

Clients

Clients are independent implementations of the shared protocol. Each maps the same component vocabulary to the toolkit and interaction model that fits its platform.

Client Role Stack Run
PWA Universal browser and installable client; the quickest way to start React + Vite task pwa:dev (or a production mode)
Wear OS Glanceable interaction on a watch Kotlin + Wear Compose task wear-os:install
Embedded panel Ambient, always-on display on a wall or desk ESP-IDF + LVGL (C) task esp32:build && task esp32:flash
Android phone Native phone client and path to device capabilities Kotlin + Compose M3 task android:install

Per-client setup lives in each client's README: PWA · Android · Wear OS · ESP32.

Running on your devices

The PWA has three deliberately different modes:

Mode Command Use
Local development task pwa:dev Vite on http://localhost:5174; no service worker and not installable
Local production task pwa:serve Production bundle on http://localhost:4173; installable on the host because localhost is a secure context
Secure remote task pwa:serve:tailscale TAILSCALE_HOST=<host>.<tailnet>.ts.net Production bundle for a phone or another tailnet device over HTTPS/WSS

For secure remote access, start the server and PWA in separate terminals, then expose each loopback service through Tailscale Serve:

task server:dev
task pwa:serve:tailscale TAILSCALE_HOST=<host>.<tailnet>.ts.net

tailscale serve --bg --https=443 http://localhost:4173
tailscale serve --bg --https=8443 http://localhost:3000

Open https://<host>.<tailnet>.ts.net. The PWA connects to wss://<host>.<tailnet>.ts.net:8443; both endpoints remain inside the tailnet with TLS. A plain http://<host>:<port> URL may be reachable but is not an installable secure context.

Native clients are opt-in, and each connects to the same server and must be paired the same way — task server:cli -- device pair, then approve the code shown on the device (see Quick start).

Native client setup (Android, Wear OS, ESP32)

First copy the per-machine config template once — it is gitignored and merged on top of the pinned .mise.toml:

cp .mise.local.toml.example .mise.local.toml

Then fill in the variables for each client you want to build:

Client Prerequisite Set in .mise.local.toml Build & deploy
Android phone Android Studio (or sdkmanager) ANDROID_HOME task android:install (ADB to a connected device/emulator)
Wear OS watch Android Studio + a Wear AVD ANDROID_HOME task wear-os:install
ESP32 panel ESP-IDF v5.4+ IDF_PATH, PORT (e.g. COM3 / /dev/ttyUSB0) task esp32:build && task esp32:flash (override inline: task esp32:flash PORT=COM4)

See per-client setup in clients/android/README.md, clients/wear-os/README.md, and clients/esp32/README.md.

Develop

Every workspace exposes its commands through Task. Use task --list-all for the complete, current inventory.

Run and verify

Command What it does
task server:dev Server in watch mode (hot-reloads on source changes)
task pwa:dev PWA dev server (Vite)
task server:test Server boundaries, typecheck, unit tests, and integration tests
task pwa:test PWA typecheck and unit tests
task apps:typecheck Example/plugin apps against the current SDK
task test-form-semantics Cross-client form-to-tool contract
task test-layout-resolution Cross-renderer layout conformance
task format:check Formatting across TypeScript, Python, C, proto, Android, and Wear

Regenerate shared outputs

Source changed Regenerate Check for drift
Protocol .proto files task protocol:gen task protocol:gen-check
Design-system catalog task design-system:gen task design-system:gen-check
shared/tokens/*.yaml task tokens task lint:tokens
branding/icon.source.png task icons Review generated client assets
Client Taskfiles task registry task registry-check

Start with CLAUDE.md — codebase rules and dev workflow. Subsystem-specific rules live in <dir>/CLAUDE.md files (auto-loaded by Claude when working in that subtree). One gotcha worth knowing up front: hot-reload does not propagate to transitive imports — touch an app's index.ts or restart the server after editing its parts.ts / schema.ts (details in server/CLAUDE.md).

Repository layout

moumantai/
├── server/             # Node WebSocket server + agent + protocol handling
├── clients/
│   ├── pwa/            # Progressive Web App client (React + Vite)
│   ├── android/        # Phone client (Kotlin + Compose M3)
│   ├── wear-os/        # Watch client (Kotlin + Wear Compose)
│   └── esp32/          # HMI panel firmware (ESP-IDF + LVGL)
├── shared/
│   ├── protocol/       # Wire protocol SSOT (.proto + generated TS/Kotlin/C bindings)
│   └── tokens/         # Design tokens (YAML, codegen targets each client)
├── apps/               # Plugin apps (submodule of moumantai-apps; loaded at runtime)
├── scripts/            # Codegen + dev helpers
└── docs/               # Architecture / design docs

The TypeScript pieces (server/, clients/pwa/, shared/protocol/) are npm workspaces. Native clients (clients/android, clients/wear-os, clients/esp32) are independent — each uses its own native build tool.

Troubleshooting

Common setup issues and fixes
Symptom Fix
task / uv / node not found after install You missed mise activate — add the printed line to your shell rc and open a fresh shell.
PWA will not connect / "pairing required" Open an enrollment window (task server:cli -- device pair) and approve the code, or disable pairing for local dev with task server:cli -- config edit.
task server:dev fails with credential errors Re-run task server:init, or task server:cli -- config show to see what is loaded.
Port 3000 or 5174 already in use Change the port via task server:init, then VITE_WS_URL=ws://localhost:<port> task pwa:dev.
Chat does nothing / tool not called Check the server log (Terminal A) — the prompt likely matched no tool. Try a more direct phrasing, or list loaded apps with task server:cli -- app list.
Plugin app did not appear The submodule may be empty — run git submodule update --init and restart the server.
Server using unexpected config / workspace task server:cli -- workspace path shows the active Moumantai Home and which rule selected it; override with MOUMANTAI_HOME=<path> or task server:cli -- workspace set <path>.

Documentation

I want to… Start here
Follow the codebase workflow CLAUDE.md
Build or edit a plugin app build-moumantai-app · edit-moumantai-app · examples
Work on the server or agent backends server/README.md · server/CLAUDE.md
Change the wire protocol shared/protocol/spec.md
Author or render UI components authoring reference · renderer reference
Set up a client PWA · Android · Wear OS · ESP32

Contributing

Contributions are welcome — including via coding agents. Start with CLAUDE.md (codebase rules and dev workflow), use the issue and PR templates under .github/, and follow the Code of Conduct.

Security

Found a vulnerability? Please report it privately — see SECURITY.md.

License

MIT