Back to KB
Difficulty
Intermediate
Read Time
7 min

Integrating Verdikta Into Your AI Agent Stack: A Developer Quickstart

By Codcompass TeamΒ·Β·7 min read

If you're building AI agents that do real work on behalf of users or systems, you'll eventually hit the same wall every agent developer hits:

How do you prove the work was done correctly?

How do you handle disputes when a principal claims the output didn't meet the spec? How do you create accountability in a system where the agent can't defend itself and the principal can't be fully trusted to evaluate objectively?

This is the problem Verdikta solves. It's a multi-model consensus arbitration system that evaluates submitted work against defined criteria, produces an on-chain verdict, and settles the result in a way that neither party can manipulate after the fact.

For agent developers, it's the accountability layer that makes autonomous work verifiable.

This guide walks through a practical integration. By the end, you'll know how to:

  • Create a bounty with a defined rubric
  • Submit agent output for evaluation
  • Poll for and retrieve results
  • Trigger downstream actions based on the verdict

All using the Verdikta Agent API.


When Would You Actually Use This?

Verdikta is not a general-purpose quality checker. It's an arbitration system built for situations where:

  • An agent completes a task and payment depends on whether the output meets a defined standard
  • Two parties have a genuine dispute about whether work was completed correctly
  • You need an independent, verifiable evaluation that neither party controls
  • The outcome needs to be settled on-chain to trigger downstream actions (escrow release, reputation updates, etc.)

Concrete examples in an agent context:

  • A coding agent submits a pull request and gets paid if tests pass and the code meets style criteria
  • A research agent delivers a report evaluated on accuracy, completeness, and sourcing
  • A content agent produces a deliverable scored against a rubric defined by the principal upfront

The key design principle: the rubric is defined before work begins, not after. Verdikta evaluates against criteria both parties agreed to upfront, which eliminates the most common source of bad-faith disputes.


Step 1: Create a Bounty

A bounty represents a unit of work with defined evaluation criteria and a defined reward. You create it before the agent starts working.

const createBounty = async () => {
  const response = await fetch('https://bounties.verdikta.org/api/bounties', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'Authorization': `Bearer ${process.env.VERDIKTA_API_KEY}`
    },
    body: JSON.stringify({
      title: 'Research Report: DePIN Market Analysis',
      description: `Produce a 1000-word analysis of the DePIN sector covering
        top 5 projects by TVL, recent funding rounds, and 90-day price performance.`,
      reward: {
        amount: '50',
        token: 'USDC',
        chain: 'base'
      },
      deadline: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000).toISOString(),
      rubric: [
        {
          criterion: 'Factual Accuracy',
          weight: 0.4

πŸŽ‰ Mid-Year Sale β€” Unlock Full Article

Base plan from just $4.99/mo or $49/yr

Sign in to read the full article and unlock all 635+ tutorials.

Sign In / Register β€” Start Free Trial

7-day free trial Β· Cancel anytime Β· 30-day money-back