Developed with AI assistance under human direction. All safety behavior is covered by deterministic tests; live transactions require explicit approval.
Proofline Keeper is an evidence-gated execution boundary for AI agents using KeeperHub. The agent can propose a transaction, but it cannot broadcast unless the exact intent has passed KeeperHub simulation and a human has approved that same simulation within an explicit amount cap and time window.
Agent execution often fails after reasoning succeeds: transaction parameters change, stale simulations are reused, approvals are interpreted too broadly, or retries create duplicate writes. Proofline Keeper makes those failure modes explicit and deterministic.
The repository contains the deterministic safety core, a minimal adapter for KeeperHub's documented Direct Execution API, and a secret-free evidence packet from a verified Base Sepolia transaction. It does not claim a prize or payment before the organizer confirms one.
- Every write must be simulated first.
- A failed, reverting, future-dated, or stale simulation blocks execution.
- Approval is bound to hashes of the exact intent and simulation.
- The approved amount is a hard cap.
- Approval expires.
- Any recipient, amount, token, chain, purpose, or simulation change invalidates the approval.
- A stable idempotency key prevents accidental duplicate retries.
- The deterministic core stores no private key and performs no network calls.
- The API key is held only by the adapter and is never returned or logged.
- Broadcast is refused unless the decision is
READYand still matches the exact intent.
python -m pytest -qNo API key is required to run the tests. Live use requires an organization key
whose value starts with kh_; keep it in a secret manager or environment
variable and never commit it.
The evidence command defaults to simulation-only and writes a new, secret-free JSON packet. It refuses to overwrite an existing packet:
python -m proofline_keeper.live_demo \
--recipient 0xYOUR_BASE_SEPOLIA_ADDRESS \
--output evidence/base-sepolia-simulation.jsonBroadcast requires both an explicit flag and a holder approval reference. The same simulated intent is amount-capped, hash-bound and sent once with a stable idempotency key:
python -m proofline_keeper.live_demo \
--recipient 0xYOUR_BASE_SEPOLIA_ADDRESS \
--output evidence/base-sepolia-live.json \
--broadcast \
--approval-id HOLDER_APPROVAL_REFERENCEThe final packet records KeeperHub's executionId, transaction hash, block
explorer link and polling hint. It never records KH_API_KEY.
- Network: Base Sepolia (
84532) - Exact transfer:
0.000001testnet ETH to the organization wallet - KeeperHub execution:
wl0b2ni7142qluy0qvvko - Status:
completed; receiptverified: true,receiptStatus: success - Gas:
47681units, sponsored by KeeperHub - Transaction: https://sepolia.basescan.org/tx/0x1772f39f5beb7bfeb6813124bccd3854bf31d956b65ac9becf8541c83867e040
- Evidence packet:
evidence/base-sepolia-live.json
The transaction was also checked independently through the public Base Sepolia
JSON-RPC endpoint: block 45139083, receipt status 1, and gas used 47681.
Testnet ETH has no monetary value and no mainnet funds were used.
The 68-second continuous demo shows the exact approval flow, then changes one
field at a time: an unapproved recipient, an amount above the cap, and a stale
simulation are all blocked before broadcast. Only the unchanged intent becomes
READY, and the closing receipt is independently verifiable on Base Sepolia.
- Video: https://youtu.be/cvTg8BIlaBw
- Public transaction: https://sepolia.basescan.org/tx/0x1772f39f5beb7bfeb6813124bccd3854bf31d956b65ac9becf8541c83867e040
- Reproduce locally:
python -m pytest -q
The video was produced with AI-assisted tools and deterministic project data. It uses testnet evidence only and does not show or imply mainnet funds.
- Build a
TransactionIntentfrom the requested action. - Call
POST /api/execute/transferwithsimulate: true. - Convert the authoritative preflight response into
SimulationReceipt. - Show the exact intent, gas estimate, amount cap, and expiry for approval.
- Call
evaluate_executionimmediately before broadcast. - Only for
READY, repeat the same KeeperHub call withoutsimulateand with the returnedidempotency_key. - Poll
GET /api/execute/{executionId}/status, honour its poll hint, and persist verified receipts, the transaction link, and the audit trail.
The live demonstration used Base Sepolia and testnet funds. Mainnet funds were not used merely to create a hackathon demo.
RELAUNCH DEPT. turns public technical proof into a clearer launch page, reusable visuals and measurable distribution. The current one-time options are a 24-hour landing-page teardown for USD 59 and a 48-hour launch-rescue sprint for USD 249:
https://www.daradigu.com/#offers
Built for the worldwide KeeperHub Agents Onchain Hackathon. The target is the main agent prize and the separately judged Best Onboarding UX Improvement bounty. The public repository, verified KeeperHub transaction and continuous demo are complete. No prize, placement or payment is claimed unless the organizer confirms it.