Yutra is a Skill-based Agent Execution Standard and Reference Runtime.
Skill gives AI capabilities.
Yutra makes those capabilities executable, governed, traceable, auditable, and certifiable.
Modern agents are increasingly built from Skills, tools, APIs, and functions.
But a capability alone is not enough.
Teams still need to answer:
- Which Skill was called?
- In which Agent state?
- Under which Guard or Policy?
- With what input and output?
- Was the call allowed, denied, retried, handed off, or audited?
- Can the behavior be reproduced and certified?
Yutra provides the execution layer above Skills.
- DSL for defining agents, states, actions, transitions, guards, and context.
- Reference Runtime for deterministic execution.
- Skill Core for loading, validating, inspecting, adapting, and executing local Skills.
- Governance with policy packs, allow / deny / handoff, approval, and HITL contracts.
- Trace & Audit for replay, context diff, comparison, and audit bundle export.
- Certification with golden traces and conformance checks.
- Scenario Packs including IT Helpdesk, Approval Agent, and Skill-based E-commerce Support.
pnpm install
pnpm verify
pnpm certify
pnpm exec yutra validate examples/it-helpdesk/agent.yutra.yaml
pnpm exec yutra run examples/it-helpdesk/agent.yutra.yaml --input examples/it-helpdesk/demo-inputs/case1.jsonThis demo shows a local Skill being adapted into a Yutra Action and executed under trace/audit.
pnpm exec yutra skill list --skills-dir examples/ecommerce-support/skills
pnpm exec yutra skill validate examples/ecommerce-support/skills/query-shipping
pnpm exec yutra skill inspect examples/ecommerce-support/skills/query-shipping --as-action
pnpm exec yutra run examples/ecommerce-support/agent.skill.yutra.yaml --input examples/ecommerce-support/demo-inputs/shipping-case.json --skills-dir examples/ecommerce-support/skills --trace-file .yutra/traces/skill-based-ecommerce.jsonl
pnpm exec yutra run examples/ecommerce-support/agent.skill.yutra.yaml --input examples/ecommerce-support/demo-inputs/handoff-case.json --skills-dir examples/ecommerce-support/skills --trace-file .yutra/traces/skill-based-ecommerce.jsonl
pnpm exec yutra trace export <runId> --trace-file .yutra/traces/skill-based-ecommerce.jsonl --out demo-artifacts/skill-based-ecommerce-handoff.json| Concept | Meaning |
|---|---|
| Skill | Capability unit and implementation source |
| Action | Standardized invocation contract |
| State | Execution context and transition boundary |
| Guard | Runtime condition and decision gate |
| Policy | Governance layer for allow / deny / handoff |
| Runtime | Deterministic execution engine |
| Trace | Execution evidence |
| Audit Bundle | Portable review artifact |
| Certification | Stable behavior verification |
Skill / Tool / API / Function
-> Action Adapter
-> Yutra Action
-> State
-> Agent
-> Runtime
-> Trace / Audit / Certification
Skill is not a top-level Agent or State object.
It is the implementation unit behind a Yutra Action.
examples/it-helpdesk- basic stateful support flow.examples/ecommerce-support- Skill-based e-commerce support pack.examples/approval-agent- approval and human-in-the-loop flow.starters/minimal-agent-pack- minimal starter pack.starters/support-pack- support-oriented starter pack.
Yutra records execution evidence as trace events.
You can:
- replay a run
- inspect context diffs
- compare runs
- export audit bundles
- certify examples against stable golden projections
pnpm certifyCertification summary: .yutra/certification/summary.json.
Yutra is currently not:
- a Skill marketplace
- a remote registry
- an install workflow
- a SaaS dashboard
- a customer service backend
- a BI / analytics platform
- an LLM-first orchestration framework
- a real customer API integration layer
- Read CONTRIBUTING.md and AGENTS.md.
- Run
pnpm verifybefore opening a PR.
MIT. See LICENSE.