This section as Markdown: View Download

Agent Use Cases

Build products with autonomous AI agents using the Wiro API.

See These Use Cases on the Web

Wiro publishes interactive, fullscreen showcases for the most common agent use cases. Each one walks through a real product story end-to-end (build, deploy, daily operation, brand-voice authoring, scheduled autopilot, and a self-healing climax under an upstream API break), so you can see what the patterns below look like before writing any code.

Showcase What you'll see
Ad Campaign Manager Drape Studio (bespoke tailoring) running Google Ads + Meta Ads on autopilot: Brand Voice + Budget Control as plain-English skills, AI video ads, OAuth publish, Day-3 auto-pause, weekly review, and a self-heal under the Google Ads API v14 sunset.
App Event Manager Nova (creative video + effects app): Calendarific holiday scan across 7 markets, Nano Banana Pro dual-aspect covers, multi-language event copy, App Store Connect publish, autonomous monthly briefing, self-heal under a 503.
App Review Replies Prism (photo + video editor): App Store + Google Play replies, Brand Voice + Reply Policy markdown skills, multilingual drafts, dev-team Slack escalation for 1★ crashes, monthly sentiment report, self-heal under token expiry.
Barber Booking Scissor Hands salon: WhatsApp + Google Calendar bookings, multi-staff routing with role-based privacy, customer memory, scheduled daily/monthly digests, self-heal under a Calendar API break.
Customer Win-Back Swift Sweep (chimney + fireplace service): HubSpot CRM segmentation, Brand Voice + Customer Scorer + Seasonal Reminder as markdown skills, AI seasonal covers, batch WhatsApp send, scheduled autumn run, self-heal under a HubSpot v2 → v3 contacts API deprecation.
Ecommerce Listings Coral & Crest (swimwear): 5 Wiro AI models (Virtual Try-On, Product-on-Model, Background Remover, Cover Image, Description), multilingual copy, auto-publish to WordPress + Instagram + Shopify, 84-product Google-Drive bulk-autonomy climax.
Restaurant Reviews Green Bottle Coffee: daily chat-based approvals, scheduled reports, anomaly dispatch, self-heal under a Reviews API deprecation. The "no pitch deck required" demo.

You can also browse every available pre-built agent at wiro.ai/agents/browse (the visual mirror of POST /Agent/List). Each agent template has its own marketing page at wiro.ai/agents/{slug} (for example wiro.ai/agents/social-manager, wiro.ai/agents/voice-receptionist, or wiro.ai/agents/blog-content-editor) with screenshots, default skills, credential requirements, and live tier pricing. The full URL for each agent in the Available Agents table below is https://wiro.ai/agents/{slug}.

Two Deployment Patterns

Every product built on Wiro agents follows one of two patterns. Choosing the right one depends on whether your users need to connect their own third-party accounts.

Pattern 1: Instance Per Customer

Most agents interact with external services: posting to social media, managing ad campaigns, sending emails. These require OAuth tokens or API keys that belong to the end user. Deploy a separate agent instance for each of your customers.

Why: Each customer connects their own accounts. Credentials are bound to the instance, isolated from other customers. Each instance also has its own computer and browser, so the Screen of a customer's agent shows only that customer's work.

How: Call POST /UserAgent/Deploy once per customer, then connect their accounts with ConnectorConnect on Agent Connectors.

Real-World Examples

Your Product Agent Type Why Per-Customer
Digital marketing agency dashboard Social Manager Each client connects their own X, Instagram, Facebook Pages, TikTok and LinkedIn
Mobile app company App Review Support Each app has its own App Store / Google Play credentials
E-commerce platform Google Ads Manager + Meta Ads Manager Each advertiser connects their own ad accounts
Marketing SaaS Newsletter Manager Each customer connects their own Brevo/SendGrid/Mailchimp
Sales platform Lead Generation Manager Each sales team connects their own Apollo/lemlist
Content agency tool Blog Content Editor Each client connects their own WordPress site
App publisher platform App Event Manager Each app has its own App Store credentials
Mobile app publisher Push Notification Manager Each app has its own Firebase service account
Customer engagement tool Social Manager Each brand manages their own social presence
Phone-receptionist platform for SMBs Voice Receptionist Each business has its own Twilio number, HubSpot CRM, and Google Calendar
Video marketing tool or agency Video Creator Each client brings its own site, brand and test logins, and pays its model runs from its own Wiro project

