{"uid":"cap_7YkYLtOfmwNGRJRCCg3Tx","slug":"bounty-engineer-agent-run-forensics-3d3a5fff","name":"Bounty Engineer Agent Run Forensics","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/agent-run-forensics?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"events":{"type":"array","maxItems":500,"minItems":1}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"run_forensics_pack","incident":{"event_count":2,"failure_count":1,"total_cost_usd":2,"first_failure_event_id":"2","invalid_transition_count":1,"duplicate_side_effect_count":1},"limitations":["Forensics are deterministic over caller-supplied events.","The pack identifies structural failure signals; it does not establish legal fault or independently verify remote logs."],"tool_summary":{"buyer":{"events":2,"cost_usd":2,"failures":1}},"incident_sha256":"a04f9a9169e71a35216a0d169ff1959fb6d1b0869f25fce809ff1b939f3e5a64","recovery_priority":[{"action":"stop_duplicate_side_effect_retries","priority":1},{"action":"repair_invalid_task_state","priority":2},{"action":"resume_from_last_known_good_checkpoint","priority":3}],"duplicate_side_effects":[{"fingerprint":"abc","first_event_id":"1","repeated_event_id":"2"}],"invalid_state_transitions":[{"to":"working","from":"completed","reason":"transition_not_allowed","event_id":"2"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"29.9","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":"$29.9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"29.9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"29.9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cNfPhGoY3hp-nt0T8vjKE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"29.9","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a sequence of agent run events to detect failures, invalid state transitions, duplicate side effects, and produces a prioritized recovery plan.","exampleAgentPrompt":"Run forensics on my last agent execution — I have 2 events including one where the task transitioned from 'completed' back to 'working', and I think there's a duplicate side effect. Can you find the failures, flag the bad state transitions, and give me a prioritized recovery plan?","exampleUseCases":[{"title":"Diagnose crashed agent pipeline","prompt":"My autonomous agent run just crashed mid-task. I have an array of 15 run events and I need you to analyze them for failures, figure out which events caused the crash, and tell me in what order I should fix things to recover."},{"title":"Detect duplicate side effect retries","prompt":"I think my agent retried a payment action twice because of a network hiccup. Can you analyze these 5 run events and tell me if there are any duplicate side effects I should stop before they cause a double-charge?"},{"title":"Audit invalid task state transitions","prompt":"Something is off with my agent's task state — it seems like tasks are going back to 'working' after being marked 'completed'. Please run forensics on these 8 events and flag any invalid state transitions with their event IDs."}],"resultDescription":"Returns a JSON object with an incident summary (event count, failure count, total cost, first failure event ID, invalid transition count, duplicate side effect count), a SHA256 incident hash, a prioritized list of recovery actions, details on each duplicate side effect and invalid state transition, tool cost breakdown per buyer, and a list of forensic limitations.","failureModes":["Empty or malformed events array returns a validation error","More than 500 events in the array exceeds the maxItems limit and is rejected","If events are caller-supplied and inconsistent, forensics are deterministic but may not reflect actual remote logs","Payment of 29.9 USDC required per call; insufficient funds result in a 402 response","Endpoint hosted on Render free tier may be slow or cold-starting"],"whenToPreferThis":"Choose this endpoint when you need deterministic, structured forensic analysis of an agent run event log — particularly to identify invalid state machine transitions, detect duplicate side effects before they cause real-world harm (e.g. double payments), and receive a prioritized recovery roadmap. Prefer this over manual log inspection or generic observability tools when the inputs are already structured as agent run events and you need actionable recovery priorities rather than raw logs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:41:49.884Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-agent-run-forensics-3d3a5fff"}