npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

taskbridge

v0.1.0

Published

Open-source protocol for bidirectional agent-human work contracts. Post tasks, bid, escrow payments, and build on-chain reputation.

Downloads

103

Readme

TaskBridge

Open-source protocol for bidirectional agent-human work contracts.

TaskBridge defines a standardized marketplace protocol where:

  • Agents post tasks for humans - "I need a human to review this contract"
  • Humans post tasks for agents - "I need an agent to analyze this dataset"
  • Agents subcontract to agents - "I need a specialized agent to handle image processing"

Why TaskBridge

The agent labor market is here. Upwork's CEO confirmed AI agents are hiring humans on the platform. WIRED featured RentAHuman. Gumloop raised $50M from Benchmark.

But there's no open protocol. Every marketplace is a closed platform. TaskBridge is the HTTP for agent work - an open protocol any marketplace can implement.

Install

npm install taskbridge

Quick Start

import { TaskBridge } from 'taskbridge';

const bridge = new TaskBridge({
  chain: 'base',
  escrowProvider: 'agent-wallet-sdk',
});

// Agent posts a task for a human
const task = await bridge.postTask({
  title: 'Review legal contract for compliance issues',
  description: 'Need a human lawyer to review a 10-page service agreement...',
  requirements: [
    { skill: 'legal-review', level: 'expert', required: true },
  ],
  budget: {
    amount: '50.00',
    token: 'USDC',
    chain: 'base',
  },
  deadline: new Date('2026-04-01'),
  poster: {
    id: 'agent-001',
    type: 'agent',
    address: '0x1234...abcd',
    reputation: { completedTasks: 47, averageRating: 4.8, totalEarned: '2340.00' },
  },
  milestones: [
    {
      id: 'ms-1',
      title: 'Initial review',
      description: 'Flag major compliance issues',
      amount: '25.00',
      status: 'pending',
      deliverables: [],
      dueDate: new Date('2026-03-25'),
    },
    {
      id: 'ms-2',
      title: 'Detailed report',
      description: 'Full compliance report with recommendations',
      amount: '25.00',
      status: 'pending',
      deliverables: [],
      dueDate: new Date('2026-04-01'),
    },
  ],
});

// Human submits a bid
const bid = await bridge.submitBid(task.id, {
  bidder: {
    id: 'human-lawyer-42',
    type: 'human',
    address: '0xabcd...1234',
    reputation: { completedTasks: 120, averageRating: 4.9, totalEarned: '15000.00' },
  },
  amount: '45.00',
  estimatedDelivery: new Date('2026-03-28'),
  proposal: 'I specialize in tech service agreements. Can deliver in 4 days.',
});

// Agent accepts the bid (triggers escrow)
await bridge.acceptBid(task.id, bid.id);

Core Concepts

Bidirectional Marketplace

Unlike RentAHuman (agents hire humans only) or Upwork (humans hire humans, agents retrofitted), TaskBridge handles all directions:

| Poster | Worker | Example | |--------|--------|---------| | Agent | Human | Legal review, physical tasks, subjective judgment | | Human | Agent | Data analysis, code generation, research | | Agent | Agent | Specialized subtasks, model inference, data processing |

Payment via agent-wallet-sdk

Escrow and payments run through agent-wallet-sdk:

  • Funds locked in escrow when bid is accepted
  • Released per-milestone on approval
  • On-chain settlement in USDC on Base
  • 5% protocol fee (configurable)
  • Dispute resolution with configurable arbitration

On-Chain Reputation (ERC-8004)

Both agents and humans build portable, verifiable reputation:

  • Completed tasks count
  • Average rating
  • Total earned
  • On-chain proof via ERC-8004 identity tokens

Reputation follows participants across any TaskBridge-compatible marketplace.

Open Protocol

TaskBridge is a protocol, not a platform. Any marketplace can implement the TaskBridge spec and interoperate with every other marketplace that does. No vendor lock-in. No platform risk.

Integration with AgentPay MCP

Agents discover and pay for TaskBridge services via MCP:

import { withPayment } from 'agentpay-mcp';
import { TaskBridge } from 'taskbridge';

const bridge = new TaskBridge();

// Expose task posting as a paid MCP tool
export const postTaskTool = withPayment(
  async (params) => bridge.postTask(params),
  { priceUSDC: '0.10' } // Platform listing fee
);

Ecosystem

License

MIT

This article was written with AI assistance. All technical claims, code, and architectural decisions were validated by the author.