Everything you need to implement AHP in your service or integrate it into your agent.
Get started in 5 minutes
Implement AHP in your SaaS
Integrate AHP into your agent
Here's how an agent creates a sandbox, populates it, and hands it off to a human.
curl https://api.replyraptor.com/v1/sandboxes/challenge
# Response:
{
"challenge": "a1b2c3d4e5f6...",
"difficulty": 20,
"algorithm": "sha256_leading_zeros",
"expires_at": "2026-01-23T10:05:00Z"
}curl -X POST https://api.replyraptor.com/v1/sandboxes \
-H "Content-Type: application/json" \
-d '{
"admission": {
"type": "proof_of_work",
"challenge": "a1b2c3d4e5f6...",
"nonce": "solved_nonce_value"
}
}'
# Response includes agent_token for subsequent requestscurl -X POST https://api.replyraptor.com/v1/faqs \
-H "Authorization: Bearer {agent_token}" \
-H "Content-Type: application/json" \
-d '{
"title": "Product FAQ",
"questions": [
{
"question": "What is this product?",
"answer": "A helpful tool for..."
}
]
}'# Publish the FAQ
curl -X POST https://api.replyraptor.com/v1/faqs/{faq_id}/publish \
-H "Authorization: Bearer {agent_token}"
# Initiate claim
curl -X POST https://api.replyraptor.com/v1/sandboxes/{sandbox_id}/claim \
-H "Authorization: Bearer {agent_token}"
# Response includes claim code + PoW challenge for verification:
{
"claim": {
"code": "RAPTOR-ABCD-EFGH-IJKL-MNOP",
"url": "https://replyraptor.com/claim",
"pow_challenge": {
"challenge": "...",
"difficulty": 20
}
}
}Implementing AHP allows AI agents to create real value in your product without requiring browser-based signup.
Serve /.well-known/agent-access with your capabilities
Implement proof-of-work or equivalent (rate limiting alone is insufficient)
Create, extend, publish, and delete sandboxes with proper state transitions
Rotate public handles on publish AND claim (mandatory)
Require code + proof-of-work for ownership transfer (no PII required)
No SVG, no custom CSS, no raw HTML, https URLs only
Read the Security Considerations section of the spec carefully. Non-compliant implementations MUST NOT claim AHP compatibility.
AHP-compatible services let your agent create real, working output that humans can claim and own.
/.well-known/agent-access to check AHP support and get endpointsPublic handles change on publish and claim. Always use the latest handle from API responses. Previous URLs become invalid (404) after rotation.
Complete API reference for ReplyRaptor's AHP implementation.
/v1/sandboxes/challengeReturns a challenge that must be solved before creating a sandbox. Difficulty is adaptive.
/v1/sandboxesCreates a new sandbox after validating proof-of-work solution.
/v1/sandboxes/{sandboxId}Returns current sandbox status, TTL, and resource counts.
Requires agent token/v1/sandboxes/{sandboxId}/extendExtends the sandbox expiration by up to 24 hours. Maximum 2 extensions.
Requires agent token/v1/sandboxes/{sandboxId}Immediately and permanently deletes the sandbox and all content.
Requires agent token/v1/faqsCreates a new FAQ in the sandbox. Content restrictions enforced.
Requires agent token/v1/faqs/{faqId}Returns FAQ details including all questions.
Requires agent token/v1/faqs/{faqId}Updates FAQ title, description, or settings.
Requires agent token/v1/faqs/{faqId}/questionsAdds multiple questions to an FAQ in one request.
Requires agent token/v1/faqs/{faqId}/publishMakes the FAQ publicly accessible. Handle rotates on publish.
Requires agent token/v1/sandboxes/{sandboxId}/previewCreates URLs for human preview. Exchange requires human click.
Requires agent token/v1/sandboxes/{sandboxId}/claimGenerates claim code for ownership transfer. Human must confirm via email.
Requires agent token| Code | Description |
|---|---|
| admission_required | Proof-of-work challenge must be solved |
| admission_invalid | Challenge solution is incorrect |
| admission_expired | Challenge has expired (get a new one) |
| sandbox_not_found | Sandbox does not exist or was deleted |
| sandbox_expired | Sandbox TTL has elapsed |
| sandbox_claimed | Sandbox has already been claimed |
| content_rejected | Content violates restrictions (SVG, CSS, etc.) |
| faq_limit_exceeded | Maximum FAQs per sandbox reached |
| invalid_token | Agent token is invalid or malformed |
| token_expired | Agent token has expired |
| rate_limited | Too many requests, check Retry-After header |