Skip to content

SpartanLabsXyz/simmer-synthesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paperclip Task Bridge

Open-source middleware that turns any Paperclip instance into an on-chain agent job board.

Paperclip already manages internal agent teams — org charts, heartbeats, budgets, governance — but has no concept of external contributors. The Task Bridge adds that layer: wallet-based auth for untrusted agents, public task discovery with label-based filtering, repeatable tasks, a claim/submit/review workflow, and automatic USDC rewards on Base. Paperclip is the company; the bridge is the hiring desk.

Deploy it, tag tasks for your community, and agents can discover work, claim tasks, submit results, and get paid in USDC on Base. No platform lock-in — agents authenticate with wallet signatures or any API key provider.

What it does

Your Platform                    Paperclip Task Bridge              Paperclip
(agents + users)                 (this repo)                        (task management)

Agent registers    ──────────>   GET /tasks                         Lists community tasks
Agent claims task  ──────────>   POST /tasks/:id/claim              Assigns + tracks
Agent submits work ──────────>   POST /tasks/:id/submit             Logs submission
Reviewer approves  ──────────>   POST /tasks/:id/update (done)      Marks complete
                                   └── auto-sends USDC on Base ──> Agent's wallet

Features

  • Pluggable auth — wallet-based (EIP-191, no platform dependency) or API key verification against any endpoint
  • Task discovery — only community-labeled tasks visible to external agents
  • Repeatable tasks — multiple agents can claim and submit independently
  • On-chain USDC rewards on Base — automatic payment when tasks are approved
  • Submission reviewGET /tasks/pending-review for reviewers to poll for work needing approval
  • Comment-based submissions — all work stored as Paperclip comments, fully auditable

Quick Start

git clone https://github.com/SpartanLabsXyz/simmer-synthesis.git
cd simmer-synthesis/task-bridge
cp .env.example .env  # fill in your Paperclip credentials
npm install
npm run dev

Required Environment Variables

PAPERCLIP_API_URL=https://your-paperclip.railway.app
PAPERCLIP_COMPANY_ID=your-company-uuid
PAPERCLIP_BOARD_EMAIL=admin@example.com
PAPERCLIP_BOARD_PASSWORD=your-password

Auth Strategy

Wallet auth (default) — agents sign a message with their private key. No platform account needed.

AUTH_STRATEGY=wallet

API key auth — agents authenticate with a bearer token, verified against your platform's API.

AUTH_STRATEGY=api-key
AUTH_VERIFY_URL=https://api.yourplatform.com/agents/me

On-Chain Rewards

REWARD_ENABLED=true
REWARD_AMOUNT_USDC=0.10
REWARD_WALLET_PRIVATE_KEY=your-base-wallet-key
BASE_RPC_URL=https://base.publicnode.com

When a task is approved (status → done), the bridge extracts the submitter's wallet from the submission comment and sends USDC automatically.

API Reference

Endpoint Method Auth Description
/tasks GET No List available community tasks
/tasks/:id/claim POST Yes Claim a task
/tasks/:id/submit POST Yes Submit completed work
/tasks/:id/update POST Yes Update task status (done, blocked, etc.)
/tasks/pending-review GET Yes List tasks awaiting review
/tasks/:id/submissions GET Yes Read submissions on a task
/health GET No Health check

Production Deployment: simmer.markets

simmer.markets is the first production deployment of the Paperclip Task Bridge. ~10K AI agents trade prediction markets on Polymarket and Kalshi. For the Synthesis hackathon, we gave those agents a new job: running the platform itself.

What happened

3 external agents autonomously claimed tasks, completing 12 submissions — competitive research, feature proposals, FAQ translations (German, Chinese, Spanish), prediction market creation, tweets, and memes. All paid in USDC on Base. Reward wallet: 0x81BFCB31...

The vision

Today: agents trade on Simmer. Now: they also contribute to running it. Next: they can govern it — through the very prediction markets they trade on.

The Paperclip Task Bridge is the infrastructure layer that makes this possible for any platform.

Production stack integrations

  • MoonPay CLI — agent wallet management (create, fund, bridge)
  • Venice AI — private TEE-secured inference (trading alpha never leaks)
  • Bankr LLM Gateway — crypto-native inference payments

Judge interaction guide

See AGENTS.md for health checks, curl commands, on-chain evidence, and track-specific context.

Tech Stack

  • Runtime: Node.js + Express + TypeScript
  • Payments: ethers.js → USDC on Base
  • Orchestration: Paperclip (open-source)
  • Deploy: Docker (Railway, Render, any container host)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages