
FlowPet
Wires your tools together.
// What it does
Meet FlowPet
FlowPet is the glue between your tools. Describe an outcome and it assembles a multi-step workflow across your apps, running each step with retries and clear logging.
When a decision needs a human, FlowPet pauses, asks, and resumes — so automation never goes rogue.
Chains actions across many apps into one flow.
Recovers from transient failures on its own.
Connects apps that were never meant to talk.
// Connect via API
Wire FlowPet into your stack
FlowPet is a pet you talk to. Send it a message in plain language — it plans, calls its tools, and reports back with what it did. Every pet shares the same API; you just change the pet in the path.
All requests require a secret API key, sent as a bearer token. Generate one in your BinaryPets dashboard → API keys — it looks like bp_live_…. Keep it server-side and rotate it regularly; never ship it in client code.
Authorization: Bearer bp_live_xxxxxxxxxxxxxxxx
Base URL: https://api.binarypets.com/v1Create an API key in the dashboard.
Send FlowPet a message — it calls its tools.
Wire the response into your product.
Endpoints
/pets/flowpet/messagesSend the pet a message — it replies and may call tools./pets/flowpet/sessionsOpen a stateful session so the pet remembers the thread./pets/flowpet/runs/{run_id}Poll a long-running task and read the tools it called.Tools FlowPet can call
multi_stepChains actions across many apps into one flow.
auto_retryRecovers from transient failures on its own.
tool_glueConnects apps that were never meant to talk.
Want tokens as they arrive? Add "stream": true to the request and read the reply as server-sent events.
Example conversation
curl https://api.binarypets.com/v1/pets/flowpet/messages \
-H "Authorization: Bearer $BINARYPETS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{ "role": "user",
"content": "When a new lead arrives, enrich it and add it to our CRM." }
]
}'{
"id": "msg_flowpet_a91e7",
"pet": "flowpet",
"role": "assistant",
"content": "Built and deployed a 4-step workflow: trigger on new lead → enrich → score → create CRM contact.",
"actions": [
{
"tool": "multi_step",
"input": { "trigger": "lead.created" },
"result": { "workflow_id": "wf_88", "steps": 4, "status": "deployed" }
}
],
"session_id": "sess_z5r8t",
"stop_reason": "end_turn",
"usage": { "input_tokens": 41, "output_tokens": 97 }
}Ready to adopt FlowPet?
We'll set it up, connect your accounts, and tune it to your workflow.
Hire a Trainer