{"uid":"cap_WHWjQTsziMvThLxat2c9L","slug":"vaaya-letta-agent-create-c3966eda","name":"Vaaya Letta Agent Create","description":"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.","url":"https://vaaya.ai/api/run/letta/agent-create","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"name":{"type":"string"},"model":{"type":"string"},"system":{"type":"string"},"memory_blocks":{"type":"array","items":{"type":"object","required":["label","value"],"properties":{"label":{"type":"string","minLength":1},"value":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VTaI9giU467IO04cvQ8Be","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a new Letta AI agent with a specified name, model, system prompt, and memory blocks via the Vaaya platform.","exampleAgentPrompt":"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'.","exampleUseCases":[{"title":"Spin up a customer support agent","prompt":"Create a Letta agent called 'SupportAgent' using gpt-4o, with system instructions 'You handle customer support tickets for a SaaS product' and a memory block labeled 'context' set to 'Focus on billing and onboarding issues'."},{"title":"Deploy a go-to-market outreach agent","prompt":"Set up a new Letta agent named 'GTMOutreach' with the gpt-4-turbo model, a system prompt that says 'You identify and qualify sales leads', and a memory block labeled 'target_audience' with value 'B2B SaaS companies with 50-500 employees'."},{"title":"Initialize a product demo builder agent","prompt":"Create a Letta agent called 'DemoBuilder' using gpt-4o-mini, with system instructions 'You help build interactive product demos for prospects' and a memory block labeled 'product_info' containing 'Our product is a workflow automation platform'."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:24.400Z","isFirstParty":false}