Aller au contenu principal

Choose where your agent runs

By default the Breign server runs your agent: its AI engine writes the answers. You can instead hand the agent's turns to an execution node, a computer of yours that runs them with a coding tool (Claude Code, OpenCode or fx) in a folder you allowed. Use it for agents that write code, work on files of a repository, or must run inside your network. See Execution nodes for the concepts.

Before you start​

  • Execution nodes must be enabled on your platform. If the agent page has no Execution block, they aren't.
  • You need the Update agents permission.
  • For your own computer: install Breign Mate (or the Breign CLI), connect it and allow at least one folder.
  • For a node group: the group must exist. See Node groups.

Steps​

  1. Open the agent and find the Execution block.
  2. Choose where it runs:
    • Breign server: the default; the agent's AI engine answers.
    • Breign Mate node: one of your own computers runs the turns.
    • Node group: the first free node of the group takes each turn.
  3. For a Breign Mate node:
    1. Choose the Node (a badge shows whether it's connected).
    2. Choose the Runtime: Claude Code, OpenCode, or fx (included with Breign, uses the agent's model).
    3. Under Workspace, choose A node folder and pick one of the folders allowed on that computer, or Git repositories to have the node clone repositories from GitLab or GitHub (see Work on Git repositories).
    4. Optionally turn on Automatic resume: after the computer restarts, an interrupted turn resumes once, on its own.
  4. For a Node group:
    1. Choose the Group. View the group queue shows what's waiting.
    2. Choose the Runtime, then the Workspace: a folder declared by the group's nodes, or Git repositories. If only some nodes of the group have that runtime or can clone repositories, the page tells you how many.
    3. Optionally turn on Keep the environment: each conversation keeps its working copy on the node that started it.
    4. Choose what happens If that node is busy or offline: same as the group, wait 30 minutes then take another node, wait for that node with no limit, or take another node right away.
    5. Optionally turn on Automatic resume.
  5. Click Save.

Result​

From the next message, the agent's turns run on the node. In the conversation, a card shows the queue: Queued, Waiting for {node}, Running on {node}. While a turn waits, you can Cancel it or Start elsewhere now.

On a node, the agent keeps its Breign tools, skills and knowledge, but the model and temperature chosen on Breign aren't used: Claude Code and OpenCode pick their own model. fx uses the agent's model through Breign.

If something goes wrong​

  • "No node: install Breign Mate on your computer and connect it.": no computer of yours is connected yet.
  • "This node declared no allowed folder: add one in Breign Mate.": add a folder in Breign Mate's node window, or with breign node workspace add.
  • "Not detected on this node" next to a runtime: install Claude Code or OpenCode on that computer, or choose fx.
  • "No node group in this organization: create one from the Execution nodes page.": see Node groups.
  • "This agent runs on another user's node.": you can't change someone else's node settings, but you can bring the agent back to the Breign server.
  • The card says "No node of {group} is online": start a node of the group, or Start elsewhere now.