Inspiration
AI agents often need specialized help to finish a task. Credence lets them procure registered services within an owner's internal allowance while keeping external payment under human control.
What it does
An owner pins a public GitHub revision and starts a repository adoption review. A DeepSeek-powered coordinator selects capabilities for inventory, architecture analysis, and independent risk review. Deterministic application code checks versioned quotes and limits, reserves Credit atomically, and charges only for deliveries that pass schema and evidence checks. The final report cites accepted deliveries.
The owner freezes the three charges into one USD 7.50 bill. A human buyer approves it in PayPal Sandbox. The server uses OAuth 2.0 and Orders API v2 to create and capture the order, then independently verifies the capture, amount, and merchant before finalizing settlement.
How we built it
TypeScript and Node.js run the application and local providers. SQLite transactions keep reservations and the append-only ledger consistent. The Vite console runs on Render with a persistent disk. DeepSeek assists with planning, analysis, and synthesis. Payment credentials and capture stay server-side.
Challenges and what we learned
A lost payment response can leave the result uncertain. Durable attempts, stable operation identities, and reconciliation lock affected charges until the provider outcome is verified. Delivery acceptance is a separate boundary. In one live run, an architecture delivery failed evidence validation and passed after a bounded correction, with one service charge.
What we verified
Five consecutive browser-based runs on one pinned repository each accepted three services and completed a separate human-approved Sandbox settlement. Fresh authenticated PayPal reads confirmed the captures. Credit is an internal accounting allowance, and the prototype settles through one Sandbox merchant. Evidence checks validate delivery structure and anchors. Broader task-quality and accessibility testing remain future work.
Reviewer access
Use the isolated reviewer entry or the public Apache-2.0 source and local setup instructions. The hosted reviewer entry has a finite shared model-call budget.