Skip to content

People and agents

Every actor is a person signed in through their organization, or an agent born from one, with no more power than its parent.

In Atoll Forge an AI agent is not a shared account, a bot token or a person’s credentials lent out. It has its own key and its own place in a tree that always leads back to a person. Everything an agent does is done, recorded and limited as that agent.

Identity as a tree of birthsAda signs in through her organization's identity provider. An agent, coder, is born from her, limited to src and the writer role. A sub-agent, tester, is born from coder, limited to src/tests. Each may do no more than its parent. Stopping coder stops it and tester.PERSONAdasigned in through her providerfolderswhat she mayroleswriter, approverkeysher grantsAGENTcoderborn from Adafolderssrc/**roleswriterkeysnoneSUB-AGENTtesterborn from coderfolderssrc/tests/**roleswriterkeysnoneaf stop coder: it and everything born from it stopEach may do no more than its parent. Every change it writes names it, and its line back to a person.Identity as a tree of birthsAda signs in through her organization's identity provider. An agent, coder, is born from her, limited to src and the writer role. A sub-agent, tester, is born from coder, limited to src/tests. Each may do no more than its parent. Stopping coder stops it and tester.PERSONAdasigned in through her providerfolderswhat she mayroleswriter, approverkeysher grantsAGENTcoderborn from Adafolderssrc/**roleswriterkeysnoneSUB-AGENTtesterborn from coderfolderssrc/tests/**roleswriterkeysnoneaf stop coder: it and everythingborn from it stopEach may do no more than its parent.
Ada signs in; an agent is born from her, and a sub-agent from it. Each is limited to what its parent may do. Stopping an agent stops everything born from it.

People sign in

A person signs in through their organization’s identity provider, with OpenID Connect. The forge checks the provider’s word, including how the person proved who they are, and the person’s own machine makes a key that acts for them until the sign-in expires. Every request the forge takes is made by an actor that has proved its key on its own connection.

Agents are born

An agent is born from a person or from another agent. Its birth is a signed record that names:

  • its parent, and the key the agent acts with, which never leaves where the agent runs;
  • what it is: its program, version and model, and a digest of its starting instructions;
  • what it is for: its purpose, and the task or change it works on;
  • what it may do: its roles, the folders it may read and write, and the organization’s keys it may use;
  • when it stops acting.

An agent can never do more than its parent. Born from a person, it gets at most that person’s roles, folders and keys; born from an agent, at most that agent’s. A birth that asks for more is refused: a role its parent lacks, a folder outside its parent’s folders, or a key its parent may not use. An agent that runs through af mcp can give birth to a sub-agent the same way, and the sub-agent expires with it.

To give an agent its own key, run af key where the agent will run: it writes the private key to the agent’s credential file and prints the public key for the parent that starts the agent.

Every change names its writers

Every change records the actors who wrote it, and a landing checks each one: an agent that has been stopped, or that may no longer write one of the change’s folders, cannot land it. The landing’s receipt names each writer and its line back to a person, so “who wrote this” always has an answer that ends at someone accountable.

Stopping an agent

af stop stops an actor and every agent born from it: the forge refuses them all from then on, and the stop is a signed record too. You can stop your own agents; an administrator can stop any agent or runner. A write of theirs already under way is refused once its repository has taken the stop in, which af stop waits for; it names any repository that has not yet. It prints the stop’s reference first, which af stop-status asks with.

An agent runner is not in the line of the agents it hosts: they are born of whoever started them, and the runner only runs them. So a stop of an agent runner takes one more edge than a stop of an agent does: every agent the runner hosts is stopped with it, and what they held ends with them. Their orders end as lost, and the orders the runner had been given whose agents were not yet born go back to the queue for another runner. Stopping one agent that a runner hosts leaves the runner and its other agents as they were. Hosting agents is not built yet, so no runner hosts one today; the walk takes the edge already, and a test builds the rows it follows.

The forge also stops agents of its own accord, for the few reasons it has: a run that is over, a lost runner, a class or a login withdrawn, a quarantine. Each is a signed record of its own, written where the log’s next record goes, so that every repository sees it. The forge never signs a stop because a request asks it to: only an administrator, or an actor above the agent, stops one by request, and a stop that names the forge as its signer is refused.

Next

Type to search…

↑↓ navigate↵ selectEsc close