Examples
Start with the generated agent, then explore shipped agent and workflow patterns.
The generated registry contains one Order assistant with a lookup_order
tool:
npm create @nylorun/agent my-agent
cd my-agent
npx nylorun up
npx @nylorun/cli tenant create
npm run devThe Agents repository examples
show instructions, tools, hooks, MCP, sandbox, skills, plugins, subagents, and
media-oriented agents. Copy definitions and capabilities into your own
agents/ tree; do not copy credentials or generated data.
Workflow examples
Six runnable examples demonstrate the workflow primitives:
| Example | Pattern |
|---|---|
chain | Run nodes in order and pass output through slots. |
switch | Choose one branch from input. |
parallel | Run independent branches concurrently. |
map | Apply a node to every input item. |
loop | Repeat a body until its condition is satisfied. |
ship-feature | Combine agents and control-flow nodes in a larger workflow. |
Start a new Studio session after changing a definition. Existing sessions stay pinned to the manifest with which they started unless an input supplies a turn manifest.
Next step
Learn to add a typed tool, compose workflows, or inspect execution in Studio.