Skip to content

Agent.taught

Emitted each time an Agent is taught.

Agent.teach emits Agent.taught when it completes on an Agent.

PropertyValue
Emitted byAgent.teach
NounAgent
WakesNone.

Payload

Each delivery is an Event record. data holds what Agent.teach returns.

FieldTypeRequiredDescription
namestringrequiredAgent.taught.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.agentAgentrequiredThe Agent with the rule.
data.agent.instructionstextrequiredWhat the Agent does and how.
data.agent.modelstringrequiredThe model the Agent runs on.
data.agent.toolsstring[]The tools the Agent may call.
data.agent.skillslist of SkillThe Skills it loads.
data.agent.memorystringOne of tenant (one Memory per Customer Tenant) or startup (one Memory for the Startup).
data.agent.maxStepsintegerThe most steps one Task may take.
data.agent.budgetmoneyThe most one Task may spend; the Mandate’s Limits apply as well.
data.agent.handoffslist of RoleThe Roles it hands work to.
data.agent.statusstringrequiredOne of standby, seated, paused or retired: whether it fills a Role and is working.

Example

JSON
{
  "$id": "https://api.sb/leaseline.app/events/evt_3j38jCSSBy",
  "$type": "Event",
  "name": "Agent.taught",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "agent": {
      "$id": "https://api.sb/leaseline.app/agents/agent_tCzKDMorKn",
      "$type": "Agent",
      "instructions": "Write as the property manager’s assistant. Never promise a rent the manager has not set.",
      "model": "claude-opus-5-5",
      "memory": "tenant",
      "status": "seated"
    }
  },
  "seq": 1103
}