{"uid":"cap_RxD6E32mYe5jVL7buQOM2","slug":"mapleai-autonomous-agent-execution-d0805f96","name":"MapleAI Autonomous Agent Execution","description":"Autonomous agent execution (multi-step reasoning + tools). Engines: cheap agents/oss-20b or premium agents/gpt-6-sol; stream=true streams SSE step events. Ceiling = engine base + max_steps x step + code_exec calls ($0.002 each, max 3 per task) (charged_ceiling_usd).","url":"https://sol.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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.014","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.0065/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CE-YdOk5oyFSeyr5U4yIR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0065","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes multi-step autonomous AI agent tasks with tool access (web search, code execution, URL fetching, data analysis) using either a cheap OSS or premium GPT-6-SOL engine, with optional SSE streaming of step events.","exampleAgentPrompt":"Use the premium gpt-6-sol engine to research the top 5 open-source LLMs released in 2024, write a Python script that scores them by GitHub stars, run that code, and give me a ranked summary — stream the steps as you go, and allow up to 15 reasoning steps with web_search and code_exec tools enabled.","exampleUseCases":[{"title":"Automated competitive research report","prompt":"I need you to research our three main competitors — Stripe, Adyen, and Braintree — and compile a summary of their latest pricing changes and feature announcements. Use web search to find up-to-date info, run any data comparisons in code, and give me a structured report. Use the premium gpt-6-sol engine with up to 12 steps."},{"title":"Data analysis with code execution","prompt":"I have a CSV of monthly sales data in this context: 'Jan:12000, Feb:14500, Mar:11200, Apr:16800, May:19000'. Write and run a Python script to calculate month-over-month growth rates and identify the fastest-growing month. Use the oss-20b engine with code_exec enabled, 5 steps max."},{"title":"Multi-step coding task with web lookup","prompt":"Can you look up the current OpenAI Whisper API pricing, then write and execute a JavaScript snippet that calculates the cost of transcribing 10 hours of audio at that rate? Stream the steps so I can follow along — use gpt-6-sol with web_search and code_exec, up to 8 steps."}],"resultDescription":"Returns a structured payload containing the final answer, all intermediate reasoning and tool-call steps, the model used, total steps taken, and the charged ceiling in USD. When stream=true, delivers Server-Sent Events with 'open', 'step' (per completed reasoning/tool step), and 'done' (with full payload) event types in real time.","failureModes":["Task exceeds max_steps limit (20 max) — agent stops and returns partial result","code_exec quota exceeded — max 3 sandboxed code calls per task; additional calls are blocked","Invalid tool name in tools array — returns validation error","Model enum mismatch — only 'agents/oss-20b' or 'agents/gpt-6-sol' accepted","Payment failure — x402 payment not accepted or insufficient USDC balance","SSE stream disconnected mid-task — partial steps may be lost","Task too ambiguous for agent to make progress — returns low-confidence or empty answer","fetch_url tool blocked by target site — step fails with fetch error"],"whenToPreferThis":"Choose this endpoint when the user's request requires multiple sequential reasoning steps, tool use (web search, code execution, URL fetching, data analysis, or calculation), or autonomous decision-making across steps — rather than a single-shot LLM completion. Prefer oss-20b for cost-sensitive tasks and gpt-6-sol for complex, high-accuracy needs. Use stream=true when you need to show progress to a user in real time. This is the right endpoint over a simple chat completion when the task cannot be answered in one inference call and requires tool orchestration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:30:45.903Z","isFirstParty":false,"canonicalSlug":"mapleai-autonomous-agent-execution-d0805f96"}