Prompt Spider UI
A Canvas 2D mechanical spider that grabs a prompt word by word and weaves routing decisions and live MCP agent events into webs, orbits and nebulae.
- Source repo
- Kirito14IT/prompt-spider-ui
- Stars
- ★ 129
- Last updated
- 7d ago
- FARS reviewed
- Nov 30, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 62/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Creators recording a demo or conference talk who want a repeatable ~20.92-second loop showing how a prompt gets split across branches.
- Not a fit if
- Teams expecting real model scoring or automatic approvals — scores are illustrative and the code branch never executes.
- Long-running setups that need durable session storage — sessions live in process memory and must be exported manually.
- Agents that can only reach MCP over remote HTTP — the server is local stdio only.
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24+0.7 ★/day over 7 days
- Source review
- 62/100 · Some gaps
What does this agent do, and when should you use it?
Prompt Spider UI is a vanilla JavaScript + Canvas 2D front end that animates a mechanical spider walking along a prompt, extending probes to grab each word, and sending it along an arc into a web that splits into three branches: code, model and you. The drawing layer is split into small ES modules — renderer.js handles painting and hit-testing, signal.js draws the three-track score chart, decision-track.js powers per-second branch scrubbing, and spider.js, probes.js and motion.js own gait, probe timing and curved flight. A Node.js static server (server.mjs) serves everything on 127.0.0.1:4317 with no build step, no framework and no API key; the built-in routing is a local keyword-and-threshold rule set, not a model call. To visualize real work, a separate MCP subpackage (mcp/server.mjs) exposes 11 local-stdio tools such as spider_create_session, spider_update_events, spider_configure_session, spider_export_session and spider_export_project, so a compatible agent can report task steps and have them rendered live before exporting a JSON replay or a standalone copy of the project. Sessions are held in process memory only (up to 20 per process, 10,000 events and 16 MiB per session) and must be exported before the agent exits. The project is MIT licensed and the server listens on localhost only.
It reads prompt text — the bundled app/prompt.txt or whatever you type into the "own prompt" panel — tokenizes it in app/model.js and assigns illustrative scores with local keyword and threshold rules: words at or above the threshold go to code, words below it go to model, and words matching approval rules (publish, purchase, delete) are routed to you first. That data drives a deterministic Canvas 2D animation: the spider walks the text (app/spider.js), probes extend, dwell and retract on the timing table in app/probes.js, words fly along arcs (app/motion.js) into the web, and the three branches receive them with a two-beat heartbeat. Four views render the same data: the classic web (app/renderer.js), a star-orbit network, a nebula network on a rotatable, zoomable sphere with optional energy-flow particles, and the signal spectrum (app/signal.js), where each needle is one decision ordered left to right, needle height is the score, hollow diamonds mark missing scores, and the observation window switches between the latest 24, 64 or 200 events. Playback covers pause, replay, 0.5×/1×/2×/4× speed, looping, timeline scrubbing, per-second branch scrubbing and next-decision jumps via decision-track.js, with Space, R, F, Esc and arrow-key shortcuts. Outputs are a JSON snapshot of the current split state, a PNG at canvas pixel size, and — through MCP — a session replay or an exported standalone project containing editable source, theme config, licence and bilingual docs. The MCP server mcp/server.mjs provides 11 stdio tools (including spider_create_session, spider_update_events, spider_configure_session, spider_control_playback, spider_complete_session, spider_export_session and spider_export_project), three resources (spider://guide, spider://config, spider://replay-format) and one prompt (spider_report_task).
- Creators recording a demo or conference talk who want a repeatable ~20.92-second loop showing how a prompt gets split across branches.
- Agent developers whose tool already speaks local stdio MCP and who want to watch task steps land on code/model/you in real time while debugging.
- Teachers and technical writers explaining prompt routing and human-approval checkpoints, using branch replay and the signal spectrum to walk through individual decisions.
- Front-end engineers who want a readable, framework-free Canvas 2D animation codebase covering gait, probe timing and curved word flight.
- Teams that need to hand a client a self-contained visual demo, exported via spider_export_project with replay and MCP included.
- Product teams rebranding the view — title, model label, portrait/landscape/square layout, route names and colours — through spider_configure_session.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
SESSION_ID- Config files
my-session.json- Runtime
- Node.js 20
- Install notes cover
- Windows
How do you install or deploy this agent?
You need Node.js 20 or newer and Git. The regular UI has no third-party runtime dependencies, so npm install can be skipped:
git clone https://github.com/Kirito14IT/prompt-spider-ui.git
cd prompt-spider-ui
npm startMCP support is an optional path and needs its own subpackage dependencies installed once from the project root:
npm --prefix mcp ciThe MCP server itself needs no API key; whatever model and credentials your agent uses are configured on the agent side.
How do you use this agent?
Open http://127.0.0.1:4317 after startup to play the reference demo, scrub the timeline, switch between web, orbit, nebula and signal-spectrum views, or enter your own prompt and drag the routing threshold. Stop the server with Ctrl+C; on Windows you can also double-click start.cmd. To connect your own agent, point any client that supports mcpServers at the absolute path of mcp/server.mjs:
{
"mcpServers": {
"prompt-spider": {
"command": "node",
"args": ["C:/projects/prompt-spider-ui/mcp/server.mjs"]
}
}
}Codex CLI can register it directly:
codex mcp add prompt-spider -- node "C:/projects/prompt-spider-ui/mcp/server.mjs"
codex mcp listThen create a session and open the previewUrl it returns:
spider_create_session({"config":{"title":"My agent workflow","layout":"landscape","unit":"task"}})
spider_update_events({"sessionId":"SESSION_ID","events":[{"id":"check-1","label":"Validate input format","route":"code","status":"completed"},{"id":"draft-1","label":"Draft response","route":"model","status":"running"}]})
spider_update_events({"sessionId":"SESSION_ID","events":[{"id":"draft-1","status":"completed"},{"id":"review-1","label":"Await human approval","route":"you","status":"pending"}]})
spider_complete_session({"sessionId":"SESSION_ID","status":"completed"})
spider_export_session({"sessionId":"SESSION_ID","filename":"my-session.json"})Sessions live in memory only, so export before shutting the agent or MCP process down. Run npm test to check the demo logic and animation geometry with the Node.js built-in test runner.
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.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Zero runtime dependencies and no build step for the demo: plain ES modules served by server.mjs, so clone, npm start and open localhost:4317 is the whole quickstart.
- Four renderings of the same data — classic web, star orbit, nebula sphere and signal spectrum — with deterministic timeline jumps that reproduce the exact same frame.
- Genuine MCP integration: 11 stdio tools plus three resources and one prompt, with configurable portrait/landscape/square layout, route labels, colours and theme.
- Exports are usable artifacts: a JSON split snapshot, a PNG at canvas resolution, and a standalone project bundle with editable source, theme config, licence and bilingual docs.
- Tests run on the Node.js built-in test runner and cover the statistics timeline, threshold routing, Chinese and blank input, jump determinism, word flight, probe motion, gait and heartbeat.
- Scores are explicitly uncalibrated and nothing calls a model or executes code (exports keep modelCalls: 0 and executedActions: 0), so it cannot evaluate real routing quality.
- Sessions are memory-only and capped at 20 per process, 10,000 events and 16 MiB each, so long agent runs need manual exports and can hit hard limits.
- MCP transport is local stdio only; remote or cloud MCP clients are not documented, and the client must be able to spawn node from an absolute path.
- The reference demo's counts are a fixed visual anchor (195 displayed words may differ from the actual tokenization) and do not recompute when app/prompt.txt changes.
- There is no framework or build pipeline, so customization means editing app/*.js modules and CSS variables in app/style.css directly.
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 |
|---|---|---|---|---|---|---|
| Prompt Spider UI This agent | 62 · Some gaps | Web appFree | ★ 129 | 7d ago | JavaScript | Codex |
| Motion Graphics Skills | Insufficient evidence | Agent plugin / skillFree | ★ 2.5k | 13d ago | HTML | Codex · Claude Code |
| FFmpeg Local Video Editor | 80 · Good | CLIFree | ★ 13k | today | Python | Codex · Claude Code |
| Generative Media Skills | 79 · Good | CLIFree + model costs | ★ 7.2k | today | Python | Claude Code · Claude.ai |
How does FollowAgents rate this agent?
Why each dimension lost points
The README states that the server listens only on 127.0.0.1 by default, MCP uses local stdio, the preview uses a random local port and a URL-fragment token, API requests check token/Host/Origin, and exports reject absolute paths, traversal, and overwrites; this supports least_privilege 2, data_flow_transparency 2, and external_effects 2. However, there is no explicit user-confirmation flow for exports or session closure, so user_confirmation is only 1; replays can contain event labels/details with no redaction or sensitive-data guidance, so sensitive_data_handling is 1; the main package has no third-party runtime dependencies, but the MCP subpackage dependencies and lockfile are not in the packet, so dependency_security is 1; exports do not overwrite and limits preserve existing data, but there is no undo for session mutations, so rollback is 1; MIT and copyright are clear, so source_attribution is 2.
package.json version 1.4.0 matches the README badge and release notes, the main package has no runtime dependencies, and engines requires Node >=20; main.js shows a toast for an empty prompt and throws on prompt fetch failure, and the README has MCP troubleshooting, so failure_messages is 2. self_consistency is 2. dependency_availability is only 1: the MCP subpackage, lockfile, and test files are not in the packet, so installability of those dependencies cannot be verified; no execution was performed, so no credit is given for tests.
The README covers demos, agent-task visualization, research/code checks/human review, three layouts, mobile, and reduced motion, so audience_and_scenarios is 2 and environment_fit is 2; capability boundaries are explicit: it does not read chats, capture hidden reasoning, execute route actions, scores are illustrative, and completing a visualization is not approval, so capability_boundaries is 3; MCP tool names and argument tables are clear, but registration is manual, so trigger_precision is 2.
The README has a clear structure, project tree, install/registration/Codex examples, tool parameters, and troubleshooting, so information_architecture is 2, install_notes is 2, and examples_and_faq is 2; internal route IDs are locked and the package name is stable, so naming_stability is 2; known limitations are explicit (in-memory sessions, 20 sessions/10k events/16 MiB, no model-call count, export exclusions), so known_limitations is 3; the MIT file and package metadata agree, so license is 3; version 1.4.0 and a changelog link exist but CHANGELOG is not in the packet, so versioning_changelog is 2; the publisher is unverified and there is no maintainer/security contact, so maintenance_responsibility is 1.
Outputs include Canvas visualization, an inspector, JSON/replay, PNG snapshot, and standalone project export, so output_usability is 2; it has niche value for prompt-routing exploration and live MCP event display, but it is a visualization/demo layer, so marginal_value is 2; the main package has zero runtime dependencies and starts with npm start, with MCP optional, so cost_benefit is 2. No execution was performed, so no claim is made about actual runtime results.
The README distinguishes synthetic examples, illustrative scores, visual labels, and real model calls, so fact_inference_separation is 2; version/license/no-main-dependency claims can be cross-checked against package.json, LICENSE, and main.js, but MCP implementation, tests, and CHANGELOG are not in the packet, so cross_source_corroboration is 1; many behavioral claims trace only to README prose or files not provided, so claim_traceability is 1.
- MCP exports write local files; although overwrites and traversal are rejected, there is no explicit pre-export confirmation or replay redaction for sensitive task labels/details.
- Sessions are in-memory by default and disappear when the MCP process exits; export a replay or standalone project first.
- MCP subpackage dependencies, lockfile, tests, and CHANGELOG are not in the packet; README claims cannot be treated as verified dependency security or passing tests.
- Publisher identity is unverified; maintenance responsibility and a security response channel are unclear.
- Scores are illustrative, not calibrated probabilities; model/you routes are visual only, not real model calls or human approval.
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.