Canvas
The Canvas is InaiBridge's visual workflow builder. You compose a workflow as a graph: place nodes, connect them, configure each one, and run it. Data flows from node to node along the connections.
The idea
A workflow is a sequence of steps. In the Canvas, each step is a node:
[ Trigger ] → [ Ingest Source ] → [ InaiAgent ] → [ Output ]
- A trigger starts the workflow.
- A tool node does work — pulls in a source, retrieves data, or calls a service.
- An agent node reasons over data.
- An output node delivers the result.
What's in this section
- Nodes — the building blocks and what each does.
- Building a workflow — placing, connecting, configuring, and running.
- Projects & workflows — organizing your work.
- Canned workflows — ready-to-run starters.
Automated Documentation Sync
One of the most powerful applications of the Canvas is automated documentation maintenance. Using the Docs Sync tool node together with docs-propose and human-in-the-loop gates, you can build workflows that keep your documentation in lockstep with your actual codebase:
- Detect Changes: The Docs Sync node monitors your repository for code changes since the last successful publish or a specific baseline commit.
- Route and Map: Configure the node with glob-to-document mappings (one per line) so changed code areas are routed to the correct documentation files; the first match wins.
- Propose Updates: An agent node analyzes the code delta against the existing documentation and proposes precise, grounded updates (append, create, or replace section). You can supply a custom instruction template that references the target document.
- Human Governance: Every proposed change is held at a human-in-the-loop gate. Technical leads or editors review, edit, and approve before any publish step runs. The orchestration node itself never publishes or merges.