Create an agent
Ce contenu n’est pas encore disponible dans votre langue.
An agent is one AI specialist with a role. To see what an agent is made of first, read What an agent is made of. This page builds an agent by hand. It takes more steps than the Assistant: to have an agent built from a description, read Build your first team with the Assistant.
Recorded from the product. It stops before the agent is published and before the credentials of the model are chosen.
What you need
Section titled “What you need”- Agentivity running, with the Studio open. See Install Agentivity with Docker.
- A model connection. See Connect an AI model.
Create the agent
Section titled “Create the agent”- On the home page, select New, then Agent, or the card An agent. You can also open Studio > Agents and select New agent. From the list, the new agent is added to the list and its editor does not open by itself: double-click it.
- In the window New agent, type the Agent name, for example
Reminder Writer. - Select Create.
The editor of the agent opens. The agent is drawn as one large box, AI Agent, with a row of small diamonds under it. Each diamond is a place where you plug something into the agent: a model, a memory, tools.
If the canvas looks empty, select the first button at the bottom left of the canvas. It brings the whole drawing into view.
Describe its role
Section titled “Describe its role”In the panel Info, on the right:
- Fill in Role: one or two sentences on what this agent is good at. When the agent is a member of a team, the team reads the role to decide when to use this agent.
Give it a model
Section titled “Give it a model”A new agent has no AI model. You add one and link it.
In the panel on the right, select the second tab. The Nodes catalog opens.
Open AI, then Models. You can also type the name of your provider in the search field and press Enter.
Drag the model of your provider onto the canvas, below the agent. For example Anthropic Model, OpenAI Model or Google Gemini Model. It appears as a circle with a diamond on top.
Drag from the diamond of the model to the first diamond of the agent, on the left. A dotted line links them.

Right-click the model and select Edit.
Under Connection, open the list Provider credentials and choose your model connection. The list shows only the connections of this provider.
Select Apply.

Leave Model override empty to use the default model of the connection.
Write its instructions
Section titled “Write its instructions”Right-click the box AI Agent and select Edit.
In System instructions, write what the agent must do and how, in plain words. For example:
You write payment reminders for a small company. You receive the name of the customer, the invoice number, the amount and the date it was due. Write a short and polite e-mail, five sentences at most. Never threaten. Do not invent a fact that you were not given.Select Apply.

- Select Publish, at the top right.
Publish is highlighted when there are changes to save. Publish before you leave the editor.
Try it
Section titled “Try it”- In the switch at the top, select Execution.
- Type a task for the agent and send it.
How to know it worked
Section titled “How to know it worked”- On the canvas, a dotted line goes from the model to the agent.
- In Studio > Agents, the agent is in the list, with Agent in the column Type.
- In Execution, the agent answers your task.
If it does not work
Section titled “If it does not work”- “Agent name is required.” The name field is empty.
- The list Provider credentials is empty. You have no connection for this provider. Add one in Administration > Credentials, or choose the model of a provider you have a connection for.
- Apply cannot be selected. Nothing changed in the window yet.
- The agent fails when it runs. Check that the model is linked to the first diamond of the agent, and that its credentials are chosen.
Go further
Section titled “Go further”- Write the role and the instructions of an agent
- Choose or change the model of an agent
- Give tools to an agent
- Run an agent and read its answer
Next step
Section titled “Next step”Put the agent in a team: Create a team of agents. Or use it in a workflow.