com.publicdomainrelay.temp.agent.class

An agent class definition. Acts as a template that agents are instantiated from. The class is a named bundle of skills (strongRefs to com.publicdomainrelay.temp.agent.skill records) plus optional metadata. Instantiating an agent from a class means spawning a runtime (or sub-agent context) seeded with this skill set.

Details · record, key tid
Kindrecord
Record keytid
Authorityagent.temp.publicdomainrelay.com
Indexed

Showing version bafyreiakqsxqvjqi6r7hkyih5ztwcqf5yifafdldaece7kl4g7e3kk5n6y. Show the latest

cid bafyreiakqsxqvjqi6r7hkyih5ztwcqf5yifafdldaece7kl4g7e3kk5n6y

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An agent class definition. Acts as a template that agents are instantiated from. The class is a named bundle of skills (strongRefs to com.publicdomainrelay.temp.agent.skill records) plus optional metadata. Instantiating an agent from a class means spawning a runtime (or sub-agent context) seeded with this skill set.",
      "key": "tid",
      "record": {
        "properties": {
          "bootstrap": {
            "description": "How the spawned agent obtains its ATProto identity. 'atproto-password' = log in with $ATPROTO_PASSWORD and $AGENT_DID from spec.env (top-level pattern). 'welcome-mat-on-enroll' = no creds initially; an entry tool calls Welcome Mat to enroll and the WelcomeMatClient lives in the spawned process (sub-agent pattern). 'none' = no ATProto session, pure compute.",
            "type": "string"
          },
          "createdAt": {
            "description": "ISO 8601 timestamp when this class record was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Description of what agents instantiated from this class are for and what they can do.",
            "type": "string"
          },
          "entryTool": {
            "description": "Optional name of the entry tool (a tool defined by one of this class's skills) the universal runner invokes directly when an agent of this class is spawned. Setting this puts the class in deterministic mode: the runner calls `import('./tools/<entryTool>/main.ts').default({input, bridge, config})` and forwards its return value as the agent's result. Classes without `entryTool` run in LLM-driven mode: the runner builds a tool registry from skill examples + tools and drives an LLM loop.",
            "type": "string"
          },
          "name": {
            "description": "Human-readable name of the agent class, e.g. 'compute-requester'.",
            "type": "string"
          },
          "parent": {
            "description": "Optional strongRef to a parent agent.class. Instantiated agents inherit the parent's skills as well as this class's skills.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "skills": {
            "description": "Strong references to com.publicdomainrelay.temp.agent.skill records that compose this class.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "type": "array"
          },
          "spawnsSubAgent": {
            "description": "If true, agents of this class are intended to be spawned as sub-agents from a parent agent's flow rather than as a top-level runtime.",
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "description",
          "skills",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.publicdomainrelay.temp.agent.class",
  "lexicon": 1
}