ruah

Introduction

The open-source toolchain for agentic AI — orchestrate agents, convert API specs, merge everything cleanly.

What is ruah?

ruah is an open-source toolchain that solves a specific problem: what happens when multiple AI agents edit the same codebase at the same time?

Without coordination, agents overwrite each other's work, create merge conflicts, and produce broken code. ruah prevents this by giving each agent its own isolated workspace (a git worktree), tracking which files each agent is allowed to touch, and merging their results back together in the right order.

It also converts API specifications (OpenAPI, Swagger, GraphQL, Postman, HAR) into tool definitions that agents can actually call — so your agents can interact with any API without manual wiring.

The ecosystem

Six standalone tools, one CLI, optional orchestrator. Each tool works in a repo where no other ruah package is installed.

PackageWhat it doesnpm
@ruah-dev/cliTop-level router — ruah <tool> …published
@ruah-dev/guardCan I trust the agent not to do damage — in any harness, with proof?coming soon
@ruah-dev/verifyDid the agent actually finish?coming soon
@ruah-dev/optWhere did my tokens go?coming soon
@ruah-dev/watchCan I show someone what this session did?coming soon
@ruah-dev/evalSame task — which executor wins, and what did it cost?coming soon
@ruah-dev/convHow do I make this API agent-sized?published
@ruah-dev/orchOptional multi-agent orchestrationpublished
@ruah-dev/schemaCanonical Workflow / Task / Trace / Policy typescoming soon

You can use them independently or together. Install the CLI and it discovers whatever is installed (or siblings in this workspace).

Claude Code plugin

ruah map shows the architecture of any repo, code and cloud infrastructure, as a map inside Claude Code. It is a plugin, not an npm package: /plugin marketplace add ruah-dev/ruah-map, then /plugin install ruah@ruah.

Quick Start

# Install the CLI
pnpm add -g @ruah-dev/cli

# Initialize in any git repo
ruah init

# Create your first isolated task
ruah task create my-feature \
  --files "src/**" \
  --executor claude-code \
  --prompt "Implement the feature"

# Start it
ruah task start my-feature

How It Fits Together

ruah          ← top-level CLI
├── guard     ← policies for tool calls
├── verify    ← machine-runnable definition of done
├── opt       ← token / cost profiler
├── watch     ← static HTML replay
├── eval      ← same task, N executors
├── conv      ← spec → curated agent tools
└── orch      ← optional orchestration (tasks, workflows)

Requirements

  • Node.js 18.0.0 or higher
  • Git repository (for orchestration features)
  • Zero runtime dependencies — the orchestrator has none, the converter needs only yaml

Next Steps

On this page