Pattern 2: Session Per User

For conversational agents that don't need per-user credentials. One agent instance serves many users, each identified by a unique sessionkey that isolates their conversation history.

Why: No third-party accounts to connect. The agent answers questions using its built-in knowledge or pre-configured data sources.

How: Deploy one instance via POST /UserAgent/Deploy, then send messages with different sessionkey values per user. Deploy it with "chatsetup": "off": your users' messages go out with your API key, which carries your rights, so with setup from chat on, a yes from one of them could change the agent's setup. See Setup From Chat. If you show the agent's Screen in your app, show it only to people who may see every user's work, or turn it off with screen: "off": the agent's one computer shows all of their chats, and Take Control reaches every site its browser is signed in to (see Screen in Your Own App).

About sessionkey: This field is optional. If omitted, messages go into a shared "default" session. Reuse the same sessionkey to continue a conversation (the agent retrieves prior messages as context). Use a fresh UUID to start a new conversation. The common convention is one sessionkey per end-user (e.g. "user-456"), but you can also use it per-thread (e.g. "ticket-2025-0817") for products that group conversations by topic. See the Agent Messaging guide for how sessions work. The session key is a label, not a WebSocket channel: you follow a turn with its agenttoken and a session with the sessiontoken from Message/History (see Agent WebSocket).

Real-World Examples

Your Product Use Case Why Sessions
Knowledge base chatbot Answer questions from documentation No per-user credentials needed
Product recommendation advisor Suggest products based on conversation Same catalog for all users
Internal company assistant HR policies, IT help, onboarding Shared knowledge base
Customer support bot Handle common support questions No external service connections

When to Use Which

Question Instance Per Customer Session Per User
Does each user connect their own social/ad/email accounts? Yes No
Do credentials differ between users? Yes No
Is conversation the primary interaction? Sometimes Always
Does the agent perform actions on behalf of the user? Yes Rarely
How many instances do you need? One per customer One total (or a few)

Hybrid Pattern

A single product can combine both: a per-customer action agent plus a shared conversational agent sit side by side in the same frontend. For example:

  • One Social Manager instance per customer (Pattern 1) to publish posts with their own connected social accounts (System User or OAuth, depending on the provider).
  • One shared knowledge-base chat agent (Pattern 2) that answers product, billing, or onboarding questions across all customers, using sessionkey to keep each user's chat separate.

The two agents are independent deployments with different useragentguid values. Route user actions to the per-customer instance, and chat questions to the shared instance. Your backend decides which agent handles each request.

Building Your Product

White-Label Chat

Build a fully branded chat experience with no Wiro UI visible to your users.

The deploy flow has three stages: Deploy, Setup (only when the agent works with connectors or needs credentials), and Start.

  1. Deploy an agent via POST /UserAgent/Deploy: returns useragents[0].guid and starts the instance in status: 6 (setup-required). A prepaid Deploy then queues it (status: 2) once its subscription is provisioned. Send "chatsetup": "off" too, so your users' messages can't change the agent's setup; make setup changes from your own backend.
  2. Setup the connectors and credentials (only if the agent template needs them): connect the services it works with through Agent Connectors (POST /UserAgent/ConnectorConnect, with fields or the vendor's sign-in; the template's suggestedconnectors on Agent/Detail lists them), and save channels with POST /UserAgent/CredentialUpsert and the Wiro project with POST /UserAgent/CredentialProjectBind (see Agent Credentials). These calls don't change status: a prepaid Deploy has already queued the agent, whatever its credentials hold. UserAgent/Detail reads setuprequired: true until every required credential is set up; credentials and connectors never hold an agent at status: 6. For Pattern 2 (knowledge-base / chat-only agents) there is nothing to set up, so this stage is skipped and the agent is ready to start right after Deploy.
  3. Start: a prepaid Deploy already queued the agent, and it goes through status: 3 (starting) → status: 4 (running). Call POST /UserAgent/Start when it is stopped (status: 0) or errored (status: 5).
  4. Build your own chat UI.
  5. Send messages via POST /UserAgent/Message/Send.
  6. Stream responses in real-time via Agent WebSocket using the agenttoken.
  7. Manage conversation history with POST /UserAgent/Message/History.

See Agent Overview for the full lifecycle state table (status: 0, 1, 3, 4, 5, 6).

To let the people who manage an agent set it up from your chat, with setup cards, connect steps and restarts shown in your own UI, keep chatsetup at "all" and follow Agent Chat Integration.

To show the agent's live Screen in your UI, with Take Control for the people you choose, see Screen and Take Control in Your App.

# Deploy — prepaid + tier are required (the plan is paid from your Wiro balance)
curl -X POST "https://api.wiro.ai/v1/UserAgent/Deploy" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "agentguid": "agent-template-guid",
    "title": "Customer Support Bot",
    "useprepaid": true,
    "tier": "starter",
    "chatsetup": "off"
  }'

# Pattern 1 only — fill any missing credentials, then verify setuprequired flipped to false
curl -X POST "https://api.wiro.ai/v1/UserAgent/Detail" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{ "guid": "deployed-useragent-guid" }'

# Start the agent when it is stopped (status 0) or errored (status 5): a prepaid Deploy already queues it
curl -X POST "https://api.wiro.ai/v1/UserAgent/Start" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{ "guid": "deployed-useragent-guid" }'

# Send a message
curl -X POST "https://api.wiro.ai/v1/UserAgent/Message/Send" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "useragentguid": "deployed-useragent-guid",
    "message": "How do I reset my password?",
    "sessionkey": "user-456"
  }'

Generative Media Studio

A richer variant of white-label chat: besides replying with text, the agent generates images, video, or audio through Wiro AI models and streams them into a live activity feed beside the conversation. This is the pattern behind Wiro's own Studio. It layers the realtime socket on top of the Session-Per-User model.

