What Agents Can Do
Gavana is a visual canvas for people and a precise, revision-safe contract for agents. The same canvas your team edits in the browser is the canvas an agent reads, extends, and generates into — with stable handles, atomic writes, and an audit trail on every change.
This section is for connecting an agent and running real work through it. If you want the raw HTTP contract, go to the API. If you want tool-by-tool MCP detail, go to MCP.
Connect your agent
The fastest setup is in Gavana itself: Settings → Connect an agent gives you one message to paste into an agent on your computer, or numbered steps for Claude, ChatGPT, Hermes, Claude Code, Codex, Cursor, VS Code, and any other app. Not sure which transport you want? The connection overview compares them side by side.
| You want to… | Use | Authentication |
|---|---|---|
| Let a chat client work with canvases | Hosted MCP | Browser OAuth |
| Give a local coding agent the full tool surface | Local MCP | Your CLI login, or a Personal Access Token |
| Script or automate from a terminal | The CLI | Browser OAuth or a token |
| Build your own service or backend | The Canvas API | Personal Access Token |
| Only inspect, never change anything | Hosted MCP with Read-only access turned on, or gavana auth login --read-only | Browser OAuth |
What an agent can actually do
| Capability | What it means | Costs credits? | Scope needed |
|---|---|---|---|
| Inspect | List canvases, read a canvas graph (a compact summary first, then exact nodes), read a node, list assets, render an SVG preview | No | canvas:read, asset:read |
| Create a task canvas | Create or reuse one named canvas per task with a stable creation key | No | canvas:read, canvas:write |
| Validate | Audit the current graph, or a proposed batch, for structural problems | No | canvas:read |
| Edit | Create, update, move, resize, delete nodes; create and delete connections; apply an atomic batch | No | canvas:write |
| Reuse Elements | List exact immutable visual references; create revisions; organize, archive, and restore them | No | element:read; management also needs element:write |
| Discover workflows | Search Recipes, list and inspect Image Actions | No | canvas:read |
| Discover models | List saved AI connections and models | No | image:generate or video:generate |
| Deterministic Actions | Resize, crop, remove a plain background, change aspect ratio, composite, add text, overlay, colour grade, rotate | No AI credits | canvas:read, canvas:write, asset:read (a local file input also needs a generation scope for the private upload) |
| Recipes | Fork a Recipe card (setup only), or run one (execution) | Run costs credits | image:generate and its dependencies |
| Import images | Save a picture the user supplied, or a product page’s photos, onto a canvas as durable nodes | No | canvas:read, canvas:write, asset:read; saving a picture also needs image:generate |
| Image generation | Generate, edit, or produce variations into a canvas — several different images in one call; optionally apply up to eight version-pinned Elements | Yes | image:generate and its dependencies; add element:read when Elements are applied |
| Plan with Work | Turn a brief into exactly three directions, refine one with the user, then execute only the chosen direction | Planning no; execution yes | canvas:read, canvas:write, asset:read; execution also image:generate |
| Video generation | Discover video models and generate video from a prompt or frames | Yes | video:generate and its dependencies |
| Observe | List recent Runs, read a stored snapshot, wait for, poll, and cancel a Run or Job | No | job:manage |
The two lines that matter most: editing a canvas costs nothing, and generation costs money — billed through the user’s Gavana account, to their own saved provider key, a key their workspace owner shares, or Gavana credit. Everything in the safety contract flows from that split.
One canvas per task
There is no shared Agent Canvas. An agent creates or selects one canvas per task and passes that exact handle to every later read, write, import, and generation in the task — there is no global active canvas and no fallback destination.
- Continuing existing work: find the canvas with
canvas_listand use it. - New work:
canvas_create(orgavana canvas create --title "Summer launch" --idempotency-key …) with a title and a stable 8–200 character key. Repeating the identical request returns the same canvas instead of a second one; a changed title or workspace with the same key is a conflict. New canvases are private and go to the account’s personal workspace unless a shared one is named.
Older Agent Canvas links still open for reading, and jobs already running there finish where they started. A request that names the retired agent-canvas destination gets a clear retirement error instead of a canvas.
Where an agent’s work shows up
Every change carries provenance. The label you give a token when you create it (“Claude Code · MacBook Air”, “Codex · CI”) is written into node and activity records, so a reviewer can tell which client made which change without trusting a caller-supplied name. That is the reason to create one token per client and per machine rather than sharing one.
Read operations return structured canvas data and stable handles. Generation returns a run: or job: handle for observation, and — once complete — durable node: and asset: handles. The temporary observation handles expire; the durable handles are what you keep.
Before you connect an agent
Generation is billed through your Gavana account — your own saved provider key, a key your workspace owner shares, or Gavana credit. Approving an image, Recipe, Work, or video run means approving a real charge. Give an agent image:generate or video:generate only when you intend it to spend.
New hosted connections ask for eight permissions, and new Personal Access Tokens start with eight of the nine — everything except reference:extract — and Never expiry. Use Read-only access, a narrower token, or a custom expiry only when you deliberately need that boundary.
Generation remains separate from connection setup: the agent must have explicit current-turn approval before it starts a paid image, Recipe, Work, or video run.
The contract
Every Gavana agent operates under the same eight-rule contract: read before you write, get explicit current-turn approval before paid work, never auto-retry a paid request, keep credentials out of chat and logs, share only the request ID with support, use only handles the service returned, reuse a caller-stable idempotency key, and read baseRevision before a raw canvas write.
Gavana serves that contract to agents at runtime as a versioned guide — through guide_get (pass query to search) on the hosted server, guide_search and guide_get on the local one, and the gavana://guides/canvas/v1/ MCP resources — so a connected agent can look it up mid-task. The guides are optional help: the person’s explicit request still comes first.
Guides
Worked tasks, each with the exact call order, what to check between steps, what it costs, and the handle you end with. The tag beside each call says what it does: read and check change nothing, write changes the canvas for free, paid spends credits, and wait and stop follow a run that has already started.
Free · read-only
Inspect a canvas
Find, read, validate and summarise a canvas without changing anything.
Open the guideFree · writes the canvas
Save an image
Put a picture you already have on a canvas as a durable node, or keep it as an asset.
Open the guideFree · writes the canvas
Batch edits
Make a many-node change as one revision-safe batch, and recover cleanly from a conflict.
Open the guideNo AI credits
Run an Image Action
Resize, crop, reframe, add text, colour-grade or rotate an image without a model.
Open the guidePaid
Generate images
Pick a model, get approval, then generate, edit or vary images into one task canvas.
Open the guideFree to manage · paid to use
Reuse Elements
Keep a product, character or logo on-model by passing its pinned Element version.
Open the guideImport free · photos paid
Product photos from a page
Import a product page’s gallery as references, then generate photos from those nodes.
Open the guidePaid
Generate video
Find a video model, check every option against it, generate once and download it.
Open the guidePaid
Run a Recipe
Find, inspect or fork a reusable canvas workflow, and run it once with the right inputs.
Open the guidePlanning free · execution paid
Plan a campaign with Work
Turn a brief into three directions, let the user pick one, and execute only that one.
Open the guideFree
Watch and cancel a run
Follow paid work to the end: list runs, wait with a timeout, read the result, cancel.
Open the guideSet up
Machine-readable references
This help center publishes an LLM index and complete help-center context alongside its normal pages. For exact API operations and schemas, use Gavana’s generated OpenAPI 3.1 document rather than inferring an endpoint or a parameter.

