AI agentsAn assistant made by you
An assistant you build once and use whenever you like, with your instructions, your knowledge and the tools you choose.
- ✓Over 600 models
- ✓A single API key
- ✓100 credits on activation

agent/7c1e9a42-…What are your opening hours on Saturday?
Let me check the company hours and I will answer right away.
An assistant made by you
You choose a text model, write what the agent does, the tone it answers in and what it must not do, and add your texts as knowledge.
Every request to the agent already carries all this. Your program only sends the user messages, and the agent answers with what it knows about your company.
- Name
- Customer support
- Model
deepseek-ai/deepseek-v4-flash- Instructions
- Answer customers of João Fernandes's business, in short sentences and in English. If you do not know, ask for a contact.
- Knowledge
- opening-hours.pdf, prices.docx, faq.md
- Tools
current_datetimeweb_fetch
Ready in five steps
All on the «Agents» tab of All in One AI, in My MozOut.
- 01
Name and model
Give it a name and choose one of the text models.
- 02
Instructions
Up to 20,000 characters, with temperature and max_tokens if you like.
- 03
Tools
Turn on the tools and add your texts as knowledge.
- 04
Try it
«Try it» opens a chat and shows the cost of each answer.
- 05
Use it via the API
Copy the agent id in «Use via the API», with ready examples.
The numbers of each agent
Limits designed for business assistants, with quick answers and predictable costs.
- 50agents per account
- 20,000characters of instructions
- 200 KBof knowledge per agent
- 5tool rounds per request
What the agent can look up
Tools let the agent fetch information while it prepares the answer. Each one is turned on in All in One AI.

web_fetchReads a public web page (up to 20,000 characters, 10 s at most). Refuses private addresses.
current_datetimeGives the current date and time, so the agent knows, for example, what day it is.
Knowledge
Prices, opening hours, FAQs or company rules, in txt, md, pdf or docx.
The instructions and knowledge go with every request and count as input tokens: the shorter they are, the cheaper each request.
In the chat you already know
An agent is used in POST /v1/chat/completions, with the same key and the ai:write permission. In model, send agent/ followed by the agent id.
- Do not send the instructions or the knowledge: the agent adds them itself.
- In the model list, GET /v1/models?type=agent shows only your agents.
- Paused, the agent answers 409 with agent_paused until you turn it back on.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.mozout.co.mz/v1",
api_key=os.environ["MOZOUT_API_KEY"])
completion = client.chat.completions.create(
model="agent/7c1e9a42-b35d8f06-a2c4e719-5d0b3f8e",
messages=[{"role": "user",
"content": "What are your opening hours on Saturday?"}],
max_tokens=400,
)
print(completion.choices[0].message.content)curl "https://api.mozout.co.mz/v1/chat/completions" \
-H "Authorization: Bearer $MOZOUT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "agent/7c1e9a42-b35d8f06-a2c4e719-5d0b3f8e",
"messages": [{"role": "user",
"content": "What are your opening hours on Saturday?"}],
"max_tokens": 400}'You pay for the model, not the agent
Each round trip to the model uses credits like a chat request, with a reservation and settlement at the end.
No price of its own
You pay for the model the agent uses, at the GET /v1/models price.
Tools add round trips
With two tools, one answer makes three calls to the model and costs more.
Request limits
The request max_tokens and temperature can lower the agent's, never exceed them.
Free Sandbox
With a sandbox_ key it answers in the same format, with no model call and no charge.
Everything All in One AI does
The same account, the same key and the same credits on every page.
Articles to get started
Step by step, with prices and the most common errors.
01Creating an AI agent in All in One AI, step by stepAn agent is an assistant you set up once and use whenever you like. You pick the model, write how it should answer, add your own texts and choose…Read the article →
02Your AI agent's knowledge: what to add and how to keep each answer cheapKnowledge is your own text that the agent reads before answering: prices, opening hours, frequently asked questions, company rules. Without it, the…Read the article →
03AI agent tools: reading web pages and knowing today's dateWithout tools, the agent only knows what is in its instructions, its knowledge and the model itself. Tools let it fetch information while it prepares…Read the article →
04Using your AI agent through the API: agent/ in the model fieldYou call an agent through the chat endpoint you already know, POST /v1/chat/completions , with the same key and the ai:write permission. In model ,…Read the article →
05What an AI agent costs, and how to test it without spendingAn agent has no price of its own. You pay for the model it uses, in AI credits, at the price shown in GET /v1/models . Each round trip to the model…Read the article →
AI agents
What an agent is, how much it costs, what it can know and how to put it on your website.

Talk to us or look for the answer in the Knowledge Base.
What is an agent?
It is an assistant you build once:
- you choose a text model;
- you write the instructions;
- you add your knowledge;
- you turn on the tools.
After that your program only sends the user messages.
How much does an agent cost?
The agent has no price of its own. You pay for the model it uses, at the GET /v1/models price.
Each round trip to the model uses credits like a chat request. An answer that uses two tools makes three calls to the model, so it costs more.
How many agents can I have?
- Up to 50 agents per account.
- Up to 20,000 characters of instructions each.
- Up to 200 KB of knowledge per agent.
- At most 5 tool rounds per request.
What knowledge can I add?
Your own texts, such as prices, opening hours, FAQs or company rules. You can type them in or add a txt, md, pdf or docx file.
The instructions and knowledge go with every request and count as input tokens: the shorter they are, the cheaper each request.
Which tools does it have?
- web_fetch: reads a public web page.
- current_datetime: gives the current date and time.
The agent decides on its own when to use them.
How do I use the agent on my website?
In the usual chat, POST /v1/chat/completions, with model set to agent/ followed by the agent id.
The instructions and knowledge are added automatically: do not send them in the request.
Can I test it before putting it live?
Yes, in two ways:
- The «Try it» button opens a chat with the agent and shows the cost of each answer.
- With the sandbox_ key, the agent answers in the same format, without calling the model or charging anything.
What happens if I run out of credits?
The request does not go ahead and the API answers 402 with insufficient_credits. Nothing is charged, and the error says how much you need and how much you have.
Buy more on the «Buy credits» tab and try again. The credits arrive as soon as the payment is confirmed. In chat, a lower max_tokens also lowers the reservation.

Need help?
If you still have questions or need more information, we have expert people ready to help you.
- ChatOpen the chat →
- TicketOpen a ticket →
- Opening hoursSupport from Monday to Friday, 08:00 to 16:00.
Build your first agent
Activate All in One AI, get 100 credits and try the agent before putting it on your website.
- 100 free credits on activation
- A Sandbox to test without spending
- One key for everything





