Skip to content

darwinx687-afk/runwise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runwise - Check AI agent projects before they go live

Runwise

License MIT Node.js >=20 pnpm workspace Local-first Bilingual GitHub Action ready

English | 中文

Runwise helps you check AI agent projects before they go live.

It runs locally, reviews your project setup, generates reports, validates traces, replays runs, and turns failures into eval cases.

Use it when your AI demo already runs, but you still need to answer:

  • Is this project ready to review?
  • Are risky tools or MCP servers visible?
  • Do we have trace records?
  • Can we replay a failed run?
  • Can we turn that failure into an eval case?
  • Can we share a clear report with a team or client?

Public preview: Runwise is source-install only. There is no npm package yet, no GitHub Marketplace release, and no official ecosystem integration or partnership claim. It is local-first, does not upload project data, does not call models, and does not require login.

Try it in 5 minutes

git clone https://github.com/darwinx687-afk/runwise.git
cd runwise
pnpm install
pnpm check
pnpm test
pnpm exec runwise doctor
pnpm exec runwise view

Generated reports:

.runwise/runwise-report.json
.runwise/runwise-report.md
.runwise/runwise-report.html

If your global pnpm behaves differently, use the package manager version declared in package.json or enable Corepack.

What you will see

After running runwise doctor, you get:

  • a readiness score
  • a list of findings
  • detected AI project ecosystems
  • JSON / Markdown / HTML reports
  • a local dashboard view

Runwise 5-minute flow

For a quick before/after view, see the visual overview.

Useful next links

What Runwise does today

Area Current capability
Doctor Checks workspace shape, package manager state, TypeScript config, governance files, AI indicators, MCP indicators, trace coverage, eval coverage, and ecosystem signals.
Reports Writes JSON, Markdown, and static HTML artifacts under .runwise/.
View Opens a local dashboard viewer from .runwise/runwise-report.json.
Trace validation Validates local runwise.agent_trace files and directories.
Trace replay Builds a static Markdown review of a validated trace.
Failure-to-Eval Generates deterministic JSON/YAML/Markdown eval case drafts from validated traces.
Ecosystem detection Looks for local signals from MCP, RAG, browser agents, Dify-style workflows, Codex-style projects, OpenAI-compatible APIs, and China-ready LLM providers.

Commands

pnpm exec runwise doctor
pnpm exec runwise doctor --cwd . --output .runwise
pnpm exec runwise view
pnpm exec runwise trace validate examples/traces/valid-agent-run.json
pnpm exec runwise trace validate examples/traces
pnpm exec runwise trace replay examples/traces/mcp-risk-agent-run.json
pnpm exec runwise eval generate examples/traces/mcp-risk-agent-run.json

Directory trace validation may exit with code 1 if invalid fixtures are included.

Example projects

Start with the Example Gallery if you want to see what each example is meant to show.

  • examples/mcp-demo
  • examples/rag-demo
  • examples/browser-agent-demo
  • examples/enterprise-workflow-demo
  • examples/china-ready-llm-demo
  • examples/codex-project-demo
  • examples/traces

The examples are lightweight fixtures. They do not install real AI frameworks, call external APIs, run models, or execute tools.

Architecture overview

apps/
  dashboard/                 Local report-file dashboard viewer.
  docs/                      Documentation app shell.
packages/
  cli/                       Runwise command-line interface.
  core/                      Local scanner, rule engine, scoring, trace, replay, and eval generation logic.
  schemas/                   Shared TypeScript schema contracts.
  reporter/                  JSON, YAML, Markdown, and HTML artifact generation.
  integrations/              Local ecosystem profile and detection boundary.
  github-action/             GitHub Action summary and threshold helper.
docs/
  en/                        English Markdown docs.
  zh-CN/                     Simplified Chinese Markdown docs.

Runwise does not run your agent, execute tools, upload traces, train models, or store project data in a hosted service.

Future: local rule packs

Runwise does not support plugins yet. We are exploring a simple local rule-pack design so teams can add their own checks without changing Runwise core.

See: Plugin Architecture Exploration

Wondering how Runwise relates to Langfuse, Promptfoo, Dify, or Open WebUI?

See: Comparison

Roadmap

  • Phase 0-2: Foundation, Doctor CLI, rule engine, and scoring.
  • Phase 3-5: Reports, local dashboard viewer, and GitHub Action readiness check.
  • Phase 6-8: Trace validation, static replay, and Failure-to-Eval generation.
  • Phase 9: Ecosystem compatibility detection and examples.
  • Phase 10: Open-source launch polish.
  • Phase 11: First-time developer experience, examples, report readability, and future plugin architecture exploration.

See ROADMAP.md and Next Iteration Plan.

Feedback wanted

Runwise is in public preview. Useful feedback includes:

  • noisy or missing Doctor findings
  • missing AI ecosystem detection signals
  • trace schema usability
  • replay report clarity
  • Failure-to-Eval usefulness
  • China-ready LLM provider detection gaps

Please do not include secrets, private customer data, or proprietary traces in public issues.

See Feedback Guide, Early User Testing Guide, and Feedback-to-Roadmap Review.

Contributing

Read CONTRIBUTING.md, PROJECT_CONSTITUTION.md, and CODEX_LOOP_PROTOCOL.md before proposing changes.

Security

Runwise is local-first and avoids hidden network calls in runtime code. Please read SECURITY.md before reporting security issues.

License

Runwise is released under the MIT License.

About

Check AI agent projects before they go live: local reports, trace replay, and failure-to-eval for MCP/RAG/LLM apps.

Topics

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages