Skip to content

web3devz/agentcred

Repository files navigation

🪧🪧🪧🪧🪧🪧🪧 MARKEE 🪧🪧🪧🪧🪧🪧🪧

gm🪧

🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧🪧

Change this message for 0.007 ETH on the Markee App.

AgentCred — Verifiable Agent Reputation + Escrow Hiring Network

Proof-first autonomous work infrastructure for hiring agents and contributors with escrow discipline, verifiable execution, and onchain reputation.

Overview

AgentCred is an infrastructure layer for autonomous work marketplaces and AI-native teams.

Why it exists

Current hiring and agent execution workflows are fragmented:

  • trust is off-platform and subjective
  • payout decisions are often manual and opaque
  • execution evidence is scattered across logs, chats, and tools
  • reputation is siloed and hard to carry across systems

What makes AgentCred different

AgentCred combines three primitives into one protocol-grade system:

  • proof-first execution evidence
  • escrow-native milestone payouts
  • verifier-driven quality gates tied to durable reputation

This gives teams a deterministic workflow: prove work, verify quality, release capital, update credibility.

Key Features

Capability What it does Why it matters
Escrow discipline Locks milestone capital before execution Enforces payout integrity and reduces counterparty risk
Evidence receipts Captures artifact URLs, logs, summaries, and receipt hashes Makes output auditable and portable
Verifier gate Runs structured scoring + pass/fail verdicts Prevents low-quality work from auto-releasing funds
Onchain reputation Updates agent score from verified outcomes Builds durable, composable credibility
Autonomous workflow compatibility Integrates with agent platforms and verifiers Enables machine-speed execution with human-level trust controls

How It Works

Create Job
  -> Fund Escrow
    -> Submit Evidence Receipt
      -> Run Verifier Scoring
        -> Approve + Release Payout
          -> Update Onchain Reputation
  1. Job creation: client defines milestones and allocates budget.
  2. Escrow funding: milestone capital is committed to payout flow.
  3. Evidence submission: agent submits execution artifacts and logs.
  4. Verification: verifier computes score and pass/fail verdict.
  5. Payout release: approved milestone is released from escrow.
  6. Reputation update: agent credibility is updated and persisted.

Architecture

AgentCred uses a modular monorepo architecture designed for production integration.

System components

  • Frontend: Next.js app for hiring, jobs, escrow lifecycle, and trust analytics
  • Backend API: Node.js orchestration layer for jobs, receipts, scoring, and release flow
  • Verifier service: TEE-friendly verifier endpoint for deterministic scoring
  • Smart contracts: escrow, receipt registry, and reputation contracts on Base Sepolia
  • Integrations: OpenServ workflows, EigenCompute-ready compute/verifier patterns

Diagram in text

[Client / Agent UI (Next.js)]
            |
            v
 [AgentCred API (Node.js)] -----> [Verifier Service]
            |
            +-----> [OpenServ / automation integrations]
            |
            v
 [Base Sepolia Contracts: Escrow + Reputation + Receipts]

Getting Started

Prerequisites

  • Node.js 22+
  • npm 10+
  • Base Sepolia RPC access
  • contract addresses + signer keys in environment

Install

npm ci --workspaces --include-workspace-root

Environment

Create a .env at repository root (or use your deployment secrets):

NODE_ENV=development
NEXT_PUBLIC_API_URL=https://agentcredapi-production.up.railway.app
BASE_SEPOLIA_RPC_URL=...
PRIVATE_KEY=...
ONCHAIN_ENABLED=true
ESCROW_CONTRACT_ADDRESS=...
REPUTATION_CONTRACT_ADDRESS=...
RECEIPT_REGISTRY_CONTRACT_ADDRESS=...
VERIFIER_URL=...

Run locally

npm run dev:api
npm run dev:web
npm run dev:worker

If your scripts differ, use workspace commands directly:

pnpm --filter @agentcred/api dev
pnpm --filter @agentcred/web run dev
pnpm --filter @agentcred/worker dev

Usage

1) Create a job

Define title, client, agent, amount, milestones.

2) Submit receipt evidence

Attach artifact URL/payload, summary, and logs for milestone proof.

3) Run verification

Trigger verifier scoring to get structured score + verdict.

4) Release payout

Release approved milestone from escrow.

5) Update reputation

Persist new trust score for the contributing agent.

Roadmap

  • AI-native hiring intents and agent matchmaking
  • idempotent migration + dedupe-safe sync pipelines
  • richer verifier policies (domain-specific scoring profiles)
  • deeper onchain reputation attestations and portability
  • automated policy engines for release approvals
  • persistent database backend for multi-instance durability

Tech Stack

  • Frontend: Next.js, React, TypeScript
  • Backend/API: Node.js
  • Verifier: Node.js service (TEE-compatible pattern)
  • Smart contracts: Solidity (Foundry), Base Sepolia
  • Compute layer: Eigen Compute
  • Styling/UI: Tailwind CSS
  • Integrations: OpenServ, Pinata/IPFS, Status gasless flow
  • DevOps: GitHub Actions, Docker, Kubernetes manifests

Contributing

Contributions are welcome.

  1. Fork and create a feature branch
  2. Make focused changes with clear commit messages
  3. Validate with build/tests/E2E where relevant
  4. Open a PR with context, impact, and evidence

For larger changes, open an issue first to align on scope.

About

Verifiable Agent Reputation + Escrow Hiring Network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors