Skip to content

AI Agents

Demo data · AI voice-over

Dependencies · Data Nodes

  • Links to: Competences (via AGENT_USES_COMPETENCE), Policies (via AGENT_BOUND_BY_POLICY), Value creation (via AGENT_SUPPORTS_PROCESS), Roles (via AGENT_FULFILLS_ROLE)
  • Linked from: Demands (via REQUESTS_MEMBER)

The “AI Agent” entity type manages a digital actor as a first-class node in the org graph. For the why, see AI Agents — Overview.

An agent carries a purpose, instructions (persona/system prompt), optional capabilities and a status (“Draft”, “Active” or “Retired”). Its actual context, however, comes not from these fields but from its links in the graph.

The form, the detail view and the card show the status with this display name in the language of the interface; what is stored is the fixed value (draft, active, retired), which is also what the expert view shows. The display names live in the schema under x-enum-labels (see the example below) — existing tenants receive them on the next start, as long as the field does not carry its own yet. If you have set display names yourself, yours stay.

When you create a new agent, its status is already set to Active — a new agent is usually meant to work. You can change it to “Draft” or “Retired” before saving. When you edit an existing agent, nothing is pre-filled: if it had no status, the field stays empty until you choose one yourself. The pre-selection comes from the default in the entity type’s schema (see the example below); existing tenants receive it automatically on the next start. If you don’t want it, remove default from the schema — it will not come back.

Cards with profile picture (in a hexagon), name, purpose and status. Like all entity types, with drafts, visibility and audit history.

Detail view: the “Context & access” tab

Section titled “Detail view: the “Context & access” tab”

In the normal view, an agent’s detail view has a “Context & access” tab next to Overview and Relationships. It holds everything that makes the record an agent: the context bundle (guardrails and context), the last context retrieval, the agent access keys with their connection details, the service accounts acting for it and the context webhooks. The tab can be linked (?tab=agent-context). In the expert view the same sections are stacked without a tab.

An agent can carry a profile picture, just like a person. The factory default includes the profileImage field; existing tenants get it automatically on the next start. The edit form then shows an image upload with a preview — choose image, change or remove, then save or submit as a draft. On upload the picture is downscaled to a small thumbnail.

No picture at hand? Choose from library opens 100 ready-made avatars: robots, animals and fantasy creatures in roleALPHA’s colours, each already in the hexagon, just as it will appear everywhere later. One click puts the picture into the form. Like an uploaded picture, it is only saved with the form or as a draft, and it goes through the same approval.

  • What you take is a copy. If the library changes later, your agent’s picture stays as it is.
  • Several agents may wear the same picture.
  • The library deliberately contains no human faces: an agent should not look like a human. That is why a person’s picture field does not offer it.

rALPH can do this for you, for many agents at once as well: “Give every agent a picture from the library” or “Give the copywriter avatar 17”. rALPH creates one change draft per agent. Without a number, every agent gets a different picture. Like any change, it takes effect only once approved. rALPH cannot set a picture you uploaded yourself; that only works in the form. The same tool (set_agent_avatar) is also available to your own AI application through the MCP connection.

An agent appears as a hexagon, a human as a circle. This is a fixed sign across the whole application: wherever humans and agents stand side by side, the shape tells you which is which without reading the name. If an agent has no picture, its initials sit inside the hexagon — never in a circle.

The hexagon appears wherever the agent is shown as a picture:

  • in the agent list and in the header of the detail view,
  • on the card in the explorer (at the top, above the name) — also for an agent that is only planned as a draft (“to be created”),
  • in the relationship list of other objects (e.g. on a role it fulfills),
  • in the avatar row of the role card in the explorer and in the role circle view, in the avatar cluster of the role it fulfills — each time next to the humans who perform it,
  • in a demand’s candidate list, in the assignments and in the utilisation of resource planning (Resource planning).

Who may see the picture is decided exactly as for the agent itself: own organisation and visibility. The picture is loaded with your login; an access token is never placed in the address.

Agents do not appear in the org chart: there is no relationship between an agent and an organisational unit. An agent belongs to the organisation through its role, not through a membership.

Five dedicated relationship types ground the agent:

  • AGENT_FULFILLS_ROLE (agent → role) — “fulfills role” / “is fulfilled by agent”
  • AGENT_SUPPORTS_PROCESS (agent → value stream) — “supports value stream”
  • AGENT_USES_COMPETENCE (agent → competence) — “uses competence”
  • AGENT_BOUND_BY_POLICY (agent → policy) — “bound by policy” / “binds agent” — the guardrail edge.
  • AGENT_USES_CONTEXT (agent → any item except people and agents) — “uses as context” — attaches a single item the agent should know even though it is not reachable through its roles (a specific OKR, a project, an IT system).

These types only come into existence once the agent module is active in your tenant — and each one additionally requires its counterpart to have a module: AGENT_SUPPORTS_PROCESS needs the value stream module, AGENT_USES_COMPETENCE the competence module. If a side is missing, the type simply is not there and is added by itself at the next activation.

Details: Relationship Types.

  1. Create an agent — in the “AI Agents” view click “New Agent”, enter purpose and instructions.
  2. Anchor it — in the same form — under Responsibility choose the Fulfilled roles and Binding policies, under Assignment the Supported value streams and Used competences. All four fields are optional and take several entries. A field only appears when the data node of its counterpart is switched on — without the competences data node there are no “Used competences”. The same fields later appear in the detail view, where you can change them directly (Understanding Relationships).
  3. Add a competence level (optional) — the level (Basic to Expert) belongs to the link, not to the agent. The form does not set it for you: after saving, click ”+ Attributes” on the competence’s chip and choose the level. Without a level the agent counts as “not comparable” wherever a demand requires a level — an invented level would be a false statement.
  4. View context — the detail page shows, under Agent Context, the bundled result: the reach at the top, then separately the Guardrails (binding policies) and the Context — everything the agent reaches through its links (see “Reach” below).
  5. Retrieve over MCP — external agents and automations pull the same bundle via the MCP tool get_agent_context or GET /api/agents/{uuid}/context.
{
"type": "object",
"properties": {
"purpose": { "type": "string", "title": "Purpose" },
"instructions": { "type": "string", "title": "Instructions (persona)" },
"capabilities": { "type": "string", "title": "Capabilities" },
"status": {
"type": "string", "title": "Status", "enum": ["draft", "active", "retired"], "default": "active",
"x-enum-labels": {
"draft": { "de": "Entwurf", "en": "Draft" },
"active": { "de": "Aktiv", "en": "Active" },
"retired": { "de": "Außer Dienst", "en": "Retired" }
}
},
"defaultModel": { "type": "string", "title": "Preferred model" },
"profileImage": { "type": "string", "title": "Profile picture", "format": "image", "x-presentation": "image", "x-avatar": "agent" },
"contextDepth": { "type": "integer", "title": "Context depth", "minimum": 1, "maximum": 4 },
"contextExcludedModules": {
"type": "array", "title": "Hide from context", "uniqueItems": true,
"items": { "type": "string", "oneOf": [{ "const": "okr", "title": "OKRs" }, { "const": "risk", "title": "Risks" }] }
}
}
}

Schema option details: JSON Schema for Entity Types.

An AI agent is not an infinite employee. When demand planning is active for the tenant, the agent type therefore carries two more fields:

FieldWhat it limits
Weekly hoursThroughput — even with unlimited budget an agent only manages so much per period. Deliberately the same unit as for humans, so it is comparable with the demand.
Budget per periodMoney — every run costs tokens. A different currency, hence not converted into hours but shown alongside.

Both are commitments, not measurements: they say how much work and how much money the agent is entitled to — not what it could technically deliver. Just like a human: their capacity is in the contract, not on a stopwatch.

If either is missing, utilization shows “limit not recorded” — never an infinity sign. The difference between has no limit and we recorded no limit is exactly where planning goes wrong.

roleALPHA does not run agents. It describes them and supplies them with context; they run in your environment. Actual consumption arises there and cannot be measured here. The runner reports it per run and calculates the cost itself; without a report it says “not reported” — not zero. Zero would mean the agent consumed nothing, and roleALPHA does not know that.

More on this: AI agents have limits.

An agent usually hangs on a role, and the role on value streams. The context bundle therefore contains not only what is linked to the agent directly, but everything it reaches through its links — step by step:

agent → role → value stream the role is responsible for → OKR the value stream contributes to, IT system supporting it, risk affecting it …

Context depth. How many steps that is, the organization’s administration sets as the default for all agents (1–4, 3 out of the box) — right in the reach line above the context of any agent. A single agent changes its depth in its own form under Context depth; empty means “organization default”. The reach line always says what currently applies and where it comes from.

Hiding areas. Under Hide from context you deselect areas in the agent’s form that it should not see (e.g. risks or meetings). Two exceptions: policies cannot be hidden — they are the agent’s guardrails —, and individually attached items (AGENT_USES_CONTEXT) and directly linked items always stay in the bundle.

What is never in the context. People — neither who else holds the same role nor who owns a value stream. The context describes the structure the agent works in; personal data does not belong in a bundle that goes to an AI runtime. Nor do other agents.

Which way it goes. The agent sees its area of work (what its role is responsible for, what that contributes to, what it needs) and its placement upwards (the circle above its role, the unit) together with the policies that apply there — but not the siblings next to it, and not who else holds the same role. Policies, risks, predecessors and successors are shown but not followed further. That keeps the bundle a picture of the area of work rather than half the organization.

Limit. A bundle holds at most 150 entries, nearest first. If the agent reaches more, the reach line says “Truncated” — a smaller depth or hiding an area helps then.

Visibility. The agent never sees more than whoever retrieves the bundle: every step is read with that caller’s permissions.

Every item in the bundle is self-describing: kind (the module — role, process, okr, project, ea, risk …), binding (guardrail vs. informational), provenance (relationship type, direct/inherited, depth and the path via — “via role Recruiter → value stream Hiring”), a version for policies and the sourceService. If the link an item was reached through carries attributes — a competence level or a focus, say —, they are under provenance.attributes with title and value (“Focus: Joseph”, “Level: Expert”); the detail page shows them below the item. How attributes come about is described in Relationship Types. Every policy is a guardrail, including one that applies through the role — a consuming agent can never mistake it for mere context. scope states the depth, where the depth comes from, hidden areas and whether the bundle was truncated. The bundle also carries a contextVersion — a cheap change hash (see below). Since 10/2026 bundleVersion is 2.

So a real external agent can pull its context, each agent gets its own, individually revocable API keys under Agent access keys in the “Context & access” tab. The key is shown only once — copy it immediately.

The agent presents it as the header x-agent-key: agt_… (REST and MCP) and pulls only its own context:

  • REST: GET /api/agents/<uuid>/context (returns the canonical, unfiltered agent view)
  • MCP: tool get_agent_context against the agent MCP endpoint

The concrete, copyable REST and MCP URL for this specific agent is shown in the “Context & access” tab under Agent access keys → Connection (the host is deployment-dependent). Typical form:

  • REST: https://<host>/api/agents/<uuid>/context
  • MCP: https://<host>/mcp/agent/mcp

A key is bound to its agent — trying to pull another agent’s context with it is rejected with 403. The same holds for the other tools of the agent MCP endpoint: with the key, get_agent returns only the agent’s own record, and search_agents and list_agents do not enumerate other agents.

The agent MCP endpoint is the only MCP endpoint of a data node that an application may call directly — and only with this key. With a user token it, like every other data node, accepts calls only through roleALPHA since October 2026; connect your own AI applications via Enabling external AI applications instead.

The bundle contains the agent’s purpose and instructions, its roles, value streams, competences and the binding policies. Who receives it is the same decision on every path — REST, the MCP tool get_agent_context, rAlph and an AI application connected via your access:

Who asksWhat is required
The agent itself (with its key)nothing else — it receives only its own context, always in the unfiltered agent view
A person (also via rAlph or a connected application)the permission agent:read, and they must be allowed to see the agent (own organisation, visibility)
“View as agent” (view=agent)additionally admin:tenant

Without agent:read the retrieval is rejected and not logged. Until October 2026 only the REST path required the permission; through the MCP tool a user without it still received the bundle.

  • Pull (default): the agent pulls context before each run — always fresh.
  • Cheap check: GET /api/agents/<uuid>/context/version returns only the contextVersion. If it changes (a new link — also further out, such as a new OKR on its role’s value stream —, a changed attribute on a link, changed purpose, different depth), the agent re-pulls the full bundle.
  • Push (optional): register a URL under Context webhooks. On a change roleALPHA sends a signed notification (X-RA-Signature: sha256=…, HMAC over the body with the once-shown signing secret). The push is triggered only by the agent’s direct links; changes further out (a new OKR on its role’s value stream) are caught by the cheap check above.

In expert mode the agent context section shows a Debug area with the raw JSON (copyable) and the contextVersion. Via “View as agent” an admin sees exactly the unfiltered bundle the agent itself would receive via its key.

Every delivery of the context bundle is written to the agent’s log — whichever way it runs: REST (GET /api/agents/<uuid>/context), the MCP tool get_agent_context, rAlph, or an AI application a person has connected via their access.

Viewing in the app is not a retrieval. Opening an agent’s detail page loads the bundle for the Agent Context section as well — that is logged too, but as its own kind of entry: “Viewed in the app” (action context.view), with the same details as a retrieval. The evidence of what an agent actually retrieved therefore stays free of page views. “View as agent” in expert mode is a view as well. Only a signed-in person can be logged as viewing: whatever an agent (with its key) or a connected application sends, its delivery is always a retrieval.

A retrieval entry (action context.read) records — a view entry records the same fields:

ItemMeaning
WhoprincipalType: agent (the agent itself via its key), user (a signed-in person, also via rAlph) or mcp_client (a connected application — the person behind it remains named as the actor, the application is in mcpClientId)
Which viewview: agent (unfiltered, as the agent receives it) or caller (filtered by the caller’s permissions)
Which statecontextVersion
What was deliveredentityRefs: every item with its identifier, kind, binding and — for policies — the version; plus the number of guardrails and context items

In the history these items appear in readable form: who retrieved it, every guardrail with its name and version, every context item with its type and name, the view and the shortened context version — the table above describes the stored fields, which remain reachable behind “Show raw data” (Change history).

The content of the policies is deliberately not in the entry: it belongs to the policy module, and the version identifies it there unambiguously.

You find the entries in the agent’s Audit History and on the Audit Logs page (stream agent.context). An entry is visible only to someone who may see the agent and every item it names — otherwise an unfiltered retrieval via an agent key would reveal the identifiers of hidden policies.

A retrieval does not change the agent: in the history it is marked “Read access”, and “Last changed” as well as the change counter of the normal view skip it (Change history). A view in the app is marked “Viewed” and shown more quietly; it does not count as a change either.

When an agent last retrieved its context is visible in the normal view too — in the “Context & access” tab, line “Last context retrieval” below the agent context: how long ago it was (the exact time on hover), who retrieved it (“by the agent itself (access key)”, “by a person” or “by a connected application”, for the latter two with the name of the human behind it), how many guardrails and context items were delivered, and below that the guardrails with name and version. “Details” expands the same information as the entry in the history.

Only a retrieval counts — opening the page (a view) never does. If nobody has retrieved it yet, the line reads “No retrieval yet”. It reads from the same log as the history and follows the same rule: an entry you may not see there is not shown here either.

The cheap change check GET /api/agents/<uuid>/context/version is not logged: it returns only the hash, not a bundle.

The rAlph assistant can call get_agent_context itself once the tenant enables the AI Agents module under Settings → AI → Data & knowledge (allowed_services) and the user has agent:read. To see exactly the unfiltered, external-agent view (the same as “View as agent” above) directly in the chat — instead of your own filtered view — use the dedicated /agent-context slash command (admins only).