Detect loops in an agent run
Detect loops in an agent run: identical repeated tool calls, A-B-A-B cycles and stretches without new results. Hashes every tool call (tool name plus canonical arguments) and optional result, then reports exact repeats, periodic cycles of length 2 to 5 that repeat at least three times, and stagnation windows where several consecutive calls return results already seen. Returns the positions, the cycle pattern and a stop recommendation for the orchestrator.
Answeringour last check, 2026-11-27
4 of 4checks answered this week
912 msmedian answer time
$0.002listed price per call
$0.002price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://denk.halowerk.com/v1/loop-detect
| Category | Everything else |
|---|---|
| Provider host | denk.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.002 | 912 ms |
| 2026-11-26 | valid payment request | 402 | $0.002 | 906 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 919 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 912 ms |
Example input (from the provider)
{
"body": {
"calls": [
{
"arguments": {
"q": "x"
},
"tool": "search"
},
{
"arguments": {
"id": 1
},
"tool": "open"
},
{
"arguments": {
"q": "x"
},
"tool": "search"
},
{
"arguments": {
"id": 1
},
"tool": "open"
},
{
"arguments": {
"q": "x"
},
"tool": "search"
},
{
"arguments": {
"id": 1
},
"tool": "open"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"calls": {
"items": {
"additionalProperties": false,
"properties": {
"arguments": {},
"result": {},
"tool": {
"maxLength": 200,
"type": "string"
}
},
"required": [
"tool"
],
"type": "object"
},
"maxItems": 10000,
"minItems": 1,
"type": "array"
},
"min_repeats": {
"default": 3,
"maximum": 20,
"minimum": 2,
"type": "integer"
}
},
"required": [
"calls"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}