SlideRule
Rehearse one sentence into a gated product plan, then run that model as a working app.
- Source repo
- xiaojilele-glitch/WhyBuddy
- Stars
- ★ 372
- Last updated
- 2mo ago
- FARS reviewed
- Oct 02, 2026
- License
- MIT
- Primary language
- TypeScript
- FA score
- 46/100 · Major gaps
At a glance
- Works with
- Universal · cross-platformOpenAI APIClaude Code (Partial support)
- You'll need
- Typical use
- A product manager handed a one-line request runs a visible rehearsal instead of spending weeks writing a PRD and aligning stakeholders.
- Main limitation
- Large codebase to take on (roughly 944k TypeScript lines, 226k Python lines, 2,018 test files), so reading and extending it is real work.
- Maintenance
- Commits in the last 6 monthslast commit 2026-09-22
- Source review
- 46/100 · Major gaps
What does this agent do, and when should you use it?
SlideRule (Chinese product name 面团 AI) is a product rehearsal engine: you type one sentence, it rehearses a gated product plan through a spec → pages → structure → bind → closure pipeline, then lets the resulting model run in the browser. The stack splits into a Vite + React rehearsal UI (client), an Express thin proxy (server), and slide-rule-python — a FastAPI engine on :9700 that is the authority for spec-first hops, the control plane, evidence gates and publish closure. Output is a five-system JSON model (pages, RBAC, workflow, data, AIGC) rendered by a zero-backend, zero-database preview runtime where you switch roles, drive approvals, edit data in place and export evidence. A self-contained Skill package (skills/sliderule) runs each gate as a real script and records the script, exit code and output in checks_ledger.json. Deployment is primarily Docker Compose, and the main line needs no database — state lives in a JSON file store.
The run starts at the control plane: a sentence lands in the composer, rehearsal_control parks a scope card, and the user's “start rehearsal” is issued as forcedTool=rehearse. The spec-first pipeline then executes spec → pages → structure → bind, one WRITE per hop, and a hop that changed no deliverable may not report ok. Silent forks in the model are surfaced as spec.assumptions cards that must be confirmed before continuing. Publish closure then checks evidence for the six skills: complete evidence releases the run to the browser live runtime; otherwise it parks into refine / repair and returns to the control plane, and missing evidence is never turned into a fake green light. Once released, the browser renders the five-system JSON as an operable system — responsive layouts, role switching, an approval state machine, in-place data editing, declared AIGC and evidence-bearing export; the Workbench is an execution observer for the same run. At repository level, architecture compilers (slide-rule-python/arch_graph.py, scripts/arch-graph-ts.mjs, architecture.toml) fail on undeclared edges, new cycles and a growing function-body import ratchet, and the published architecture graphs are generated from code. The Skill package similarly executes gates via scripts and writes checks_ledger.json.
- A product manager handed a one-line request runs a visible rehearsal instead of spending weeks writing a PRD and aligning stakeholders.
- A solutions engineer demos “what the business system looks like” to a client on the spot, switching roles and driving approvals in the browser runtime.
- A solo developer or small team gets a spec package (requirements, design, tasks, traceability, UI previews) before writing any code.
- A platform team wires arch_graph.py and arch-graph-ts.mjs into CI to reject undeclared dependencies and newly introduced cycles.
- Users of Trae, Claude or any Agent Skills host drop in skills/sliderule.zip so the host agent produces a script-gated spec package.
- Teams that need to prototype enterprise structures such as approval flows and field-level RBAC do it without standing up a database.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
docker compose up -d --build
- Ports
3000- Environment variables
LLM_API_KEYSESSION_SECRET- Config files
.env.example.envchecks_ledger.json- Runtime
- Node.js 22+ · Python 3.11+
- Install notes cover
- Docker
How do you install or deploy this agent?
Docker is the shortest path. Clone and create the env file:
git clone https://github.com/2686521696/WhyBuddy.git && cd WhyBuddy
cp .env.example .envFill at least LLM_API_KEY (any OpenAI-compatible provider) and SESSION_SECRET (a 64-character random hex in production). The stack still boots without an LLM key, but rehearsals fall back to deterministic templates. Then build and start:
docker compose up -d --buildOpen http://localhost:3000/agent-loop/sliderule. The app service is exposed on host port 3000 (mapped to 3001); python listens on 9700 and is network-internal only.
Running from source needs Node.js 22+, pnpm and Python 3.11+ with a slide-rule-python/.venv:
pnpm install
pnpm run dev:all # Vite :3000 + Node :3001 + Lobster :3031 + Python :9700
# pnpm run dev:sliderule # lean: Vite :3000 + Python :9700
# pnpm run dev:frontend # UI only, no .env (degraded / BYOK)To restart, run pnpm run dev:stop and then dev:all again.
How do you use this agent?
Go to the rehearsal surface at http://localhost:3000/agent-loop/sliderule, type one sentence and confirm “start rehearsal”; watch the spec → pages → structure → bind hops and answer any assumption card. Once publish closure releases the run, use the browser live runtime to switch roles, drive approvals, edit data in place, try the declared AIGC and export with evidence. To look without installing anything, the static demo needs no backend and no key:
https://2686521696.github.io/WhyBuddy/agent-loop/slideruleYou can also BYOK on that page — an OpenAI-compatible key stays in the browser — and rehearse your own topic.
To use it inside Trae, Claude or another Agent Skills host:
unzip skills/sliderule.zipDrop the extracted sliderule/ into the host's skills directory and give it one sentence; gate executions are recorded in checks_ledger.json.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Publish closure is fail-closed: without evidence the run parks into refine/repair instead of trusting the model's claim of completion — the concrete difference from “an LLM with a long prompt”.
- One WRITE per hop, and a hop that changed no deliverable cannot report ok, which makes each rehearsal replayable and auditable.
- The artifact is a five-system JSON model (pages, RBAC, workflow, data, AIGC) with a zero-backend, zero-database browser preview: roles, approvals and data edits are actually clickable.
- Python (FastAPI on :9700) is the single authority and Node only thin-proxies
/api/slideruleand/api/agent-loop, so the boundary is clean and the engine replaceable. - Provider-agnostic: any OpenAI-compatible endpoint via LLM_BASE_URL / LLM_MODEL, and the stack still boots on deterministic templates with no key.
- Ships architecture compilers (arch_graph.py, architecture.toml, arch-graph-ts.mjs) that fail undeclared edges, new cycles and a growing function-body import ratchet.
- Large codebase to take on (roughly 944k TypeScript lines, 226k Python lines, 2,018 test files), so reading and extending it is real work.
- The browser runtime is explicitly zero backend and zero database: what you get is a rehearsed, operable prototype, not a production deployment.
- Real rehearsals depend on an external LLM key and per-use spend; without one you get deterministic templates, which are not equivalent.
- Configuration surface is broad (SESSION_SECRET, optional WEB_SEARCH_API_KEY / E2B_API_KEY), and docs labelled V5.2–V6.0 are historical lab notes that are easy to confuse with the live architecture map.
- No official hosted service — you run and maintain it yourself via Docker Compose or from source.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| SlideRule This agent | 46 · Major gaps | — | ★ 372 | 2mo ago | TypeScript | OpenAI API |
| DeepCode Open Agentic Coding | 78 · Good | CLIFree + model costs | ★ 17k | 1d ago | Python | OpenAI API · Claude API |
| Okto Pulse | 67 · Some gaps | CLIFree | ★ 135 | 7d ago | Python | Codex · Claude Code |
| DevAll | 54 · Major gaps | CLIFree + model costs | ★ 35k | 18d ago | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows: README claims BYOK keys stay in the browser, .env is never baked into images, SECURITY.md provides a vulnerability reporting flow, and package.json carries many overrides patching known CVEs (lodash, dompurify, ws, path-to-regexp, etc.) — all positive. Deductions: the repo bundles dockerode, E2B, and a Lobster Executor (DinD), yet no least-privilege or sandbox-boundary rationale is given; external effects (LLM calls, web search, code execution) lack explicit confirmation and rollback descriptions; data flow is only sketched via diagrams with no field-level sensitive-data handling; publisher identity is unverified and attribution rests on README badges and self-description. Scores kept at 1–2.
Evidence shows: agentFailure.test.js carefully classifies rate_limit/auth/network/quota/timeout failures, so failure_messages earns 2. However self_consistency is contradicted: README badges and links point to 2686521696/WhyBuddy while deploy-images.yml pushes ghcr.io/xiaojilele-glitch/whybuddy-*, an owner/repo mismatch; README claims 945k TS lines, 226k Python lines, and 2,018 test files that cannot be verified from the supplied files, and the product is named SlideRule / 面团 AI / WhyBuddy interchangeably. Dependency availability is also weakened by the xlsx dependency pointing at a cdn.sheetjs.com tarball rather than the npm registry.
Evidence shows: README clearly separates three scenarios (zero-install static demo, Docker deployment, from-source run) and includes a comparison table against CrewAI/Dify/v0, making audience_and_scenarios and capability_boundaries reasonably clear. Deductions: trigger_precision is described only as 'one sentence in', with no trigger conditions, boundary inputs, or refusal cases; environment_fit covers Node 22+/pnpm/Python 3.11+/Docker but does not address Windows/macOS differences (CI comments note a previously Windows-only venv path issue).
Evidence shows: README is well structured (overview, architecture, quick start, examples, comparison, contributing, license), install_notes and examples_and_faq are adequate, and LICENSE is a complete MIT text. Deductions: naming_stability is poor — SlideRule, 面团 AI, WhyBuddy, and sliderule are mixed, and the repo owner differs from the image namespace; versioning_changelog is absent, with package.json at 1.0.0 disconnected from the README's V5.2–V6.2 narrative; known_limitations appear only in scattered remarks (e.g., template fallback without an LLM key) with no consolidated section; maintenance_responsibility is weak given the unverified publisher and no CODEOWNERS or maintainer list.
Evidence shows: outputs are a reviewable spec package plus a browser-runnable app, and output_usability is supported by concrete examples (pet-clinic booking, instrument consignment), earning 2. Deductions: marginal_value and cost_benefit lack evidence — the comparison table is self-asserted with no independent benchmark or cost data, and the system requires an LLM key plus coordinated Python engine and Node proxy components, so deployment and operating cost is non-trivial while the benefit is described only by the project itself; both scored 1.
Evidence shows: README claims evidence-gated closure and a checks_ledger.json recording each script, exit code, and output — directionally correct, but the ledger file itself is not present in the supplied files, so claim_traceability holds only partially. For cross_source_corroboration, README scale statistics (9,313 files, 944,843 TS lines) cannot be cross-checked from the given files, and the owner/image naming mismatch further weakens self-reported claims. For fact_inference_separation, README interleaves marketing claims ('rehearses anything', 'Pioneer Skill Award') with engineering facts without marking which are verified versus unverified.
- The repository owner (2686521696) differs from the image namespace (xiaojilele-glitch), and the publisher is unverified; confirm image provenance before deploying.
- README scale statistics, test counts, and award claims cannot be verified from the supplied files and should not be treated as evidence of quality or safety.
- The xlsx dependency resolves to a cdn.sheetjs.com tarball rather than the npm registry, posing supply-chain and availability risk.
- The repo bundles executable capabilities (dockerode, E2B, DinD executor) with no stated least-privilege or sandbox-boundary rationale; assess isolation before running.
- No CHANGELOG and no consolidated known-limitations section; the V5.2–V6.2 narrative is disconnected from package.json version 1.0.0.
FAQ
Which port does SlideRule use?
Is SlideRule open source?
Is SlideRule safe to use?
Is SlideRule still maintained?
Who makes SlideRule?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.