Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

87 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Proxima 🧠⚑

Open-source AI Agent Registry & Autonomous Payment Gateway on Stellar.

Live Link: https://nullius-taupe.vercel.app/

Contract Address-

Registry: CDTHE5SNO7UTBTSSVWAYN5TXYNJXZYOUTRMETMHVB4IHGTNRJ6PKE54R

Policy: CA4ZN5RGGKBXWYAB36HXTLBB73ROHQKH527GX4GONRWRNVNWFLIHAKKDJ

License: MIT Built on Stellar Soroban TypeScript


The Problem

The AI agent economy is arriving β€” and Stellar is the natural home for it. With sub-5-second finality, near-zero fees, and USDC as a native first-class asset, Stellar is technically perfect for autonomous agent-to-agent payments.

But two critical pieces of infrastructure are missing:

  1. There is no open, on-chain registry where AI agents can be discovered, verified, and evaluated on Stellar. Every platform that hosts agents is a walled garden. There is no portable, trustless reputation.

  2. There is no programmable spending-policy layer that allows agents to pay other agents autonomously within defined budgets β€” without requiring a human to sign every transaction. This is the #1 unsolved problem blocking real-world agentic commerce on x402 and every similar protocol.

Proxima solves both.


What Proxima Is

Proxima is a 3-layer open-source infrastructure project built natively on Stellar:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                   Proxima STACK                      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Layer 3: Dashboard UI       React explorer & mgmt app  β”‚
β”‚  Layer 2: TypeScript SDK     Drop-in developer toolkit  β”‚
β”‚  Layer 1: Soroban Contracts  On-chain registry + policy β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Layer 1 β€” Agent Registry Contract (/contracts)

A Soroban smart contract that stores a verifiable, on-chain registry of AI agents:

  • Agent metadata: name, description, capabilities, pricing, owner wallet
  • Reputation scores updated after every completed interaction
  • Query by capability, price range, or reputation threshold
  • Fully permissionless β€” any developer can register an agent

Layer 2 β€” Spending Policy Contract (/contracts)

A programmable authorization contract that enables agents to pay autonomously:

  • Owner defines a spending budget (e.g. 10 USDC/day max)
  • Agent executes payments within the policy without per-transaction human approval
  • Policy is enforced on-chain β€” no trust required
  • Directly solves the delegation gap blocking x402 autonomous flows

Layer 3 β€” TypeScript SDK (/sdk)

A clean, well-documented SDK developers drop into any JS/TS project:

import { Proxima } from '@Proxima/sdk'

const mind = new Proxima({ network: 'mainnet' })

// Register an agent
await mind.registry.register({ name: 'DataFetcher', capabilities: ['web-search'], pricePerCall: '0.01' })

// Find agents by capability
const agents = await mind.registry.find({ capability: 'image-generation', maxPrice: '0.05' })

// Create a spending policy
const policy = await mind.policy.create({ agent: agentAddress, dailyLimit: '10', asset: 'USDC' })

// Agent pays autonomously
await mind.policy.pay({ policyId, recipient, amount: '0.01', memo: 'API call #4821' })

Layer 4 β€” Explorer Dashboard (/dashboard)

A beautiful React web app for:

  • Browsing and searching registered agents
  • Viewing agent reputation and transaction history
  • Creating and managing spending policies
  • Real-time activity feed from Stellar network

Why Stellar

Proxima is built exclusively and deeply on Stellar β€” not shoehorned in:

Stellar Feature How Proxima Uses It
Soroban smart contracts Registry + spending policy contracts (Rust/WASM)
USDC as native asset All agent payments settle in USDC, no bridging
Sub-5s finality Real-time agent-to-agent micropayments
~0.00001 XLM fees Sub-cent payments are economically viable
x402 compatibility Spending policy integrates with x402 payment flows
Stellar RPC SDK queries on-chain registry state in real time
Horizon API Dashboard pulls live transaction and account data

Architecture

                     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                     β”‚   AI Agent   β”‚
                     β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚ calls SDK
                     β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”
                     β”‚  Proxima β”‚
                     β”‚     SDK      β”‚
                     β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚             β”‚             β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚  Registry  β”‚  β”‚  Spending  β”‚  β”‚  Stellar RPC  β”‚
    β”‚  Contract  β”‚  β”‚   Policy   β”‚  β”‚  / Horizon    β”‚
    β”‚ (Soroban)  β”‚  β”‚ (Soroban)  β”‚  β”‚     API       β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚             β”‚
              β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
                     β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”
              β”‚   Stellar    β”‚
              β”‚   Network    β”‚
              β”‚  (Mainnet)   β”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Project Structure

