DeepSeek-backed MoonBit coding agent
Dependencies
just check # native + JS workspace checks and formatting
just test # native + JS workspace tests and OpenSeek cram tests
just build # native + JS MoonBit builds
just editor-build # editor web distribution and server
just editor-test # editor-only tests on every supported target
just editor-test-browsercd editor
npm ci
npx playwright install chromiumgit submodule update --init editor/codemirror # source-reference research
git submodule update --init editor/vscode # opt-in performance suite| Package | Purpose | Docs |
|---|---|---|
| bobzhang/openseek | Root package and module overview. | README.mbt.md |
| bobzhang/openseek/deepseek | Pure chat data, provider-aware JSON encoding, and response decoding. | deepseek/README.mbt.md |
| bobzhang/openseek/deepseek/client | Native-only HTTP transport for supported chat-completions providers. | deepseek/client/README.mbt.md |
| bobzhang/openseek/agent_runtime | Native-only agent task-group and extensible runtime event queue. | agent_runtime/README.mbt.md |
| bobzhang/openseek/agent_session | Typed durable conversation state and DeepSeek message projection. | agent_session/README.mbt.md |
| bobzhang/openseek/agent_session/store | Native filesystem-backed append-only session store. | agent_session/store/README.mbt.md |
| bobzhang/openseek/agent_session/log | Lenient session-file reader: header plus events, with per-line error capture. | — |
| bobzhang/openseek/agent_session/compact | Context-checkpoint (compaction) request building and summary handling. | — |
| bobzhang/openseek/agent_tool | Tool registry, executor, output, and control-action types; one subpackage per built-in tool. | agent_tool/README.mbt.md |
| bobzhang/openseek/agent_skill | Workspace skills: markdown playbooks discovered from skill libraries and listed in the system prompt. | agent_skill/README.mbt.md |
| bobzhang/openseek/jsonrpc | Duplex JSON-RPC 2.0 client (concurrent requests, notifications, out-of-order replies). | — |
| bobzhang/openseek/mcp (+ config, stdio, streamhttp, tools) | MCP client: mcp.json decoding, stdio and Streamable HTTP transports, and the bridge that namespaces server tools into the registry. | — |
| bobzhang/openseek/prompt | Built-in system prompt text (generated from Markdown) and prompt-selection policy. | prompt/README.mbt.md |
| bobzhang/openseek_protocol | Typed engine event stream (own module): the openseek run/serve stdout wire contract, decodable on every backend. | protocol/README.mbt.md |
| bobzhang/openseek_protocol/emit | Native-only writer for that stream: owns each event's log level. | protocol/emit/README.mbt.md |
| bobzhang/openseek/agent | Native-only OpenSeek agent loop and local tool dispatch. | agent/README.mbt.md |
| bobzhang/openseek/agent_review | Read-only, compiler-grounded code-review engine behind openseek review. | agent_review/README.mbt.md |
| bobzhang/openseek/cmd/openseek | Native-only headless automation CLI (openseek). | cmd/openseek/README.md |
| bobzhang/openseek/cli | Shared command-main helpers: the agent options (--api-key, --model, …) and failure-text sanitizer used by openseek and the out-of-tree openseek_tui. | — |
| bobzhang/openseek/viz | Browser viewer for durable session logs (JS). | viz/README.md |
| bobzhang/inspect (in inspect/, own module) | HTTP server (native or wasm) that serves the visualizer over recorded sessions. | inspect/README.md |
| bobzhang/openseek-viz-app (in cmd/viz_app/, own module) | JS entry point compiled into the visualizer bundle. | viz/README.md |
| moonbitlang/editor (in editor/, own module) | Reusable readonly editor plus its reference browser shell and server. | editor/README.md |
| bobzhang/openseek/internal/{cli,workspace_path} | Shared CLI accessors and workspace-path resolution for the command mains. | — |
| bobzhang/openseek/testkit/filesystem | JSON-backed virtual filesystem for tests and eval fixtures. | testkit/filesystem/README.mbt.md |
| bobzhang/openseek/eval/report | Shared Markdown/JSON report primitive for deterministic and model evals. | eval/report/README.mbt.md |
| bobzhang/openseek/eval/tool_harness | Deterministic host-side harness that dispatches every built-in tool. | eval/tool_harness/README.mbt.md |
| bobzhang/openseek/eval/file_edit/cases | Deterministic file-editing eval case definitions. | eval/file_edit/README.md |
| bobzhang/openseek/eval/file_edit/harness | Reusable file-editing eval runner, oracle, and reporter. | eval/file_edit/README.md |
| bobzhang/openseek/eval/file_edit/cmd/main | Native-only CLI wrapper for the file-editing eval harness. | eval/file_edit/README.md |
| bobzhang/openseek/eval/prompt_task/harness | Prompt-task eval: runs the real agent over isolated per-trial workspaces. | eval/prompt_task/README.md |
| bobzhang/openseek/eval/session_analyzer | Post-hoc session-log analyzer producing Markdown/HTML/JSON reports. | — |
| openseek_desktop (in desktop/, own module) | Desktop app: CEF shell (Proton, a registry dependency) plus a JS frontend driving the engine over JSONL. | desktop/README.md |
export DEEPSEEK=sk-...
moon run cmd/openseek -- run "inspect this project and finish with a short summary"export KIMI=sk-...
moon run cmd/openseek -- --model kimi-k2.7-code-highspeed run "inspect this project"export GLM=...
moon run cmd/openseek -- --model glm-5.3 run "inspect this project"{
"mcpServers": {
"codex": { "command": "codex", "args": ["mcp-server"] },
"remote": { "url": "https://example.com/mcp", "headers": { "Authorization": "Bearer …" } }
}
}moon run cmd/openseek -- mcp --mcp-config mcp.jsonInstall
Download zipDeepSeek-backed MoonBit coding agent
Dependencies