On this page

#Manual quickstart

This page builds an agent by hand, one MCP tool at a time, from any client connected to https://vatio.ai/mcp (Connect). Ask your client to call each tool, or call it yourself where the client allows. The vatio skill makes the same calls for you. There are no files to write: Vatio holds the agent.

The examples use acme as a workspace slug; replace it with yours.

#Create a workspace

The first call opens vatio.ai to sign you in, with your email (Vatio emails you a one-time code), Google or GitHub. Signing in creates your account if you have none. Then:

  • create_workspace with slug: "acme" and name: "Acme".

A workspace runs one agent and holds its conversations, contacts, knowledge, secrets, schedules and channels. list_workspaces shows every one your account reaches.

#Define the agent

  • update_agent with:

    {
    "workspace": "acme",
    "name": "Acme Support",
    "instructions": "Help visitors understand Acme's warehouse robotics.\nAsk what they need help with. If you do not have the information to answer, say so. Never invent product details or prices.",
    "personality": "Warm, concise, and clear."
    }

instructions defines what the agent does, the business it works for included: what it does, where it is, how to reach it. The other fields are optional. The business's name and the widget's look are set with update_business and update_widget, or in Web chat in the inbox, which also takes the logo. get_agent reads the whole agent back; Agents explains each field.

#Try and test it

There is no deploy step: every change reaches your team at once.

  • chat_with_agent with message: "What does Acme do?".
  • chat_with_agent with message: "Can you tell me the price?" and the chat_id the first call returned, to continue that conversation.
  • get_conversation with that chat_id shows it whole, with every tool call.

Check that the agent answers from what it was given and says what it does not know. get_status gives try_it, the inbox with Try the agent open, to chat on the web, WhatsApp or Instagram.

Then write down what it must do as tests:

  • add_test with question: "Can you tell me the price?" and should: "Says it does not have prices and offers to connect them with the team. Never states a price."

It asks the question in a new conversation and answers at once with its chat_id; get_test_results with it, a few seconds later, says whether the answer passes. run_tests replays every test (and every reply your team reports later), and get_test_results with the run's run_id reads how it went. From then on, a change that breaks a test that passes today is held back from everyone (Improve).

#Give it work of its own

An always-on agent can also act without being asked (Always-on agents). For example, set_schedule with:

{
"workspace": "acme",
"key": "weekly-overview",
"days": "mon",
"at": "08:30",
"timezone": "America/Santiago",
"to": "team",
"event": "It is Monday morning: call week_overview for this person and send them their week, short. If they have nothing due, send nothing."
}

week_overview stands for a tool of yours that reads a person's week from your backend. Each Monday at 08:30 the agent runs once for each person on the team with a verified WhatsApp, and writes to them there, or writes nothing. A schedule applies at once and is not part of a version (Schedules).

#Reach your users

Your users talk to the agent through the widget on your site, WhatsApp, Instagram or the SDKs. get_status returns the publishable key and the widget's script tag that put it on your site (put_in_the_app); the key works from any site, in development and in production. Your site served from your own machine (localhost, a private address) talks to the newest version, as your team; anywhere else it talks to the version everyone has. WhatsApp and Instagram are connected in the inbox, because Meta's consent screen opens only in a browser.

There is nothing to publish. Every change reaches your team at once, and everyone once the tests that pass today pass on it, a few minutes later; with no tests, at once. A test that passes today and fails on a change holds it back from everyone, and you get an email naming it. get_status says where the newest change stands (Deployments).

Next, add knowledge, connect your API, or embed the widget.

Last updated:

Latest release: 0.144.0 · Changelog · The whole contract as Markdown: /docs/docs.md