Create your first agent

You will create an assistant that answers your customers' questions from your own documents, test it in its chat, give it more tools, and put it live. As an example, we build a support agent for a small online shop.

15 min8 stepsBeginner

Add what it should know

An agent answers best from your own material. Open My Data → Add data and add your shop's information, in whichever form you have it:

  • Upload files: PDFs such as your terms, your returns policy or a product catalogue (up to 20 files, 20 MB in all)
  • Add a website: your site's FAQ or help pages. Choose Crawl linked pages to read the pages it links to as well
  • Add text: paste your opening hours, delivery prices or anything else short

Give it a name, such as Shop help, and wait until it shows Ready. Ubex splits the text into short passages and prepares them so the agent can search them by meaning.

Create the agent

Open Agents → Create an agent:

  • Name: what it is called, such as Shop assistant. It greets people with it.
  • What is it for?: one or two sentences, such as "Answers customers' questions about orders, delivery and returns for our shop." The agent follows it in every conversation.
  • Model: leave Choose automatically, or pick one.
  • Capabilities: choose a level.
Level Can
Lite Chat, answer questions, remember what you tell it
High Also search and read the web, read PDFs and documents, see images, make PDFs, and make pages and documents beside the chat
Max Also call external APIs and run code

Choose the lowest level that does the job: more capable agents carry their tools with every message. For our shop assistant, Lite is enough, because its knowledge comes from My Data.

Click Create agent. It opens in a chat, ready to talk.

Talk to it

Ask it something, such as "Do you deliver on Saturdays?". At this point it only knows what you wrote in What is it for?, so it may say it doesn't know. That's what the next step fixes.

Open the builder

Every agent is a small workflow you can open and change. Open the agent's builder to see its canvas:

Chat Start {{prompt}} Agent Model, instructions, session memory Query Datayour documents Web Searchoptional MCP Serveran app from Apps Send Response {{agent_response}}
Each message runs the flow once. Tools go inside the Agent node; it decides by itself when to use them.
  • Chat Start receives each message as {{prompt}}.
  • Agent thinks, uses its tools, and writes the answer.
  • Send Response sends the answer back to the chat.

Click the Agent node. Turn on Session Memory so it remembers the earlier messages of a conversation.

Give it your knowledge

Tools go inside the Agent node. Double-click inside it and add a Query Data node:

  • Select Source: Shop help, the data you added
  • Search Mode: Semantic, to find passages by meaning

Now ask it again: "Do you deliver on Saturdays?". It searches your material and answers from it.

Write its instructions

In the Agent node's Model Instructions, tell it how to behave. Good instructions say who it is, what it must and mustn't do, and how to answer:

You are the assistant of Acme Shop. Answer questions about orders, delivery and returns.
Only answer from the shop's information. If you don't know, say so and offer to pass
the question to the team at help@acme.example.
Never promise refunds or discounts. Answer in the customer's language, in at most
three sentences.

Keep secrets out of the instructions. Keys and passwords belong in the Vault.

Add more tools (optional)

Other tools you can place inside the Agent node:

  • Web Search to look things up on the web
  • MCP Server to use an app you connected in Apps, such as Notion, Slack or Stripe
  • Memory to remember facts across every conversation
  • HTTP Request to call your own API, such as looking up an order (with the Max level)

Add only what the job needs. Every extra tool is one more thing the agent has to choose between.

You can also ask for changes in words: open Ask Vira in the panel at the bottom left and say "answer in Spanish when the customer writes in Spanish" or "keep answers under 60 words".

Test, publish and follow it

Test in the Chat tab at the bottom left of the canvas. Use the trash icon to start a fresh conversation.

When you are happy, click Publish and make sure Active is on. Every conversation is a run you can follow in Activity, with what the agent searched and answered.

Next: work on your apps from your own tools in Work from your own editor.

Finished all the steps?

0 of 8 steps done

Ready to build?

Open Ubex in another tab and follow along: every step matches what you see in the app.

Open Ubex