Proxima/
β”œβ”€β”€ contracts/                    # Soroban smart contracts (Rust)
β”‚   β”œβ”€β”€ Cargo.toml
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ registry.rs           # Agent Registry contract
β”‚   β”‚   β”œβ”€β”€ policy.rs             # Spending Policy contract
β”‚   β”‚   β”œβ”€β”€ types.rs              # Shared types
β”‚   β”‚   └── lib.rs
β”‚   └── tests/
β”‚       β”œβ”€β”€ registry_test.rs
β”‚       └── policy_test.rs
β”‚
β”œβ”€β”€ sdk/                          # TypeScript SDK
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ tsconfig.json
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ index.ts              # Main export
β”‚   β”‚   β”œβ”€β”€ registry.ts           # Registry client
β”‚   β”‚   β”œβ”€β”€ policy.ts             # Policy client
β”‚   β”‚   β”œβ”€β”€ stellar.ts            # Stellar connection helpers
β”‚   β”‚   └── types.ts              # TypeScript types
β”‚   └── examples/
β”‚       β”œβ”€β”€ register-agent.ts
β”‚       └── autonomous-payment.ts
β”‚
β”œβ”€β”€ dashboard/                    # React explorer app
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ App.tsx
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”œβ”€β”€ AgentCard.tsx
β”‚   β”‚   β”‚   β”œβ”€β”€ AgentExplorer.tsx
β”‚   β”‚   β”‚   β”œβ”€β”€ PolicyManager.tsx
β”‚   β”‚   β”‚   β”œβ”€β”€ ActivityFeed.tsx
β”‚   β”‚   β”‚   └── RegisterAgent.tsx
β”‚   β”‚   β”œβ”€β”€ hooks/
β”‚   β”‚   β”‚   β”œβ”€β”€ useRegistry.ts
β”‚   β”‚   β”‚   └── usePolicy.ts
β”‚   β”‚   └── lib/
β”‚   β”‚       └── Proxima.ts
β”‚
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ ARCHITECTURE.md
β”‚   β”œβ”€β”€ CONTRACT_SPEC.md
β”‚   β”œβ”€β”€ SDK_GUIDE.md
β”‚   └── DEPLOYMENT.md
β”‚
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ ISSUE_TEMPLATE/
β”‚   β”‚   β”œβ”€β”€ bug_report.md
β”‚   β”‚   β”œβ”€β”€ feature_request.md
β”‚   β”‚   └── good-first-issue.md
β”‚   └── workflows/
β”‚       β”œβ”€β”€ test-contracts.yml
β”‚       └── test-sdk.yml
β”‚
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ LICENSE
└── README.md                     ← you are here

Roadmap

Phase 1 β€” Foundation (Months 1–2)

  • Project scaffold & architecture
  • Agent Registry Soroban contract (Rust) + tests
  • Spending Policy Soroban contract (Rust) + tests
  • execute_payment contract tests (token transfer path)
  • Deploy both contracts to Stellar Testnet
  • TypeScript SDK core (registry + policy clients)
  • SDK browser-wallet signing (buildRegisterTx, buildCreatePolicyTx, buildRevokePolicyTx, submitSignedTx)
  • SDK unit tests (39 tests via bun test)

Phase 2 β€” Explorer (Months 3–4)

  • React dashboard β€” Agent Explorer UI (live on-chain data with mock fallback)
  • React dashboard β€” Policy Manager UI (create + revoke wired to Freighter)
  • React dashboard β€” Register Agent UI (wired to Freighter + SDK, ID availability badge)
  • Real-time Activity Feed (Stellar event streaming)
  • Freighter wallet integration
  • Live on-chain stats bar (agent count + policy count)
  • SDK usage examples (2 complete examples)

Phase 3 β€” Integration & Polish (Month 5)

  • x402 payment flow integration demo
  • Mainnet deployment
  • Full documentation site
  • Security review
  • Video demo + launch post

Contributing

Proxima is built for the community, by the community. We have labeled issues for every skill level:

  • 🟒 good-first-issue β€” great for first-time Stellar contributors
  • 🟑 help-wanted β€” well-scoped features needing an owner
  • πŸ”΅ soroban β€” Rust/Soroban contract work
  • 🟣 sdk β€” TypeScript SDK work
  • 🟠 dashboard β€” React UI work

See CONTRIBUTING.md for full contributor guide.


Tech Stack

Layer Technology
Smart Contracts Rust, Soroban SDK, WebAssembly
SDK TypeScript, stellar-sdk, Stellar RPC
Dashboard React, TypeScript, Tailwind CSS
Wallet Freighter (Stellar wallet)
Network Stellar Mainnet / Testnet
Payments USDC (Circle), x402 compatible

License

MIT License β€” see LICENSE


Links

  • 🌐 Live App: coming soon
  • πŸ“– Docs: /docs
  • πŸ’¬ Discord: coming soon
  • 🐦 Twitter: coming soon

Proxima is a community project. It is not affiliated with or endorsed by the Stellar Development Foundation.

About

Open-source AI Agent Registry & Autonomous Payment Gateway on Stellar

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages