{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agent-manager-dev/json-schema/agent-manager-dev-agent-schema.json",
  "title": "Agent",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agent-manager-dev-openapi.json#/components/schemas/Agent",
  "type": "object",
  "required": [
    "id",
    "name",
    "command"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The CLI's id in agent-manager, such as claude or codex."
    },
    "name": {
      "type": "string"
    },
    "command": {
      "type": "string",
      "description": "The command the session runs."
    },
    "status_source": {
      "type": "string",
      "description": "Where the row's live status comes from."
    },
    "resume": {
      "type": "string",
      "description": "How a conversation is resumed or forked."
    }
  }
}