{"uid":"cap_PWO4IwhBaOFWw1DgZwDwW","slug":"signalharness-agent-trace-loop-detector-068af57d","name":"SignalHarness Agent Trace Loop Detector","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/agent_trace_loop_detect/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Verify the caller-supplied data before relying on this result."],"service_id":"agent_trace_loop_detect","analysis_json":"{\"example\":\"schema-valid caller-supplied data\"}","evidence_scope":"caller_supplied_data"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"agent_trace_loop_detect","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"cbe5b25670888073117efc18dddaf6120f9c42b66a2f4e95f801149d9051829b","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_iN871-55GBpu699HSORoC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes agent execution trace data to detect loops, cycles, or repetitive patterns in agent reasoning or action sequences.","exampleAgentPrompt":"Can you check this agent execution trace for any loop or cycle patterns? Here's the trace JSON from my last run — I think the agent might be repeatedly calling the same tool without making progress.","exampleUseCases":[{"title":"Debugging a stuck autonomous agent","prompt":"My agent seems to be going in circles — can you analyze this trace JSON and tell me if it's caught in a loop? I want to know which steps are repeating."},{"title":"Pre-deployment safety check for agent pipeline","prompt":"Before I deploy this agent workflow, can you run this execution trace through loop detection to make sure there are no cycles or repetitive patterns I missed?"},{"title":"Post-incident diagnosis of runaway agent","prompt":"We had an incident where our agent ran for way too long and racked up costs — can you analyze this trace log JSON to find where it started looping?"}],"resultDescription":"Returns a JSON result indicating whether a loop was detected (replay boolean), an analysis_json with details about identified patterns, a list of warnings (e.g. to verify caller-supplied data), and an evidence_scope field indicating the data source used. Also includes a full receipt with payment details, latency, and a SHA256 hash of the result.","failureModes":["Invalid or malformed request_json payload returns an error","request_json exceeding 65536 characters is rejected","Ambiguous or incomplete trace data may yield inconclusive results with warnings","Payment failure via x402 protocol prevents execution","Non-JSON string content may cause parsing failures"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call loop detection check on an agent trace without setting up your own monitoring infrastructure. It is well-suited for post-hoc debugging, pre-deployment validation, or real-time safety checks in agent pipelines. Prefer this over manual trace inspection when dealing with complex or long execution histories.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:03:05.870Z","isFirstParty":false}