Every tool is a graph: nodes (HTTP, mail, logic, bundles, …) wired together. The executor walks that DAG the same way on every run—what you test is what production runs.
Workflow
- Create —
smia_create type=tool(or the canvas UI). New tools start disabled. - Test —
smia_testwith sampleargs. This runs the live graph, including real HTTP, email, and provider calls. It is not a sandbox (see repodocs/TASKS.md). - Enable —
smia_update type=tool enabled:true(or Publish in the UI). Disabled tools cannot be called or used in Tasks.
Mode taxonomy: canvas / smia_test invocations are stored as mode=test for server tools. Builder test_graph_tool counts as builder activity, not test mode.
Graph size (by plan)
Complexity = root canvas + each uniquely referenced bundle definition.
| Free | Hobby | Pro | |
|---|---|---|---|
| Nodes / edges | 100 / 240 | 300 / 720 | 1,000 / 2,400 |
| Max execution | 5 s | 30 s | 60 s |
| Loop / map iterations | 25 / 50 | 50 / 250 | 100 / 1,000 |
Bundle bodies (all plans): max depth 5, 80 nodes, 200 edges per bundle.
Validation runs at save time against TIER_LIMITS.graph for the hub plan.
Secrets in graphs
Put {{env.KEY}} in saved node config (URL, headers, templates)—not in caller arguments. Wired inputs are literal; placeholders in arguments are not expanded. See Keys and secrets.
Example agent sequence
smia_catalog
smia_create type=tool hub_slug=ops server_slug=mcp name=fetch_status …
smia_test hub_slug=ops server_slug=mcp tool_name=fetch_status args={}
smia_update type=tool hub_slug=ops server_slug=mcp tool_name=fetch_status enabled:true
Coworkers and agents then call fetch_status on https://smia.tools/ops/mcp with the same deterministic graph.
Verified against commit aae68ddd0a3c9597d8481c376d33eb3ca2effcb3 on 2026-11-26.