SlideRule

Rehearse one sentence into a gated product plan, then run that model as a working app.

Stars
★ 372
Last updated
2mo ago
FARS reviewed
Oct 02, 2026
License
MIT
Primary language
TypeScript

At a glance

Works with
Universal · cross-platformOpenAI APIClaude Code (Partial support)
You'll need
Node.js 22pnpmPython 3.11+Docker (optional)OpenAI-compatible LLM API keyShell / CLINetwork accessLocal filesystem
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

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.

  1. A product manager handed a one-line request runs a visible rehearsal instead of spending weeks writing a PRD and aligning stakeholders.
  2. 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.
  3. A solo developer or small team gets a spec package (requirements, design, tasks, traceability, UI previews) before writing any code.
  4. A platform team wires arch_graph.py and arch-graph-ts.mjs into CI to reject undeclared dependencies and newly introduced cycles.
  5. Users of Trae, Claude or any Agent Skills host drop in skills/sliderule.zip so the host agent produces a script-gated spec package.
  6. 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_KEY SESSION_SECRET
Config files
.env.example .env checks_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 .env

Fill 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 --build

Open 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/sliderule

You 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.zip

Drop 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • 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/sliderule and /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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
46/ 100 5-point scale 2.3 / 5
Trust 12/29
Reliability 6/14
Adaptability 10/18
Convention 9/18
Effectiveness 6/13
Verifiability 3/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

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.

Reliability6 / 14 · 2.1/5

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.

Adaptability10 / 18 · 2.8/5

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).

Convention9 / 18 · 2.5/5

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.

Effectiveness6 / 13 · 2.3/5

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.

Verifiability3 / 8 · 1.9/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Oct 02, 2026 Reviewed revision f4a3cbf0b85d
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/whybuddy.svg)](https://followagents.com/en/agents/whybuddy)
<a href="https://followagents.com/en/agents/whybuddy"><img src="https://followagents.com/badge/whybuddy.svg" alt="FARS review"></a>

FAQ

Which port does SlideRule use?
The install notes on this page use port 3000 (for example http://localhost:3000). If the project lets you change the port, its README explains how.
Is SlideRule open source?
Yes. The source code is on GitHub (xiaojilele-glitch/WhyBuddy) under the MIT licence.
Is SlideRule safe to use?
FollowAgents' FARS review (Oct 02, 2026) scored SlideRule 12/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is SlideRule still maintained?
Development has slowed: the latest commit on GitHub is from 2026-09-22, within the last six months but not the last 30 days.
Who makes SlideRule?
SlideRule is published on GitHub by the account xiaojilele-glitch. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts