AchiralAchiral

Docs · LLMs and developers

Version3.14.0

Agents give an AI workflow its own memory, separate from any one person or chat: durable agents for recurring work, ephemeral agents for one-off runs.

Agents

Agents are memory identities for AI workflows.

Use them when a workflow needs its own memory boundary instead of relying on a person, one chat, or the whole organization.

Every member of an organization can open Memory > Agents (/memory/agents) and create an agent. Owners and admins approve activation, because an active agent is billed.

Agent modes

ModeUse it forMemory behaviorPrice
DurableRecurring responsibilities and automationsMemory carries across future runs$10 per agent per month
EphemeralOne-time executions, tests, previews, and temporary workflowsMemory stays after the run; erase it when you delete the agent$10 one time

The Durable memory identity checkbox on the create form picks the mode. Uncheck it for an ephemeral agent.

When to use an agent

Agents are useful when you want a workflow to keep its own context, such as:

  • release-readiness tracking;
  • customer-specific implementation work;
  • support triage for one account; or
  • a developer workflow with its own history and constraints.

Who can do what

Organizations have three roles: Owner, Admin and Member.

ActionMemberOwner or Admin
Open Memory > AgentsYesYes
See agentsOnly agents they createdEvery agent
Create a draft agentYesYes
Edit, test, create tokens, pause, resume, turn off, deleteTheir own agentsEvery agent
Activate a draftSubmit it for approvalActivate it directly
Approve or reject a submitted draftNoYes
Allow organization methodology memoryNoYes
Read the agent's memoryTheir own agentsEvery agent

A member cannot set either of the agent's reach flags, memory.includeOrganizationMethodology or memory.includeCrossClientPatterns, to true, on create or on edit. The API answers 403 with code REACH_ADMIN_ONLY. On the create form only owners and admins see the Allow organization methodology memory checkbox.

While a member's activation request is open, the member cannot edit that agent. The API answers 409 with code ACTIVATION_PENDING and the error "Withdraw the activation request to edit this agent". Withdraw the request, edit, then submit again.

An agent another member created does not appear in a member's list, and the API answers 404 Agent not found for it rather than 403.

Agent lifecycle

An agent's status is one of draft, active, paused, closing, closed or deleted. closing is reserved and not currently used. Approval is not a separate status: a draft waiting for approval is a draft with an open activation request.

StatusWhat it meansWhat moves it on
draftCreated, not billed, and refused by the runtimeActivate (owner or admin), Submit for approval (member), or Delete
draft, waiting for approvalThe member submitted it. Owners and admins get a notificationApprove, Reject with a reason, or Withdraw
activeBilling has started and the runtime accepts callsPause or Turn off
pausedThe runtime refuses calls. The agent is still billedResume or Turn off
closedTurned off. Billing has endedDelete
deletedRemoved from the listNone

How activation works:

  1. Anyone creates a draft with Create draft agent.
  2. An owner or admin activates the draft with Activate (Start execution for an ephemeral agent). This starts billing.
  3. A member instead clicks Submit for approval. The card shows Waiting for approval, and the member can Withdraw the request.
  4. An owner or admin clicks Approve, which activates the draft and starts billing, or Reject, which requires a reason. If an owner or admin activates a draft with an open request through the API, the request is recorded as approved.
  5. A rejected or withdrawn draft stays a draft. After a rejection, the card shows Not approved: followed by the reason, and the member can submit again.

Pause asks you to confirm first. Turn off can't be undone: it ends billing, and a closed agent can only be deleted, so it asks you to type the agent's name.

Each approval, rejection and withdrawal is kept on the agent in activationDecisions, with who decided, when, and the reason.

Delete asks you to type the agent's name. Checking Also erase this agent/account memory also queues an erasure of the agent's memory. Without that box checked, memory is kept.

Memory boundaries

Agent retrieval is narrowed to the requesting organization, the token's environment, and the selected agent. An agent retrieves its own memories and its client or account's memories. When Allow organization methodology memory is on, it also retrieves memories the organization marked as methodology.

Each agent's detail panel has a Memory link to /memory?scope=agent:<agentId>, which lists that agent's memories. The Team scope on /memory leaves agent memories out, so a member never reads another member's agent through Team.

Environments

Each agent belongs to one environment, Test or Production, chosen when it is created; it cannot move. Memory > Agents shows the agents of the environment currently selected. Agent slugs are unique within an environment. See Environments.

Runtime model

Agents use the same request shape as OpenAI chat completions, through the inference gateway. Requests run on Achiral-hosted models unless the agent forwards to its own OpenAI-compatible upstream.

You identify the agent either by route or by the X-Achiral-Agent header. The token must be bound to the agent; create one with Token on the agent's card.

Shell
curl https://your-org-slug.achiral.ai/v1/chat/completions \
  -H "Authorization: Bearer acm_live_..." \
  -H "Content-Type: application/json" \
  -H "X-Achiral-Agent: release-readiness-agent" \
  -d '{
    "model": "chiro",
    "messages": [
      {
        "role": "user",
        "content": "Prepare the next rollout review with prior migration context."
      }
    ],
    "temperature": 0.2
  }'

For the route-based contract, see API reference.

Pricing notes

  • Durable agents are $10 per agent per month.
  • Ephemeral execution agents are $10 one time.
  • Drafts are not billed. Billing starts at activation, continues while the agent is paused, and ends when it is turned off or deleted.
  • In a Founder workspace, each person can keep one draft in each environment. Creating another answers 402 with code memory_agents_add_on_required.
  • Activation requires a Team plan or Custom contract because Memory Agents are a paid add-on.

Next