{"uid":"cap_2p5P5QNF7_W11FhAJMB0i","slug":"mapleai-autonomous-agent-execution-41bb0883","name":"MapleAI Autonomous Agent Execution","description":"4 GPT models, 7 image models, and Jev structured decisions. Pay per request in USDC on Base with x402.","url":"https://base.mapleai.shop/v1/agents/execute?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"task":{"type":"string","description":"Natural language task for the agent"},"model":{"enum":["agents/oss-20b","agents/gpt-6-sol"],"type":"string","description":"Execution engine: cheap oss-20b or premium gpt-6-sol"},"tools":{"type":"array","items":{"enum":["calculator","fetch_url","web_search","data_analysis","code_exec"],"type":"string"},"description":"Allowed tools, defaults to the enabled set; code_exec runs sandboxed python/javascript/typescript, $0.002 per call, max 3 per task"},"stream":{"type":"boolean","default":false,"description":"When true, send SSE events: open, step per completed step, done with the full payload"},"context":{"type":"string","description":"Additional data or constraints"},"max_steps":{"type":"integer","default":8,"maximum":20,"minimum":1,"description":"Charged ceiling of reasoning/tool steps"}}},"responseSchema":{"type":"json","example":{"model":"agents/oss-20b","steps":[{"n":1,"action":"tool","thought":"Need the population","tool_call":{"args":{"url":"https://example.com/france"},"name":"fetch_url"},"tool_result":"68 million"}],"usage":{"charge":{"base_usd":0.002,"step_usd":0.0005,"charged_ceiling_usd":0.005,"steps_charged_ceiling":6},"cost_usd":0,"input_tokens":4100,"output_tokens":260,"tools_invoked":1,"steps_executed":2},"object":"agent.execution","output":{"result":"About 9.7 million","sources":[{"url":"https://example.com/france"}]},"status":"completed","steps_executed":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0145","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.0145/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0145","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0145","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Z3Yyq-858L8D68_Ro3LKu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0145","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a multi-step autonomous agent that reasons and uses tools (calculator, URL fetch) to complete a natural language task, billed per call plus per reasoning step","exampleAgentPrompt":"Use the agents/oss-20b model to autonomously figure out the current USD to EUR exchange rate and calculate how much €500 converts to in USD — let it fetch URLs and use the calculator, with up to 10 reasoning steps.","exampleUseCases":[{"title":"Automated competitive research task","prompt":"Run an agent that fetches the homepages of three competitor websites I give you, summarizes what each one sells, and computes which has the most product categories — use fetch_url and calculator tools, up to 15 steps, with the agents/oss-20b model."},{"title":"Multi-step math with live data","prompt":"Have an autonomous agent look up the current price of Bitcoin, then calculate what a $1,000 investment made 30 days ago would be worth today assuming linear growth — use both the calculator and fetch_url tools, cap it at 8 steps."},{"title":"Research question with reasoning chain","prompt":"I need an agent to figure out the population of Tokyo, the population of New York, compute the ratio between them, and tell me which city is larger by what percentage — use the agents/oss-20b engine with fetch_url and calculator allowed, up to 12 steps."}],"resultDescription":"Returns the final answer or output produced by the agent after completing its reasoning and tool-use steps, along with metadata about how many steps were taken and what tools were invoked during execution.","failureModes":["max_steps exceeded — agent hits the step ceiling without completing the task","tool failure — fetch_url returns an unreachable URL or the calculator receives malformed input","model unavailable — agents/oss-20b engine is temporarily offline or overloaded","task too ambiguous — agent cannot determine a concrete action plan from the natural language task","payment failure — x402 USDC payment is rejected or insufficient","timeout — long-running tasks exceed server time limits"],"whenToPreferThis":"Choose this endpoint when a task requires multiple sequential reasoning steps, tool calls (web fetching or calculation), and autonomous decision-making rather than a single-shot LLM completion. It is ideal when you cannot predict ahead of time exactly how many steps or which tools will be needed. Prefer a simple chat completion endpoint for tasks that require only one model call with no tool use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:29:43.039Z","isFirstParty":false,"canonicalSlug":"mapleai-autonomous-agent-execution-41bb0883"}