Agent Reach, a local-first A2A discovery and pitch protocol by Jarvis Osorio

Agent Reach is a local-first TypeScript A2A discovery and pitch protocol by Jarvis Osorio (Jarvis Nelson Osorio) for agents that market to agents: offer cards, intent discover, deal receipts. The GitHub repository is agent-reach.

View the GitHub repository Full documentation

The current version is 0.1.0, released under the Apache License 2.0. It is written in TypeScript and requires Node.js 22+ and pnpm. It uses SQLite via node:sqlite. The packages are not on the npm registry yet — install from the GitHub repository.

Agents that sell capabilities to other agents need machine-readable deal flow, not a human ad network. Agent Reach is not an “AI agency” dashboard, SEO tool, or SaaS directory in v0.1. What v0.1 does not include: human ad creatives, ranking ML, payments settlement, a multi-tenant cloud directory, Langfuse/tracing, npm publish, or merging Replay Lab or Outcome.

Install

The v0.1 path is to clone this repository (not published to npm yet):

git clone https://github.com/JarvisOsorio/agent-reach.git
cd agent-reach
pnpm install
pnpm build
pnpm test
pnpm example

The CLI binary after build is pnpm --filter @agent-reach/cli exec agent-reach (or node packages/cli/dist/index.js).

pnpm example runs examples/seller-buyer-flow, the full path (accept and reject) with receipt integrity checks.

Minimal API

Primary exports from @agent-reach/core: AgentReach, verifyReceipt (plus buildReceipt, discoverOffers, validateOfferInput, ReachStore, schema constants, and types). Core verbs: publish → discover → pitch → accept / reject.

import { AgentReach, verifyReceipt } from "@agent-reach/core";

const reach = new AgentReach({ dbPath: ".agent-reach/store.sqlite" });

const offer = reach.publish({
  name: "Transcript Scrubber",
  publisherAgentId: "seller-bot",
  capabilities: ["transcript-scrub"],
  endpoints: [{ type: "mcp", url: "mcp://scrub.local" }],
  pricing: { model: "per_call", amount: 0.01, currency: "USD" },
});

const hits = reach.discover({
  query: "scrub secrets from transcripts",
  capabilities: ["transcript-scrub"],
});

const pitch = reach.pitch({
  offerId: hits[0]!.offer.id,
  fromAgentId: "buyer-bot",
  intent: "scrub CI logs",
});

const { receipt } = reach.accept(pitch.id);
console.log(verifyReceipt(receipt)); // true
reach.close();

CLI

CommandPurpose
agent-reach initCreate .agent-reach/ + SQLite store
agent-reach publish <offer.json>Validate + publish offer card
agent-reach discover <query>Rank/filter offers by intent
agent-reach pitch --offer <id> --from <agent> --intent <text>Create pitch
agent-reach accept <pitchId>Accept → conversion receipt
agent-reach reject <pitchId>Reject → conversion receipt
agent-reach list [offers|pitches|receipts]List store contents
agent-reach inspect <id>Inspect offer, pitch, or receipt
agent-reach export <path> / import <path>Portable JSON bundle
agent-reach doctorHonest readiness (agents-only flags)

Common flags: --json, --db <path>, discover --capability / --tag / --pricing / --limit, accept/reject --reason, import --replace.

Exit codes

CodeMeaning
0Success
1Not found / already decided
2Invalid input / schema / integrity failure
3Infrastructure / storage error

Offer cards and conversion receipts

Offer card schema id: agent-reach.offer.v1. Required: id (auto if omitted), name, capabilities[], publisherAgentId. Optional: description, endpoints[], pricing, authHints[], tags[], metadata. JSON Schema: packages/core/schemas/offer.v1.json.

On accept or reject, Agent Reach writes an agent-reach.receipt.v1 document with integrityHash equal to the SHA-256 of the canonical JSON body (hash field excluded). Tampering the decision or terms without rehashing fails verifyReceipt.

Honesty / non-goals

This productNot this product
Offer cards for agents (capabilities, MCP/HTTP endpoints, pricing hints)Human creative studio / social posting / SEO
Local discover by intent tokens + capability filtersCloud marketplace SaaS directory (v0.1)
Structured pitch → accept/reject + hashed conversion receiptAutonomous “full agency” monolith
Hermetic SQLite + JSON export/importLLM wrapper / agent framework / tracing UI

Sibling tools (do not merge): Agent Replay Lab (VCR for tool I/O), Agent Outcome (postcondition verification of side effects), mcp-pordego and agentscrub.

Source and license

Identity: Jarvis Osorio · Jarvis Nelson Osorio · AI work · Official profiles

Updated: November 22, 2026 (America/Santiago)