# Vaaya Letta Agent Create

> Vaaya Letta Agent Create is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Creates a new Letta AI agent with a specified name, model, system prompt, and memory blocks via the Vaaya platform.

## Facts

- Endpoint: POST https://vaaya.ai/api/run/letta/agent-create
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vaaya-letta-agent-create-c3966eda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WHWjQTsziMvThLxat2c9L

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vaaya-letta-agent-create-c3966eda -d '<json body>'
```

Example prompt: Create a new Letta agent named 'SalesBot' using the gpt-4o model, with a system prompt that says 'You are a helpful sales assistant', and a memory block labeled 'persona' with value 'Friendly and professional sales representative'.

## When to prefer this

Choose this endpoint when you need to programmatically create a persistent Letta agent with custom memory and instructions without managing your own Letta infrastructure or API keys. It is ideal for multi-agent pipelines where agents need to be dynamically spun up, or when you want to leverage Vaaya's no-setup, pay-per-call model to avoid provisioning Letta accounts yourself.

## Known failure modes

- Missing required fields (name, model, system, memory_blocks) returns a 400 validation error
- Invalid model identifier returns an error from the underlying Letta API
- Payment failure or insufficient USDC balance prevents the call from completing
- Malformed memory_blocks array (missing label or value) triggers schema validation failure
- Network timeout if the Letta backend is slow to provision the agent

## How this service works

Give an AI agent a credit account. Set a limit and a spending policy, and the agent makes approved, metered purchases from providers that accept Vaaya.

## Output

Returns an agent object containing the newly created agent's ID, name, model configuration, system prompt, and memory block assignments as managed by the Letta framework.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "name": {
       "type": "string"
      },
      "model": {
       "type": "string"
      },
      "memory_blocks": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "label": {
          "type": "string",
          "minLength": 1
         },
         "value": {
          "type": "string"
         }
        },
        "required": [
         "label",
         "value"
        ],
        "additionalProperties": false
       }
      },
      "system": {
       "type": "string"
      }
     },
     "additionalProperties": true,
     "$schema": "http://json-schema.org/draft-07/schema#"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vaaya-letta-agent-create-c3966eda/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vaaya.ai](https://www.zero.xyz/host/vaaya.ai/llms.txt)
