Letta · Schema

AgentSchema

Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen-Source

Properties

Name Type Description
agent_type string
core_memory array
created_at string
description object
embedding_config object
llm_config object
message_buffer_autoclear boolean
in_context_message_indices array
messages array
metadata_ object
multi_agent_group object
name string
system string
tags array
tool_exec_environment_variables array
tool_rules array
tools array
updated_at string
version string
View JSON Schema on GitHub

JSON Schema

letta-letta-serialize-schemas-pydantic-agent-schema-agentschema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/letta__serialize_schemas__pydantic_agent_schema__AgentSchema",
  "title": "AgentSchema",
  "properties": {
    "agent_type": {
      "type": "string",
      "title": "Agent Type"
    },
    "core_memory": {
      "items": {
        "$ref": "#/components/schemas/CoreMemoryBlockSchema"
      },
      "type": "array",
      "title": "Core Memory"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "embedding_config": {
      "$ref": "#/components/schemas/EmbeddingConfig"
    },
    "llm_config": {
      "$ref": "#/components/schemas/LLMConfig"
    },
    "message_buffer_autoclear": {
      "type": "boolean",
      "title": "Message Buffer Autoclear"
    },
    "in_context_message_indices": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "In Context Message Indices"
    },
    "messages": {
      "items": {
        "$ref": "#/components/schemas/letta__serialize_schemas__pydantic_agent_schema__MessageSchema"
      },
      "type": "array",
      "title": "Messages"
    },
    "metadata_": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata"
    },
    "multi_agent_group": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Multi Agent Group"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "system": {
      "type": "string",
      "title": "System"
    },
    "tags": {
      "items": {
        "$ref": "#/components/schemas/TagSchema"
      },
      "type": "array",
      "title": "Tags"
    },
    "tool_exec_environment_variables": {
      "items": {
        "$ref": "#/components/schemas/ToolEnvVarSchema"
      },
      "type": "array",
      "title": "Tool Exec Environment Variables"
    },
    "tool_rules": {
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/BaseToolRuleSchema"
          },
          {
            "$ref": "#/components/schemas/ChildToolRuleSchema"
          },
          {
            "$ref": "#/components/schemas/MaxCountPerStepToolRuleSchema"
          },
          {
            "$ref": "#/components/schemas/ConditionalToolRuleSchema"
          }
        ]
      },
      "type": "array",
      "title": "Tool Rules"
    },
    "tools": {
      "items": {
        "$ref": "#/components/schemas/letta__serialize_schemas__pydantic_agent_schema__ToolSchema"
      },
      "type": "array",
      "title": "Tools"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    },
    "version": {
      "type": "string",
      "title": "Version"
    }
  },
  "type": "object",
  "required": [
    "agent_type",
    "core_memory",
    "created_at",
    "description",
    "embedding_config",
    "llm_config",
    "message_buffer_autoclear",
    "in_context_message_indices",
    "messages",
    "multi_agent_group",
    "name",
    "system",
    "tags",
    "tool_exec_environment_variables",
    "tool_rules",
    "tools",
    "updated_at",
    "version"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/letta-letta-serialize-schemas-pydantic-agent-schema-agentschema"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.