Hyphen
Infrastructure for governed autonomous AI.
Hyphen is the execution layer for AI agents that make real decisions in real businesses. Define workflows in JSON or plain language, execute them deterministically, and let bounded AI agents handle the reasoning โ with full audit trails, structural permissioning, and human-in-the-loop at every critical juncture.
Start Building
- Quickstart Guide โ Register an action, create a workflow, execute it. 15 minutes.
- Core Concepts โ The six building blocks you need to understand.
- API Reference โ Full endpoint spec with request/response examples.
- Templates โ Production-ready workflow patterns across industries.
Governed Autonomy
AI agents that reason and act on their own โ within boundaries you define.
80 / 15 / 5 โ The exact ratio varies by use case, but the architecture is always the same: rules first, AI second, humans last. This graduated approach gives you automation speed with human-grade accuracy.
Hyphen operates on a three-phase execution model:
Phase 1 โ AI as Compiler. Describe what you want in plain language. Hyphen's AI compiles your intent into a precise JSON workflow specification โ the conditions, data references, branching logic, and escalation paths. Humans describe the what. AI produces the how.
Phase 2 โ Deterministic Runtime. The execution engine runs the compiled spec exactly as written. No improvisation. If the spec says "wait for approval," it waits. If a condition fails, it follows the defined fallback. Enterprises audit specs, not vibes.
Phase 3 โ Bounded Agentic Runtime. For tasks requiring judgment โ investigating exceptions, interpreting documents, making recommendations โ ReAct agents reason within cages defined by the spec. Only declared tools are available. Every thought and action is captured. Iteration caps and stuck detection prevent runaway execution.
What You Build With It
The same primitives โ matching, agents, approvals, storage โ compose into workflows across any operational domain.
| Domain | Use Case | Pattern |
|---|---|---|
| Finance | Invoice reconciliation, payment matching, exception investigation | Matcher โ Agent โ Approval |
| IT & Security | Alert triage, incident response, access reviews | Agent enriches โ containment โ escalation |
| Legal | Contract review, clause extraction, playbook deviation flagging | LLM extraction โ Matcher โ Agent |
| People Ops | Employee onboarding/offboarding, leave processing | Agent-as-orchestrator |
| Healthcare | Claims adjudication, denial management, prior authorization | Dual matcher โ Agent โ Clinical review |
| Supply Chain | Supplier risk, PO exception handling, RFP processing | Scheduled agent โ threshold escalation |
| Customer Ops | Escalation investigation, SLA monitoring, renewals | Agent pulls context โ drafts resolution โ approval |
The Primitives
Four building blocks compose into any operational workflow:
| Primitive | Purpose | Example |
|---|---|---|
| Matcher | Multi-criteria data matching | Compare invoices to payments, alerts to known indicators, contract terms to playbook |
| Loop | Batch processing (foreach) or AI reasoning (react) | Process 10K records, investigate an exception, orchestrate across systems |
| PbotApproval | Human-in-the-loop | Manager sign-off, legal review, SOC analyst escalation |
| Custom Table | Multi-tenant storage | Audit log, contract registry, incident database |
Three Deployment Patterns
The ReAct agent operates in three patterns depending on where autonomy lives:
| Pattern | When to Use | Example |
|---|---|---|
| Agent as Step | Most of the process is deterministic, one step requires judgment | Invoice matching โ agent investigates exceptions |
| Agent as Trigger | You don't know upfront which workflow to run | Agent classifies incoming document โ routes to correct pipeline |
| Agent as Orchestrator | Dynamic coordination across sub-processes | Agent coordinates onboarding across IT, HR, training, equipment |
For AI Agents
If you're an AI agent or coding assistant, fetch /llms.txt for the complete documentation in a single structured text file optimized for LLM consumption.
Built by the Hyphen team. API Reference ยท GitHub