Skip to main content
HOME>Blog>Privacy & trust>Agent governance for teams: start with the boundaries a prompt can't move
Guide9 min read

Agent governance for teams: start with the boundaries a prompt can't move

A customer running department and workflow agents asked what happens if someone jailbreaks one. The answer depends on where the rules live. The four boundaries Kylon enforces whatever the agent is told, how agent memory works, and how we would set up agents around them.

Kylon TeamProduct

In short. A permission rule written into an agent's instructions is only as strong as the model's willingness to follow it. A rule the platform enforces holds whatever the agent is told. In Kylon four boundaries work that way: who can talk to an agent, who is in a private Room, whose account a connection is, and who an App lets in. Agents also keep two layers of memory, their own and one per private Room, which is why the few Rooms that need hard isolation get a private agent of their own.

Last week a customer asked us a question that every team running agents eventually asks.

They run a membership business. Member records, dues, finance approvals, all moving through stages, and each stage opens to a different department. They had already planned it out: one agent per department, a few workflow agents that run across departments, Apps and boards for each stage. Then they stopped and asked:

The agent can read all of this data. If we write the permission rules down and someone jailbreaks the agent, the rules are worthless. Our president holds the top permission. Could someone just talk an agent into handing it over?

It's the right worry. And the honest answer is that it depends entirely on where the rules live.

We spent a lot of this year designing how permissions work in Kylon, a workspace where people and agents share Rooms, threads, Apps and connected accounts. Here's what we've learned: which boundaries hold whatever the agent is told, which ones don't, and how we'd set up department and workflow agents because of it.

Rules in a prompt vs rules in the platform

There are two places a permission rule can live.

The first is the agent's instructions. "Only share finance data with the finance team." "Never change anyone's role." This is where most teams start, because it's where agents are configured. It's also the weakest place for a rule. A prompt injection doesn't need to break anything. It just needs to be more persuasive than your instructions, and the model decides.

The second is the platform's access check. Here the rule isn't something the agent follows. It's something every request passes through, outside the model, before any data comes back.

In Kylon every request goes through the same check, whether a person or an agent sends it. So the question "can this request read that Room?" gets the same answer however the request was phrased, however clever the injection was.

A jailbreak changes what an agent tries. It doesn't change what the agent can reach.

Sketch comparing a rule written in an agent prompt, which an injection can argue with, and a platform access check every request passes through

That reframes governance. Instead of asking "how do we make the agent obey?", ask: which boundaries does the platform enforce, whatever the agent is told? Put the things that matter behind those, and treat everything else as shared.

In Kylon there are four.

Hard boundary 1: who can talk to an agent

Every agent has its own access list, separate from workspace membership. Being in the workspace, or even being a workspace admin, doesn't put you on it.

A new agent starts private, visible only to the person who created it. From there:

  • Two roles. Members can use the agent. Admins can also change who's on the list and switch on workspace-wide access.
  • Always a human in charge. An agent needs at least one human Admin. An agent that is itself an Admin doesn't count. Ownership has to be transferred before the owner can be demoted or removed.
  • Workspace admins don't skip the line. They manage the workspace, but they aren't let into private Rooms or agents they weren't added to.
  • Access changes are cards, not commands. An agent can prepare an access-change request, but the person named on the card has to approve it. Asking the agent to share itself, or to make you an Admin, produces a card someone else signs. Creating agents and approving cards are reserved for people.
  • Chains stay inside your access. An agent working for you can only call agents you can use. A chain of agents never reaches further than the person who started it.

Kylon agent access page with workspace-wide access off, three named people on the list and a human Admin required

This is the answer to the president question. There's no sentence you can type to an agent that moves the top permission, because the agent never held it.

Hard boundary 2: who is in a private Room

A private Room is invite only. An agent reads the thread it's working in and searches the Rooms it has joined, nothing else. Public Rooms it hasn't joined are outside its view too.

The detail that matters most for team agents: the check follows the person, not the agent.

Say a workspace-wide agent sits in a private Finance Room. Someone from Member Services, who isn't in that Room, asks the same agent about a dues dispute from a public Room. The agent is working for that person, so the Finance Room's messages are out of reach for that request. It can only read a private Room's messages from elsewhere when it's working for someone who is a member of that Room.

Being in the Room doesn't turn the agent into a side door.

Kylon thread where a shared agent cannot read the private Finance Room for a person who is not a member of it

One more thing people get wrong here: a Room is not an access list. Adding an agent to a Room doesn't let the Room's members use it. When you add one, Kylon asks whether to grant access and add (the selected Room members join the agent's list) or add without access (only the agent joins the Room). Two separate decisions, made on purpose.

Kylon dialog for adding an agent to a private Room, with separate choices to grant access and add, or add without access

Hard boundary 3: whose account a connection is

A connection is an external account or service: a Gmail or Outlook login, a CRM, a remote MCP server, a messaging account, a custom API key.

A connection belongs to the person who connected it. It isn't automatically available to every agent; its access setting decides who can use or manage it. Every call goes through a proxy that checks permission at the moment of the call. And if an agent needs to keep using someone's connection on its own, beyond the current request, it has to ask for persistent access through an approval card, and the owner decides.

So "the agent can see my inbox" is never a side effect of the agent being shared with you, or you sharing a Room with it.

Kylon approval card asking a connection owner to allow an agent ongoing use of her Gmail, checked again on every call

Hard boundary 4: who an App lets in

Structured business data, like the customer's member records and finance stages, belongs in an App rather than in chat.

  • Every App has its own database and its own access grants.
  • An App's server can only use the connections explicitly granted to that App.
  • Every server call re-checks that the viewer is still allowed in. Narrow an App's audience and the wider sessions end.
  • Database Apps can't be made public.

The one rule to design around: anyone admitted to an App can read every record it exposes. So when different departments should see different data, don't build one App with clever filters. Build one App per audience, and share each with that audience only.

Two Kylon Apps, one per audience, since anyone admitted to an App can read every record it exposes

What the agent writes down

One more thing worth planning for when you set up Rooms: memory.

Agents in Kylon keep two layers of memory.

  • The agent's own memory. What it learns and keeps in general. Anyone who can use the agent can reach it.
  • Each private Room's memory. Every private Room the agent works in gets its own separate memory. Only people who are members of that Room and can also use the agent can reach it.

So picture the workspace-wide agent in the Finance Room again. It notices that a member's dues were waived. Kept in the Finance Room's memory, that fact stays with Finance: when someone from Member Services asks the agent about that member, the agent is working for them and can't reach it. That's what happens most of the time. But sometimes something from a Room also makes its way into the agent's own memory, and anything there is available to everyone who can use the agent.

Diagram of two memory layers: the agent own memory reachable by everyone who can use it, and a private Room memory reachable only by Room members who can also use the agent

That layer is also what makes a shared agent useful: it carries general context from one part of the company to another. It just means being deliberate about which agent goes into which Room. That leads to the most useful distinction we've found.

Two kinds of private Rooms

Most private Rooms: inviting a shared agent is fine. Plenty of Rooms are private to keep a project focused, a client's work tidy, or a small team's noise out of everyone's feed. The people who can use the shared agent are colleagues who'd know the gist anyway. The Room's messages and its memory stay limited to people with both Room and agent access, so most of the time nothing leaves. If a detail occasionally slips into the agent's own memory and reaches a teammate, it does no harm. Here the shared agent's context is the point: it connects this work to everything else the company is doing.

Rooms you want hard isolation for: private Room plus private agent. Pay and HR cases. Member or customer personal data. Finance before it's announced. Legal matters. Deals under NDA. Here "most of the time" isn't good enough, so a private Room on its own isn't enough either. Create a private agent whose access list is exactly the Room's members, keep the related records in an App shared with the same people, and keep the workspace-wide agents out. Now even the agent's own memory has the same audience as the Room.

The question we ask before inviting any agent into a private Room:

If something from here ended up in this agent's own memory, where anyone who can use it could reach it, would that be a problem?

If not, invite the shared agent. If yes, give the Room its own.

Diagram contrasting ordinary private Rooms that share one agent, each with its own Room memory, and a payroll Room with its own private agent and matching App audience

What this looks like for the customer

Back to the membership business. Here's how we'd lay it out.

  • One private Room per department, each with a department agent whose access list is that department. Finance's agent is Finance's.
  • Workflow agents live in shared Rooms. The onboarding agent that touches Member Services, Ops and Finance works in a shared onboarding Room, and can sit in departments' everyday private Rooms too, since their messages stay gated by membership.
  • The sensitive step gets handed off. When onboarding reaches the dues and payment step, the onboarding agent hands it to Finance's own agent in the Finance Room. The cross-department agent never needs to hold finance details.
  • One App per audience. Member profiles open to Member Services and Ops. The finance stage board opens to Finance only. No filters to get wrong.
  • People decide who manages agents. Agents are created by people. Each agent has named human Admins. Only Admins change roles.
  • The president's permission sits behind a card. Any access change routes to an approval the named person signs. Workspace admins don't inherit private Rooms or agents.

A five-minute audit for your workspace

  1. List your private Rooms. Mark the few that need hard isolation.
  2. In each of those, open every agent's access list. Is everyone on it also a member of that Room? If a workspace-wide agent is in one, give that Room its own private agent.
  3. Check that every agent has at least one named human Admin you'd trust with that data.
  4. Open your connections and review who each one is shared with.
  5. List the Apps that hold sensitive records and confirm each opens only to its intended audience.

For the full permission model, see how permissions work in Kylon and Kylon's privacy architecture.

Write your rules where the model can't argue with them. Then write down, honestly, the places where it still can.

Your first company harness. Where humans and agents run your business together.

Get started