Shape:

  • One deployed agent whose Wiro project is set to your project (see The agent's Wiro project). Media the agent generates is billed to the wallet of the workspace that owns that project (your personal wallet, or the team wallet for a team project). The agent runs models with that project's key from its skills, or with the tools of the Wiro AI Models connector, wiro (see Wiro AI Models).
  • One sessionkey per end user (Pattern 2 above): the same agent instance serves everyone, and each user's chat history is isolated by session. The agent's model runs are not: with Wiro AI Models (wiro), each user can reach the runs the agent made for the others (see Wiro AI Models).
  • A single WebSocket connection carries three things at once: the streaming chat reply, the per-turn token-usage report, and discovery of any model runs the agent launches.

End-to-end sequence an integrator replicates:

  1. Deploy once (prepaid): POST /UserAgent/Deploy with useprepaid: true + tier. Connect the agent's Wiro project with POST /UserAgent/CredentialProjectBind, then Start.
  2. Open the socket: connect to wss://socket.wiro.ai/v1 and wait for the connected frame.
  3. (Optional) name the session: POST /UserAgent/Message/RenameSession seeds a titled, empty session that shows up immediately in Message/Sessions.
  4. Send a message: POST /UserAgent/Message/Send with the user's sessionkey. Subscribe { "type": "agent_info", "agenttoken": "<agenttoken-from-send>" } and stream agent_start → agent_output × N → agent_end.
  5. Patch token usage: ~250-500 ms after agent_end, an agent_usage_report frame delivers the turn's token counts and tokencost (in cents); splice them onto the message by messageguid.
  6. Collect generated media: when the agent runs a model, an agent_wiroai_runtask frame arrives on the same agenttoken with a socketaccesstoken. Subscribe to it with { "type": "task_info", "tasktoken": "<socketaccesstoken>" } and stream task_queue → task_start → task_output → task_postprocess_end; the final frame carries the output media URLs. See Agent WebSocket → Model runs the agent triggers.
  7. Manage sessions: list with Message/Sessions, rename with Message/RenameSession, clear/forget with Message/DeleteSession (rotate: true to wipe the agent's memory of the thread).

Either deployment shape works: run one media agent and separate users by sessionkey, or deploy separate agents per workspace/customer. Both use the exact same socket and messaging surface. Share one media agent only among users who may see each other's media; otherwise deploy one agent per customer.

Webhook-Driven Pipelines

For backend-to-backend integrations where you don't need real-time streaming.

  1. Send a message with a callbackurl
  2. Continue processing other work
  3. Receive the agent's response via HTTP POST to your webhook endpoint
  4. Chain the result into your next workflow step

See Agent Webhooks for payload format and retry policy.

curl -X POST "https://api.wiro.ai/v1/UserAgent/Message/Send" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "useragentguid": "deployed-useragent-guid",
    "message": "Generate a weekly performance report",
    "sessionkey": "pipeline-run-789",
    "callbackurl": "https://your-server.com/webhooks/report-ready"
  }'

Scheduled Automation

Combine agents with cron jobs for recurring tasks.

Cron (every Monday 9am)
  → POST /UserAgent/Message/Send (with callbackurl)
    → Agent processes the task
      → Webhook fires to your server
        → Your server emails the report / posts to Slack / updates dashboard

This pattern works well for weekly social media content planning, daily ad performance reviews, monthly newsletter generation, and automated lead enrichment pipelines.

Multi-Agent Orchestration

Deploy multiple specialized agents and coordinate them from your backend.

Your Backend
  ├── Research Agent → "Find trending topics in AI this week"
  │     ↓ webhook response
  ├── Writing Agent → "Write a blog post about: {research results}"
  │     ↓ webhook response
  └── Publishing Agent → "Publish this post to WordPress and share on social media"

Each agent is an independent instance with its own credentials. Your backend passes output from one agent as input to the next.

Available Agents

Wiro provides pre-built agent templates you can deploy immediately. Each agent specializes in a specific domain and comes with the relevant skills. It suggests the connectors it works with (suggestedconnectors on Agent/Detail), and you connect them after you deploy it.

Agent What It Does Connectors It Suggests
Social Manager Create, schedule, and publish social media content X, Instagram, Facebook Pages, LinkedIn, TikTok, Google Drive, Serper, Calendarific, Wiro AI Models
Blog Content Editor Write and publish blog posts (WordPress draft + publish workflow) WordPress, Gmail, Serper, Calendarific, Wiro AI Models
Google Ads Manager Create and optimize Google Ads campaigns, daily performance reports Google Ads, Google Merchant Center, Google Analytics 4, YouTube, Google Drive, Adjust, Roasit, Calendarific, Wiro AI Models
Meta Ads Manager Manage Facebook and Instagram ad campaigns, audience analysis Meta Ads, Google Analytics 4, Google Drive, Adjust, Roasit, Calendarific, Wiro AI Models
TikTok Ads Manager Manage TikTok ad campaigns per advertiser, with daily performance and audience reports TikTok Ads, Google Analytics 4, Google Drive, Adjust, Roasit, Calendarific, Wiro AI Models
Newsletter Manager Design and send email newsletters to subscriber lists Brevo, SendGrid, Mailchimp, HubSpot, Serper, Calendarific, Wiro AI Models
Lead Generation Manager Find and enrich leads, run multi-channel outreach, analyze replies Apollo, lemlist, HubSpot, Calendarific
App Review Support Monitor app store reviews, draft responses in operator's tone App Store Connect, Google Play Console
Google Review Manager Watch Google Business Profile reviews and prepare replies in each customer's language Google Business Profile
App Event Manager Scan global holidays, suggest and create App Store in-app events, and prepare Google Play promotional content for you to publish in Play Console App Store Connect, Google Play Console, Calendarific, Wiro AI Models
Push Notification Manager Craft locale- and timezone-aware push notifications, queue dispatch Firebase Cloud Messaging, Calendarific, Wiro AI Models
Voice Receptionist Answer phone calls 24/7 with a real-time AI receptionist: recognises callers from CRM, books from your calendar, drafts CRM notes + follow-up emails, streams a live transcript to chat HubSpot, Google Calendar, Google Drive, Brevo, Wiro AI Models
Video Creator Turn a website, web app, store listing, document or product photos into a share-ready video with real screens, voice-over, music and captions Wiro AI Models (the video's model runs are billed to its project's wallet); it also publishes finished videos through the YouTube or Instagram connector when one is connected

Channels are not connectors: the Voice Receptionist answers calls with its Twilio Voice Channel and Web Voice Channel Skills (the phone line uses your Twilio account, saved in the Twilio Voice (twilio-voice) credential), and any agent can add a Telegram, Slack or Discord channel. See Agent Credentials.

The list above matches the agent templates currently deployed in production. The exact set evolves over time as new templates ship, so fetch POST /Agent/List for the live catalog. Each agent's full marketing page lives at https://wiro.ai/agents/{slug} (linked in the first column).

Deploying an Agent

import requests

headers = {
    "x-api-key": "YOUR_API_KEY",
    "Content-Type": "application/json"
}

# List available agents
agents = requests.post(
    "https://api.wiro.ai/v1/Agent/List",
    headers=headers,
    json={}
)
print(agents.json())

# Deploy an instance (always prepaid — the plan is paid from your Wiro balance)
deploy = requests.post(
    "https://api.wiro.ai/v1/UserAgent/Deploy",
    headers=headers,
    json={
        "agentguid": "social-manager-agent-guid",
        "title": "Acme Corp Social Media",
        "useprepaid": True,
        "tier": "starter"
    }
)
useragent_guid = deploy.json()["useragents"][0]["guid"]

# Connect X with your own X app (see Agent Connectors). Register
# https://api.wiro.ai/v1/AgentConnector/OAuthCallback as a redirect URI in that
# app first; redirecturl is where Wiro sends your user back, with
# connector_connected=true or connector_error=<code>.
connect = requests.post(
    "https://api.wiro.ai/v1/UserAgent/ConnectorConnect",
    headers=headers,
    json={
        "useragentguid": useragent_guid,
        "slug": "twitter",
        "values": {"clientid": "YOUR_X_CLIENT_ID", "clientsecret": "YOUR_X_CLIENT_SECRET"},
        "redirecturl": "https://your-app.com/settings?slug=twitter"
    }
)
authorize_url = connect.json()["authorizeUrl"]
# Redirect your user to authorize_url

# A prepaid Deploy already queued the agent: start it only when it is stopped (0) or errored (5)
instance = requests.post(
    "https://api.wiro.ai/v1/UserAgent/Detail",
    headers=headers,
    json={"guid": useragent_guid}
).json()
if instance["useragents"][0]["status"] in (0, 5):
    requests.post(
        "https://api.wiro.ai/v1/UserAgent/Start",
        headers=headers,
        json={"guid": useragent_guid}
    )

# Send a message
message = requests.post(
    "https://api.wiro.ai/v1/UserAgent/Message/Send",
    headers=headers,
    json={
        "useragentguid": useragent_guid,
        "message": "Create a thread about our new product launch",
        "sessionkey": "campaign-q2"
    }
)
print(message.json())

Browse available agents and their capabilities via POST /Agent/List or in the Wiro dashboard.