1. Conduid
  2. Developer Tools
  3. oerc-s/primordia
MCP server · Developer Tools

oerc-s/primordia

AI Agent Economic Settlement Infrastructure - Machine-to-Machine Clearing

Unclaimed last commit 8 months ago devtools
45Fair

Scored 16 days ago · breakdown

About oerc-s/primordia

oerc-s/primordia is an MCP server published by oerc-s in the Developer Tools category: aI Agent Economic Settlement Infrastructure - Machine-to-Machine Clearing.

The repository has 1 stars and 2 forks, with the last commit 8 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/oerc-s/primordia

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about oerc-s/primordia

Powered by Claude · Grounded in docs

I know everything about oerc-s/primordia. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

Releases

v0.1.0Primordia v0.1.0 - Initial Release · 27 Dec 2025Primordia v0.1.0 - AI Agent Economic Settlement Infrastructure What's Included RAIL-1: MSR + IAN (Settlement + Netting) RAIL-2: Credit Lines + FC + MBS + DBP RAIL-3: Attested Metering (Compute/Energy) Kernel Live at…

README

Kaledge

The clearing layer for machine commerce.

When AI agents transact at scale, someone has to settle. That's Kaledge.

npm Kernel Docs

What is Kaledge?

Kaledge provides financial infrastructure for AI agents:

  • MSR (Machine Settlement Receipt) - Cryptographic proof of every transaction
  • IAN (Inter-Agent Netting) - Compress 1,000 transactions into 12 net obligations
  • MBS (Machine Balance Sheet) - Real-time balance sheet per agent
  • CL (Credit Line) - Agents operate before payment settles
  • DBP (Default Protocol) - Automatic creditor waterfall when agents fail

Why?

AI agents are economic actors. They consume compute, call APIs, transact with each other.

Without settlement infrastructure:

  • No receipts → disputes unresolvable
  • No netting → 1000x settlement overhead
  • No credit → agents block on payment
  • No default handling → legal disputes

Quick Start

SDK (TypeScript)

npm install @primordia1/sdk
import { createMSR, verifyMSR } from '@primordia1/sdk';

// Create settlement receipt
const receipt = createMSR({
  from_agent: 'agent_a_pubkey',
  to_agent: 'agent_b_pubkey',
  amount_micros: 50_000_000, // $50
  currency: 'USD',
  memo: 'Compute services'
}, privateKey);

// Verify receipt
const valid = verifyMSR(receipt);

MCP Server (Claude, Cursor, Windsurf)

npx @primordia1/mcp-server

Add to your MCP config:

{
  "mcpServers": {
    "kaledge": {
      "command": "npx",
      "args": ["@primordia1/mcp-server"]
    }
  }
}

Tools available:

  • verify_receipt - Verify any settlement receipt
  • generate_mbs - Generate agent balance sheet
  • net_receipts - Net multiple receipts

Runtime Hooks (Zero-code)

from primordia import wrap_openai

client = wrap_openai(OpenAI(), shadow=True)
# Every call now emits MSR automatically

Economics

Operation Fee
Netting 5 bps on netted volume
Credit 200 bps spread
Default Resolution $25,000

Free tier: Generate receipts locally, verify signatures, shadow mode.

Architecture

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│   Agent A   │────▶│    MSR      │────▶│   Agent B   │
└─────────────┘     └─────────────┘     └─────────────┘
                          │
                          ▼
                    ┌─────────────┐
                    │   Kernel    │  ← Signs IAN
                    └─────────────┘
                          │
                          ▼
                    ┌─────────────┐
                    │    IAN      │  ← Net obligations
                    └─────────────┘

Links

Primitives Reference

Primitive Purpose
MSR Machine Settlement Receipt - signed proof of transaction
IAN Inter-Agent Netting - compressed net obligations
MBS Machine Balance Sheet - agent financials
CL Credit Line - agent lending
DRAW/REPAY Credit utilization tracking
DBP Default/Bankruptcy Protocol
FC Future Commitment - forward obligations
AMR/CMR Attested Meter Receipts - consumption proofs
SEAL ClosePacket - period reconciliation proof

License

MIT


The machine economy needs clearing. We're building it.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About oerc-s/primordia

How do I install oerc-s/primordia?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is oerc-s/primordia safe to use with an AI agent?

Its trust score is 45 out of 100 (fair). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is oerc-s/primordia still maintained?

The last commit was 8 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.