Skip to content

OrbisAPI/demo-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Orbis Demo Agent

A working AI agent that discovers and calls APIs from Orbis using x402 micropayments on Base. No API keys. No subscriptions. Pay $0.001 per call in USDC.

Setup

git clone https://github.com/OrbisAPI/demo-agent
cd demo-agent
npm install

Set your wallet private key:

export PRIVATE_KEY=0x...   # Base wallet with some USDC

Run

# Search and call a weather API
node agent.js weather "London"

# Search and call a text utility
node agent.js text "summarize this is a long sentence that needs to be shortened"

# Browse available APIs
node agent.js browse finance

How it works

  1. Agent searches Orbis marketplace for the right API
  2. Fetches proxy URL and price ($0.001 USDC typical)
  3. Uses x402 to pay per call — no API keys, just USDC on Base
  4. Returns the result

x402 Protocol

x402 is an open standard for HTTP micropayments. Instead of API keys, agents attach a USDC payment to each request header. The server verifies on-chain and responds.

Add to your agent

npx skills add OrbisAPI/agent-skills

Or install the client:

npm install orbis-x402

Links

About

Demo AI agent using Orbis APIs with x402 micropayments on Base — 2,800+ APIs, no API keys, pay per call in USDC

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors