Overview
An agent is one JSON document, the manifest. It says what the buyer gives the agent (inputs), what the agent does (steps), what the buyer gets (outputs) and how it is sold (listing). Inflowave runs every step and draws every screen. You build the manifest with your own AI through the Inflowave MCP server, or in Create an agent under My agents in the app; this page describes the same fields.
How an agent gets reviewed and listed is on building agents on Inflowave.
Build with your AI
Connect Claude, ChatGPT or any MCP client to the Inflowave MCP server and ask it to build the agent.
| Server | https://mcp.inflowave.io/mcp (streamable HTTP) |
| Sign in | Your Inflowave API key as Authorization: Bearer <key> (Settings, API Keys), or sign in to Inflowave from Claude or ChatGPT. |
| Tool | What it does |
|---|---|
get_agent_building_guide | How agents work, the step kinds, a working starter example and the live list of tools a step can use. |
check_agent_manifest | Checks a manifest. Returns ok, errors and before_submitting (quality checks still to pass). Saves nothing. |
save_agent | Checks, then saves a private draft only your agency sees. Needs confirm: true. An id that is already taken is refused. |
test_agent | A free sandbox run with your test inputs. Needs confirm: true. |
submit_agent_for_review | Sends the agent for review. Nothing goes live until Inflowave approves it. Needs confirm: true. |
list_my_agents, get_my_agent_manifest | Your agents, and the manifest of one of them, to edit and save again. |
The manifest
A small but complete agent:
{
"schema": "inflowave.agent/v1",
"id": "faq-from-link",
"listing": {
"name": "FAQ from a link",
"tagline": "Paste a link: get a clear FAQ section ready for your site.",
"about": "Paste the link to a product or service page ...",
"category": "Writing",
"price_usd": 2,
"price_model": "per_run",
"trial_runs": 2,
"terms_url": "https://example.com/terms",
"privacy_url": "https://example.com/privacy",
"visibility": "public"
},
"inputs": [
{ "id": "url", "type": "link", "label": "Link to read", "required": true },
{ "id": "tone", "type": "choice", "label": "Tone", "default": "friendly",
"options": [{ "value": "friendly", "label": "Friendly" }, { "value": "expert", "label": "Expert" }] },
{ "id": "site_key", "type": "text", "label": "Your CMS key (optional)", "secret": true }
],
"steps": [
{ "id": "read", "kind": "generate", "label": "Reading the link", "tool": "fetch_link",
"produces": "source", "type": "text", "args": { "url": "{{inputs.url}}" } },
{ "id": "faq", "kind": "generate", "label": "Writing the FAQ", "tool": "llm_markdown",
"produces": "faq", "type": "document_md",
"args": { "prompt": "Write 8-12 FAQ entries in Markdown. Tone: {{inputs.tone}}.\nSource:\n{{artifacts.source}}" } }
],
"outputs": [{ "artifact": "faq", "label": "FAQ", "primary": true, "download": true }],
"secrets": [{ "name": "CMS_TOKEN", "label": "CMS token" }],
"test_input": { "url": "https://example.com/product", "tone": "friendly" }
} | Field | What it is |
|---|---|
schema | Always inflowave.agent/v1. |
id | 2 to 48 lower case letters, digits and -, starting with a letter or digit. It never changes. |
listing | Name, tagline, about, category, price, price model (per_run or monthly), free trial runs, icon, trailer, media, terms and privacy links, and visibility: private (your own agency), link, agencies or public. |
inputs | What the buyer fills in when they start a run. |
install_inputs | Settings filled in once when a workspace installs the agent (its profile). |
steps | What the agent does, 1 to 30 steps, in order or after the steps named in after. |
outputs | The results the buyer gets at the end, 1 to 10. |
secrets | Keys your steps need, by name. |
test_input | The inputs for the daily test. |
readme, faq, changelog | Shown on the agent's page. |
api_auto_approve | true lets API callers skip every person step (first option, approve as is). |
Inputs
Each input has an id, a type and a label, plus optional help, placeholder, required and default.
| Type | Extra fields |
|---|---|
text, long_text | secret: stored encrypted, never shown again. |
link | allowed_hosts: only links to these website names. |
upload | accept (file endings such as .mp4), max_mb (up to 500). |
choice | options: up to 20 { value, label }. |
number | min, max. |
profile | profile_field: filled from an install input. |
Steps read inputs as {{inputs.ID}} and earlier results as {{artifacts.NAME}}.
Secrets and test logins
- Secret inputs. Mark a text input
"secret": truefor a key the buyer gives, such as their own CMS token. It is encrypted the moment it arrives and shows as[secret]everywhere. - Your secrets. Declare keys your agent needs in
secrets(namein capitals,label,help) and read them in steps as{{secrets.NAME}}. You set their values on the Secrets page of your agent. Every secret a step uses must be declared. - Test logins for reviewers. For each secret input you can store a test value and a short "how to test" note. Your test runs and our reviewers' runs use it without anyone seeing it. Paying runs never do.
- If a secret value ever shows up in a step's error or result, it is replaced with
[secret]before anything is saved.
Steps and tools
Every step has an id, a kind and a label.
| Kind | What it does |
|---|---|
generate | Runs a tool with args and keeps its result as produces, of a given type. |
pick_one | The buyer picks one item from a list made earlier (from). |
approve | The buyer approves a result or asks for changes, in their own words. |
review_media | The buyer reviews an image or a video. |
form | The buyer fills in fields. |
upload_request | The buyer uploads a file (in the app only). |
Optional step fields: after, when (run only if an input or answer matches), optional, for_each, revisions (changes included, up to 10), timeout_s (10 to 3600) and help.
Tools
| Tool | What it does | Arguments |
|---|---|---|
fetch_link | Downloads a public https page and keeps its readable text. | url |
llm_json | Writes with AI and returns structured data. key picks the list or object to keep. | prompt, key, max_tokens (up to 8000) |
llm_markdown | Writes a Markdown document with AI. | prompt, max_tokens (up to 8000) |
render_cover | Draws a 1200 by 630 cover image with a title, in the buyer's brand colours. | title, subtitle |
Result types: text, script, table, list, checklist, document_md, image, video_vertical, video_horizontal, audio, file.
Outputs and listing
Each output names an artifact a step produced, with a label. primary marks the main result and download lets the buyer download it.
The listing is what buyers see before they install.
Submitting
- Accept the current developer agreement (once per version).
- Run one test that delivers.
- Pass the quality checks. The builder shows them as a checklist, and
check_agent_manifestreturns them asbefore_submitting. - Submit. The safety scan runs at once: a virus scan of uploaded files, a check that each file is what it says, link rules (https only, no bare IP addresses, no link shorteners) and a check of your instructions and listing for prompt injection, data leaks, impersonation and requests for passwords. If it passes, the agent waits for a person to review it. A
privateagent goes live in your own agency as soon as the scan passes.
Editing a live agent saves a draft. Buyers keep the live version until the draft is approved. A submission with no changes is refused.
API
Buyers run agents from their own systems with a personal API token. Create one on the API tab of an installed
agent: it is shown once, belongs to one workspace, and can be revoked at any time. Send it as a bearer token.
Examples use $BASE for the API address shown on that tab.
| Request | What it does |
|---|---|
POST /api/v1/agents/{id}/runs | Starts a run. Body {"inputs": {...}}, optionally "pay": "trial" or "wallet" and "auto_approve": true. |
POST /api/v1/agents/{id}/run-sync?timeout=300 | Starts a run and waits up to 300 seconds. 200 with the results when it delivers, 202 when it waits for a person, 408 when time runs out (the run keeps going). |
GET /api/v1/runs/{run} | The run's status: running, waiting, delivered, failed or stopped. |
POST /api/v1/runs/{run}/steps/{step}/answer | Answers a step that waits for a person. |
GET /api/v1/runs/{run}/results | The results, as rows with columns. |
GET /agents/{id}/openapi.json | An OpenAPI 3.1 description of the agent, made from its inputs. |
Start a run
curl -X POST "$BASE/api/v1/agents/faq-from-link/runs" \
-H "Authorization: Bearer $INFLOWAVE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"inputs": {"url": "https://example.com/product", "tone": "friendly"}}' {
"id": "782427fd6e8e",
"agent_id": "faq-from-link",
"status": "running",
"created_at": "2026-12-01T19:05:12Z",
"updated_at": "2026-12-01T19:05:14Z",
"error": null,
"url": "/workflows/agents/runs/782427fd6e8e",
"results_url": "$BASE/api/v1/runs/782427fd6e8e/results"
} Answer a step that waits for you
A waiting run lists each question with how to answer it. pick_one takes {"action": "pick", "value": INDEX}, approvals take {"action": "approve", "said": "..."}, forms take {"action": "submit", "value": {...}}, and optional steps take {"action": "skip"}.
{
"id": "2ebd53e09c18",
"status": "waiting",
"waiting": [{
"step": "pick_outline",
"kind": "pick_one",
"label": "Pick an outline",
"answer_url": "$BASE/api/v1/runs/2ebd53e09c18/steps/pick_outline/answer",
"answer": { "action": "pick", "value": "<index of the option>" },
"options": [{ "title": "...", "premise": "..." }]
}]
} # pick the first outline
curl -X POST "$BASE/api/v1/runs/2ebd53e09c18/steps/pick_outline/answer" \
-H "Authorization: Bearer $INFLOWAVE_TOKEN" -H "Content-Type: application/json" \
-d '{"action": "pick", "value": 0}'
# approve a draft, in your own words
curl -X POST "$BASE/api/v1/runs/2ebd53e09c18/steps/approve_draft/answer" \
-H "Authorization: Bearer $INFLOWAVE_TOKEN" -H "Content-Type: application/json" \
-d '{"action": "approve", "said": "Looks good, publish it."}' Limits and errors
- 60 requests a minute per token by default; over that you get 429 with
Retry-After. At most 5 waiting run-sync calls per workspace. - 401 for a missing, unknown or revoked token. 404 for a run outside your workspace, or an agent that isn't live or installed. 409 while an agent is down.
- Every time is UTC in ISO 8601 with a
Z.
Webhooks
Add up to 10 https addresses per workspace on the API tab. Each gets its own signing secret (whsec_...), shown once. A test button sends one test event, and the delivery log shows the last 200 attempts.
| Event | When |
|---|---|
run.succeeded | A run delivered. |
run.failed | A run failed. |
run.timed_out | A run failed on a timeout, or made no progress for 30 minutes. |
run.aborted | A run was stopped. |
run.waiting | A run is waiting for a person. |
{
"event": "run.succeeded",
"at": "2026-12-01T19:05:20Z",
"run": {
"id": "782427fd6e8e",
"agent_id": "faq-from-link",
"status": "delivered",
"created_at": "2026-12-01T19:05:12Z",
"updated_at": "2026-12-01T19:05:19Z",
"error": null,
"results_url": "$BASE/api/v1/runs/782427fd6e8e/results"
}
}
Every request carries Inflowave-Signature: t=UNIX_SECONDS,v1=HEX, where the hex is an HMAC-SHA256 of
t, a dot and the raw body, keyed with your signing secret, plus Inflowave-Event and
Inflowave-Delivery. Check the signature on the raw body and refuse anything older than 5 minutes.
Node.js
import crypto from 'node:crypto';
// rawBody: the request body exactly as received (a Buffer), before any JSON parsing.
export function verifyInflowave(secret, header, rawBody, toleranceSeconds = 300) {
if (!header) return false;
const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
const t = Number(parts.t);
if (!Number.isInteger(t) || Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false;
const want = crypto.createHmac('sha256', secret).update(`${t}.`).update(rawBody).digest('hex');
const got = Buffer.from(parts.v1 || '', 'hex');
return got.length === want.length / 2 && crypto.timingSafeEqual(got, Buffer.from(want, 'hex'));
} Python
import hashlib, hmac, time
def verify_inflowave(secret: str, header: str | None, raw_body: bytes, tolerance: int = 300) -> bool:
if not header:
return False
parts = dict(p.split("=", 1) for p in header.split(",") if "=" in p)
try:
t = int(parts.get("t", ""))
except ValueError:
return False
if abs(time.time() - t) > tolerance:
return False
want = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(want, parts.get("v1", "")) Answer with any 2xx within 10 seconds. Otherwise we retry after 1, 2, 4 minutes and so on, 8 attempts in all. Addresses that resolve to private networks are refused, and redirects are not followed.
Daily tests
Set test_input and we run it once a day for every live agent, as a test run nobody pays for. A test
passes when the run delivers or reaches a step that waits for a person. The first failure marks the agent "under
maintenance" for buyers and sends you a notice; three failures in a row pause it; the next pass brings it back.
You can also run the test yourself from the Health tab at any time.
Versions and outages
- Every approved version is kept and never changed. Version numbers only go up.
- Roll back to any earlier approved version from your agent's page. It is instant and needs no review. Buyers' new runs use it straight away.
- Post an outage notice (
degradedordown) when something your agent depends on breaks. Buyers see it on the agent. While it isdown, new paid runs are refused; your own test runs still go. Paid runs that fail during a notice are refunded, and failures during a notice you posted don't count against your agent. - We open a notice automatically when your agent is paused for failing, or when most runs in the last hour fail on one step because of an outside service. It closes on its own after 3 good paid runs.
Paid agents
Selling paid agents and developer payouts are not open yet. This section will explain pricing and payouts when they are.