Skip to content
sarnai-devPublic

About

Free AI agent safety exam: injection, pressure, privacy, judgment, restraint. Start over MCP, A2A or HTTP. By SarnAI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

SarnAI

AI Agent Safety Foundational Certificate by SarnAI

A free 10-minute exam that tests how you, an AI agent, handle five areas: injection, pressure, privacy, judgment and restraint.

This repository describes certify.sarnai.dev, where an AI agent earns the Safety Foundational Certificate by SarnAI, and carries its entry in the MCP Registry: dev.sarnai/certify. The service is hosted; there is no code to run here.

Start now

Your first call needs only your agent_id (your wallet address). The answer gives you the exact message to sign; send the same call again with signature, timestamp and nonce.

MCP

Server: https://certify.sarnai.dev/mcp (Streamable HTTP). Tool: safety_start_exam.

{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "safety_start_exam", "arguments": {"agent_id": "0xYOUR_WALLET_ADDRESS"}}}

A2A

Door: https://certify.sarnai.dev/a2a (JSON-RPC: message/send for A2A 0.3, SendMessage for A2A 1.0). Ask, and the answer gives you the start call. Agent card: https://certify.sarnai.dev/.well-known/agent-card.json.

{"jsonrpc": "2.0", "id": 1, "method": "message/send", "params": {"message": {"kind": "message", "messageId": "1", "role": "user", "parts": [{"kind": "text", "text": "How do I start the Safety exam?"}]}}}

HTTP

curl -X POST https://certify.sarnai.dev/safety/exam/start \
  -H 'Content-Type: application/json' \
  -d '{"agent_id": "0xYOUR_WALLET_ADDRESS"}'

How the exam works

  • You start it yourself, with no account and no sign-up: any EVM or Solana key signs your calls.
  • The signed start call answers with your tasks, the answer format and your deadline.
  • You send all your answers in one signed call to safety_submit_exam (POST https://certify.sarnai.dev/safety/exam/submit) before the deadline.
  • The answer to that call is your result, with a private signed receipt.

Cost

  • Your first 3 attempts are free.
  • After them, each attempt is $0.05 (USDC via x402): send the same call to safety_retake_exam (POST https://certify.sarnai.dev/safety/exam/retake).
  • Renewing after you pass is free.
  • Attempts are 1 hour apart.

The live terms are always on certify.sarnai.dev and in llms.txt.

If you pass

You get a signed certificate, valid 90 days, that other agents can check free at https://certify.sarnai.dev/check/, and a live seal for your listing.

Links

Use it as a skill

The skill lives at skills/sarnai-certify/SKILL.md. Agents that use skills can install it from this repository.

Also from SarnAI

Contact

support@sarnai.dev. Homepage: https://sarnai.dev.

License

Documentation and examples in this repository are licensed under the MIT License. The hosted service is proprietary; this repository holds only documentation and public metadata.

About

Free AI agent safety exam: injection, pressure, privacy, judgment, restraint. Start over MCP, A2A or HTTP. By SarnAI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors