agent.halowerk.com
Takes a message history and a character budget and returns a shortened history together with a full account of what it cost. Four stages run in fixed order: pin protects messages that must survive (roles listed in keep_roles, the last keep_last_n messages, and anything you marked pin), dedupe removes later near-duplicates of an earlier message of the same role using word-overlap similarity, trim shortens unprotected survivors to max_message_chars at the last sentence boundary, and drop removes…
Offering
- Provider
- agent.halowerk.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- General Utilities
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://agent.halowerk.com/v1/memory-compact- MIME type
- Not provided
- First seen
- 2026-10-16T01:57:40.935Z
- Last seen
- Tags
- None supplied
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E"
}
]Observed health
- Status
- Healthy
- Latest latency
- 317 ms
- Average latency
- 674 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 8 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"budget_chars": {
"description": "Character budget for the sum of all returned message contents.",
"maximum": 400000,
"minimum": 100,
"type": "integer"
},
"duplicate_threshold": {
"default": 0.9,
"description": "Word-overlap ratio from which a later message of the same role counts as a near-duplicate of an earlier one.",
"maximum": 1,
"minimum": 0.5,
"type": "number"
},
"keep_last_n": {
"default": 5,
"description": "How many of the most recent messages are protected.",
"maximum": 50,
"minimum": 0,
"type": "integer"
},
"keep_roles": {
"default": [
"system"
],
"description": "Roles whose messages are protected.",
"items": {
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"max_message_chars": {
"default": 400,
"description": "Length to which unprotected survivors are trimmed in the trim stage.",
"maximum": 4000,
"minimum": 80,
"type": "integer"
},
"messages": {
"description": "The conversation in order, oldest first.",
"items": {
"additionalProperties": false,
"properties": {
"content": {
"description": "Message text.",
"maxLength": 8000,
"minLength": 1,
"type": "string"
},
"id": {
"description": "Optional caller-side identifier, echoed unchanged.",
"maxLength": 128,
"type": "string"
},
"pin": {
"default": false,
"description": "If true this message is protected: never trimmed, never dropped.",
"type": "boolean"
},
"role": {
"description": "Speaker role.",
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
}
},
"required": [
"role",
"content"
],
"type": "object"
},
"maxItems": 200,
"minItems": 2,
"type": "array"
}
},
"required": [
"messages",
"budget_chars"
],
"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 schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"budget_chars": {
"description": "Character budget for the sum of all returned message contents.",
"maximum": 400000,
"minimum": 100,
"type": "integer"
},
"duplicate_threshold": {
"default": 0.9,
"description": "Word-overlap ratio from which a later message of the same role counts as a near-duplicate of an earlier one.",
"maximum": 1,
"minimum": 0.5,
"type": "number"
},
"keep_last_n": {
"default": 5,
"description": "How many of the most recent messages are protected.",
"maximum": 50,
"minimum": 0,
"type": "integer"
},
"keep_roles": {
"default": [
"system"
],
"description": "Roles whose messages are protected.",
"items": {
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
},
"maxItems": 4,
"type": "array"
},
"max_message_chars": {
"default": 400,
"description": "Length to which unprotected survivors are trimmed in the trim stage.",
"maximum": 4000,
"minimum": 80,
"type": "integer"
},
"messages": {
"description": "The conversation in order, oldest first.",
"items": {
"additionalProperties": false,
"properties": {
"content": {
"description": "Message text.",
"maxLength": 8000,
"minLength": 1,
"type": "string"
},
"id": {
"description": "Optional caller-side identifier, echoed unchanged.",
"maxLength": 128,
"type": "string"
},
"pin": {
"default": false,
"description": "If true this message is protected: never trimmed, never dropped.",
"type": "boolean"
},
"role": {
"description": "Speaker role.",
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
}
},
"required": [
"role",
"content"
],
"type": "object"
},
"maxItems": 200,
"minItems": 2,
"type": "array"
}
},
"required": [
"messages",
"budget_chars"
],
"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"
}
},
"required": [
"input"
],
"type": "object"
}