Goals
Hand an agent a goal: it plans, works in the background, asks when it needs you and reports back.
A goal is a task you hand an agent to finish on its own. The agent writes a plan, works through it in the background over many steps, asks you when it cannot go on without you, and ends with a report. Use a goal when one chat reply is not enough: an investigation across several systems, a check that needs many reads, or a change that needs your approval along the way.
goal: in Slack, Discord or Teams
Member Admin
Before you start
- The agent needs a model that can call tools. If its model cannot, or failed its last test, the portal says so where the Start a goal button would be. See Choose a model.
- You need to be a member or an admin. Viewers can read every goal but cannot start one.
- To start a goal from a channel, the agent needs a bot there, and your chat account must be linked to your portal account (the bot sends you a link the first time you write to it). See Channels: how they work.
- A goal does more when the agent has tools. See Connect tool servers (MCP) and Built-in tools.
Start a goal in the portal
- Open a chat with the agent: the Talk to an agent button on any page, or Talk to and the agent's name at the top of the agent's page.
- Write the goal in the message box. Say what done looks like and what you want in the report. A goal is 1 to 4,096 characters.
- Choose Start a goal instead of the send button.
A goal card appears in the chat. It first reads Writing a plan…, then shows the plan, the step the agent is on (Now: …) and a budget line such as 38 of 100 rounds · 900k of 2M tokens · 14 of 30 min. The card updates on its own while the goal works. You can close the page; the goal keeps going.
The agent's page also has a Start a goal button at the top, which opens a chat ready for a goal. A new agent's setup ends with a first-goal step; see Set up a new agent.
Chats are visible to everyone in your organisation, and so are goals. Everyone can open a goal's chat and read its plan, questions and report.
Start a goal from Slack, Discord or Teams
- In a channel where the agent's bot is, or in a direct message to it, write a message that starts with
goal:(any case), then the goal. For example:goal: find which services logged errors after last night's deploy and why. - The bot posts one progress message in the thread. It shows the agent, the goal's state, the plan with a mark per step (✓ done, ▸ doing, · to do, ✗ dropped), the budget line and an Open in Entropix link. The portal edits this message at the start and the end of every step.
When the agent asks a question or wants an action approved, the bot posts it as a new message, so the thread notifies you. Reply in the thread to answer a question. Approvals are decided on the portal: see Approve actions. The report is posted in the thread when the goal ends.
While the goal is working, the agent does not read other messages in the thread. A message sent then gets the reply "agent is working on a goal here — it reads replies only when it asks. Stop it to ask something else." To stop a goal, open it on the portal.
How a goal works
The agent works in steps. Each step is up to 8 model calls and up to 5 minutes of work. Between steps the portal keeps a checkpoint: the goal, the plan, the agent's notes, how the last step ended, the tools it called, your latest reply and the budget left. Each step starts from that checkpoint, not from a long transcript, so a goal can run far longer than one chat reply.
Inside a goal the agent has four tools of its own besides its usual ones:
| Tool | What it does | Limit |
|---|---|---|
update_plan | Writes and updates the plan: add a step, mark it doing or done, edit it or drop it. A dropped step stays in the plan, struck through. | 30 open steps, 200 characters each, one line |
write_notes | Keeps facts for later steps, since tool results are not shown again in the next step. | 16 KiB of notes |
ask_person | Asks you one question and pauses the goal until someone replies. | 1,000 characters |
finish | Ends the goal with its report. | — |
A step sends at most one thing to a person or another agent: one question, one action to approve, or one set of helpers. Helpers form a tree at most two levels deep, with at most 5 working at once and 10 in all, and they share the goal's rounds and tokens (see Ask other agents). The step ends there, and the next one starts when the answer is in.
The portal saves the goal's progress after every model call and every tool call. If the server restarts, the goal carries on from its last saved point. If a step fails, the portal tries again after a pause. After three failed steps in a row, the goal ends Failed.
Goals run in the background, apart from chat replies and reviews, so a long goal never makes anyone wait for an answer. Goals in one organisation take turns: the server runs a limited number of goal steps at once (set by whoever runs your Entropix server; see Configuration). If your organisation runs its work on runners and none is online, goals wait until one is.
Answer the agent's question
When the agent calls ask_person, the goal waits. The card shows Waiting for you with the question, and the question shows on Home under Needs you as "agent asks: …" with a Reply button.
- Open the goal's chat.
- Write your answer in the message box and send it. While a goal waits for a reply, the message box is the reply box.
The goal goes back to work at once and the next step reads your reply. Any member or admin may answer, not only the person who started the goal. Answered questions are listed under Questions and replies after the report.
If nobody replies for 7 days, the goal ends with No reply.
Approve an action
Tools set to Asks first change things, so a goal never runs them on its own. The call pauses the goal and shows an approval card with the exact arguments, and the action shows on Home under Needs you. A Member or Admin approves or rejects it on that card within 24 hours; after that it is rejected. Typing yes in the chat or the channel thread does not approve it. An admin can bar a goal's starter from approving its own actions on Settings › Approvals. Every action lands in the agent's Actions log. Everything about this is on Approve actions.
Stop a goal
Choose Stop on the goal card. Only the person who started the goal, or an admin, sees it.
- If the goal is waiting (for a reply, an approval or its helpers), it ends at once.
- If a step is running, the card reads Stopping… until the step notices, usually after its current model or tool call.
- Stopping a goal stops every helper it asked, and their helpers.
- An action still waiting for approval is closed and never runs.
The report then opens with ## Not finished, says a person stopped the goal, lists the steps still open, and adds the plan and the agent's notes. The card reads Stopped by you or Stopped by and the person's name.
The report
When the agent calls finish, its report is the goal's answer in the chat (and in the channel thread, for a goal started there). It has this shape:
## Outcome
## What I found
### Change (only when the agent proposes a change)
## Not done
Under the report, the card keeps the plan as it ended, the budget line, every action with its arguments and result, and a How this was made panel that opens the trace (see See how an answer was made). If some steps were never marked done, the card says "The agent did not confirm these steps."
Check the report before finishing. Unless an admin turns it off for the agent, the portal makes one more short model call before a finished goal is recorded. It compares the report's claims with the goal's notes and the results its tools returned. Claims with no support are listed under the report, at most five, after "Unverified claims (the portal's check found no support in this goal's notes or tool results):". The check never blocks the report, and it is skipped when the goal's tokens cannot cover it.
How a goal ends
Every ended goal shows one outcome on its card, on the Agents page and in the channel's progress message:
| Outcome | What happened | The report |
|---|---|---|
| Done | The agent called finish. | The agent's report. |
| Ended without finishing | The agent replied twice in a row without calling a tool, and never called finish. | ## Not finished and the agent's last reply. When that reply is empty, the portal's report: the open steps, the plan and the notes. |
| Out of budget | The goal used all its rounds, tokens or working time. | ## Not finished, then a last report the agent writes with no tools from its plan and notes. That last call is outside the budget. If it fails, the portal writes the report from the plan and notes. |
| No reply | Nobody answered the agent's question for 7 days. | The portal's report: why, the open steps, the plan and the notes. |
| Stopped | A person chose Stop. | The portal's report, as above. |
| Failed | The goal could not run: three steps failed in a row, the agent was deleted, it has no model, or the request was too large for the model. | No report. The card says why in plain words, with a link to the fix when there is one. |
Under the outcome, every ended goal has a "what changed" line, built from the actions that ran:
Nothing was changed.when no action ran.1 change ran: restart_service on ops-tools.for one.3 changes ran (restart_service ×2, scale_service).for more.+ 1 may have run (timed out).is added for a call whose result the portal could not confirm.
Start a failed goal again
A failed goal you may chat with shows Start again. It starts a new goal in the same chat with the same text. It is not offered while the cause still needs fixing (for example, a model that does not answer), and not on a helper's goal: a helper's task belongs to the goal that asked it.
If another goal is under way in the chat, Start again answers "A goal is already under way in this chat — stop it first."
Goal limits
Each agent has its own goal limits. A goal copies them when it starts and keeps them, so changing the limits never affects a goal under way.
| Setting | What it counts | Default | Highest |
|---|---|---|---|
| Rounds | Model calls. | 100 | 400 |
| Tokens, in thousands | Prompt plus completion tokens. | 2,000 (2 million tokens) | 10,000 (10 million tokens) |
| Working time, in minutes | Model and tool time. Waiting for a reply, an approval or helpers does not count. | 30 | 240 |
| Check the report before finishing | The report check described in The report. | On | — |
Each value is a whole number from 1 to its highest. Anything else is refused with "rounds are 1 to 400, tokens 1 to 10,000,000, minutes 1 to 240". Members and viewers see the limits as a list. If the agent's model cannot call tools, the section says goals are off and the fields are locked until the model changes.
Other limits that apply to every goal:
- At most 10 goals may be under way (working or waiting) at once in your organisation. Helpers do not count toward the 10.
- One goal at a time per chat. While a goal is under way, Start a goal is hidden in that chat.
- A goal cannot be started in a PRD's chat, because that chat's replies change the PRD.
- Conversations over the Chat API do not start goals.
Find your goals
- Agents page: Your goals, at the top, lists the goals you started that are working or waiting, and those that ended in the last day, waiting ones first. Each row shows the agent, the state, how much of the plan is done and, once ended, the "what changed" line. Helpers' goals are left out. The panel is gone when you have none.
- Home: Needs you lists questions from goals and actions waiting for approval. Now lists every goal in the organisation that is working or waiting, with its round count. Activity has Goals and Actions chips. The number beside Home in the sidebar counts open goal questions and the actions you may decide. See Find your way around.
- The agent's page: Activity has a Goals chip for that agent's goals. See The agent page.
What you can and can't do
- Start a goal in the portal or with
goal:in Slack, Discord or Teams. - Watch the plan, the current step and the budget as it works.
- Answer its question from the portal or the channel thread.
- Approve or reject each change it wants to make, on its card in the portal.
- Stop a goal you started (admins can stop any goal).
- Start a failed goal again with the same text.
- Set rounds, tokens and working time per agent, if you are an admin.
- Steer a working goal with a new message; it reads replies only when it asks.
- Stop a goal, or approve its action, from a channel thread; use the portal.
- Run two goals at once in one chat, or more than 10 in the organisation.
- Give a goal more budget once it has started.
- Start a goal in a PRD's chat or over the Chat API.
- Have a goal run an Asks first tool without a person's approval.
Troubleshooting
- "Add a model first to start a goal."
- The organisation has no model yet. An admin adds one on Settings › Models; see Choose a model.
- "The model … cannot call tools, so it cannot run a goal." or "… did not answer its last test, so it cannot run a goal."
- Choose Choose another model and give the agent a model that calls tools, or fix the model server.
- "10 goals are already under way in this organisation — stop one or wait for one to end"
- The organisation's cap is reached. Stop a goal you no longer need, or wait.
- "agent is working on a goal here — it reads replies only when it asks. Stop it to ask something else."
- You sent a message while the goal was working. Wait for its question or report, or stop it and start a new chat.
- "agent is waiting for approval of an action. Approve or reject it above, or Stop the goal."
- The goal waits for a decision, not a reply. Use the approval card.
- "only the person who started this goal or an admin can stop it"
- Ask the person who started it, or an admin.
- "a goal cannot be started in a PRD's chat — its replies change the PRD"
- Start the goal in an ordinary chat with the agent.
Related
- Approve actions
- Ask other agents
- Schedules: start a goal on a timetable
- Runs freely or Asks first
- Chat in the portal
- Agent settings