Built for AI Agents

Agent workflow engine for AI agents

Define multi-step workflows with validation at every step. Your AI agent executes consistently, every time.

Think of it as CI/CD for AI agent tasks.

claude-code Illustrative workflow conversation
❯ Start development workflow
Starting moira/software-development-flow...
β–Έ directive: Study project foundations
❯ Project studied. Moving to planning...
β–Έ directive: Create implementation plan
Plan created: 4 steps
❯ Plan approved. Implementing step 1...
β–Έ directive: Implement authentication layer
βœ“ Step 1/4 complete. Tests: 42/42 passed
Workflow: 25% complete
βœ“ MCP Protocol Native
βœ“ Open Source Workflows
βœ“ JSON Schema Validation

The Problem

What happens without structured workflows

🧠

Lost Context

Long prompts that the agent forgets halfway through. Complex tasks break into pieces that never reconnect.

❌

No Result Validation

Agent says "done" but the code doesn't compile. No schema checks, no proof of completion.

πŸ‘»

Hallucinated Results

Agent invents files, functions, and test results that don't exist. Confident but wrong.

⏳

80% Done, 20% Forgotten

Tests skipped. Documentation missing. Error handling ignored. The last mile never gets finished.

πŸ”„

Re-explaining Every Time

Same process, different session. You explain the workflow from scratch because nothing persists.

🎯

No Execution Control

Agent skips steps, jumps ahead, takes shortcuts. No way to enforce a specific execution order.

How It Works

Three steps to structured execution

1

Connect

Add Moira as an MCP server to your AI agent. One config line in Claude Code, Cursor, or any MCP client.

2

Start a Workflow

Choose a workflow β€” built-in or custom. The engine loads the execution graph and begins step-by-step processing.

3

Agent Executes

Each step has a clear directive and completion criteria. The agent works through the graph β€” validated, structured, complete.

What You Get

Built for Real Development Workflows

πŸ€–

Agent Does the Work

From planning to self-review. Define the task β€” get a working result. The workflow guides the agent through every phase: requirements β†’ plan β†’ implementation β†’ tests β†’ quality β†’ review.

πŸ›‘οΈ

Hallucination Protection

JSON Schema validation at every step. The agent cannot skip ahead β€” each response must match the expected structure. Completion conditions define what "done" actually means.

βœ…

Enforced Code Quality

The agent checks code quality and addresses review findings. Repair or replanning follows the current task and workflow gates, with blockers made explicit.

πŸ§ͺ

Automated Test Validation

Test execution, failure analysis, and fix strategies β€” all inside the workflow. The agent doesn't just write code β€” it verifies that the code works.

πŸ“„

Docs and Tests Stay Current

The change includes updates to affected tests and documentation. Each unit closes with its evidence and a factual report.

πŸ”€

Git Within Your Authority

Local commits and checkpoints require authority. You or the process that started the run handle push, pull requests, publication and deployment separately.

πŸ“±

Telegram When You're Needed

You don't sit in front of a screen. When the workflow needs your input β€” approve a plan, review code, resolve an issue β€” you get a Telegram notification.

Repository changes

Software Development Flow

One complete repository change: requirements, a reviewed plan, implementation, tests, documentation and independent review.

Ground the plan

Study the actual project, confirm the requirements and review the plan before implementation.

Complete each unit

Implement one part of the change with its tests, relevant runtime checks and current documentation.

Review the result

Independently check the unit and complete change, address findings and report remaining limits.

Local commits stay within the authority you grant. You or the process that started the run handle push, pull requests, publication, release and deployment separately.

Explore Software Development Flow β†’

Quick Start

Start in 3 Steps

  1. 1

    Connect MCP Server

    Choose your MCP client and follow its current connection and authentication instructions.

    Set up your MCP client β†’
  2. 2

    Start a Workflow

    Describe the repository change and ask your agent to use Software Development Flow.

    Use Moira Software Development Flow for issue #42. Read the project and requirements before planning the change.
    See the development workflow β†’
  3. 3

    Follow the Workflow

    Your agent follows the current directive, submits evidence and collects the next step. Review decisions when requested; recovery uses the current run and attempt.

    Read the agent guide β†’

Extensible

Build Your Own Workflows

Ready-made workflows are the starting point. Create custom workflows for your team's specific processes.

πŸ–₯️

Visual Web Editor

Create and edit workflows through the web interface. Node-graph editor with real-time validation.

πŸ“„

JSON-first Design

Workflows are JSON files. Version control, code review, CI/CD β€” standard developer workflow applies.

πŸ”—

Template Variables

Use {{variable}} syntax in directives and conditions. Context flows between steps automatically.

πŸ›‘οΈ

Schema Validation

JSON Schema on every step input/output. Agent responses validated before workflow proceeds.

Real-world Applications

What Developers Build

πŸš€

Automated Feature Development

Full cycle: issue analysis β†’ planning β†’ implementation β†’ testing β†’ code review β†’ commit. With quality gates at each phase.

πŸ”

Structured Code Review

Automated review with BLOCKING/MAJOR/MINOR classification. Consistent criteria across all PRs, no reviewer fatigue.

πŸ›

Bug Fixing with Root Cause Analysis

Reproduce β†’ diagnose root cause β†’ implement fix β†’ verify no regression. Prevents band-aid fixes.

πŸ“š

Documentation Generation

Extract API docs from code, generate guides from usage patterns, keep docs in sync with implementation.

πŸ”¬

Research with Iterative Improvement

Source verification, cross-referencing, quality scoring. Multiple iterations until research meets quality threshold.

What Developers Say

Built by developers, for developers

"Moira turned our chaotic prompt engineering into repeatable workflows. Code review consistency went from random to reliable."

A

Alex K.

Senior Backend Engineer

"The JSON-first approach means I can version control my workflows. Schema validation catches agent mistakes before they reach production."

S

Sarah M.

DevOps Lead

"Three steps to get started, and it actually works. No sign-up wall, no sales call. Just MCP connect and go."

C

Chen W.

Full Stack Developer

Ready to Build?

Stop micromanaging your AI agent. Define the workflow once, execute it consistently every time.