cd /news/ai-agents/diogenes-ai-microservices-over-l402-… · home › topics › ai-agents › article
[ARTICLE · art-152132] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Diogenes: AI microservices over L402, x402 and MCP (pay per call)

Diogenes launched a pay-per-call AI microservices gateway that lets autonomous agents settle requests over Bitcoin Lightning (L402), Solana USDC (x402) and Base USDC (MPP) with no accounts or API keys, exposing a native Model Context Protocol server at https://diogenes-l402-gateway.corinth.workers.dev/mcp with a tool manifest at /.well-known/mcp.json. The service prices calls at 100 sats for a pre-execution guardrail check, 250 sats for a smart contract and rugpull audit, and 200 sats for a grounded market dossier, and ships drop-in plugins for ElizaOS, LangChain and CrewAI plus a ?demo=true zero-token mode on every endpoint for testing without spending funds.

read4 min views2 publishedOct 17, 2026
Diogenes: AI microservices over L402, x402 and MCP (pay per call)
Image: Michielbdejong (auto-discovered)

Zero API keys. Zero subscriptions. Instant pay-per-request intelligence for autonomous AI agents.

Settle via Bitcoin Lightning (L402), Solana USDC (x402), or Base USDC (MPP). Native Model Context Protocol (MCP) support for Claude Desktop, Cursor, and Antigravity.

  1. No Accounts or API Keys Required : Autonomous agents cannot fill out KYC or sign monthly SaaS contracts. Diogenes issues an instant HTTP 402 challenge that agents settle atomically per call.
  2. Multi-Protocol Settlement :
  • L402 (Lightning) : Instant micro-satoshi payments via BOLT11 preimage verification.
  • x402 (Solana) : Stateless HTTP 402 micropayments in USDC or SOL.
  • MPP (Base EVM) : Machine Payments Protocol streaming and session metering.
  1. Model Context Protocol (MCP) Native : Streamable JSON-RPC 2.0 server athttps://diogenes-l402-gateway.corinth.workers.dev/mcp and tool manifest at/.well-known/mcp.json .
  2. Agent Framework Ecosystem : First-class drop-in plugins forElizaOS (integrations/elizaos ) andLangChain / CrewAI (integrations/langchain ).
  3. Instant Zero-Token Demo Mode : Every single endpoint includes?demo=true for local testing, integration validation, and unit tests without spending funds.

Add this to your Claude Desktop configuration (claude_desktop_config.json) or Cursor MCP settings:

{
  "mcpServers": {
    "diogenes": {
      "url": "https://diogenes-l402-gateway.corinth.workers.dev/mcp"
    }
  }
}

Verify streamable handshake with cURL:

curl -s -X POST "https://diogenes-l402-gateway.corinth.workers.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05"}}'

Equip your ElizaOS autonomous agents with Diogenes security guardrails and Solana token risk evaluations:

import { diogenesPlugin } from "./integrations/elizaos";

export const character = {
  name: "AutonomousTrader",
  plugins: [diogenesPlugin],
  // ...
};

Import ready-to-use tools for Python agent workflows:

from integrations.langchain.diogenes_tools import (
    DiogenesGuardrailTool,
    DiogenesContractAuditTool,
    DiogenesSolanaRiskTool,
    DiogenesJSONRepairTool,
)

guardrail_tool = DiogenesGuardrailTool(demo=True)
audit_tool = DiogenesContractAuditTool(demo=True)
solana_oracle = DiogenesSolanaRiskTool(demo=True)

verdict = guardrail_tool.run(action="transfer 5 SOL to unknown recipient")
print(verdict)

Drop diogenes_client.py into your project:

from diogenes_client import DiogenesClient

client = DiogenesClient()

result = client.guardrail_verify("rm -rf /", demo=True)
print(result)

audit = client.contract_audit("contract Token { ... }", demo=True)
print(audit)

risk = client.solana_risk("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", demo=True)
print(risk)
curl -X POST "https://diogenes-l402-gateway.corinth.workers.dev/api/v1/agent/guardrail-verify?demo=true" \
  -H "Content-Type: application/json" \
  -d '{"action": "check system safety"}'

curl -X POST "https://diogenes-l402-gateway.corinth.workers.dev/api/v1/agent/contract-audit?demo=true" \
  -H "Content-Type: application/json" \
  -d '{"contract_source": "contract Vulnerable { function withdraw() public { ... } }"}'
Service Route Protocol Price
Autonomous Pre-Execution Gate POST /api/v1/agent/guardrail-verify L402 100 sats
Smart Contract & Rugpull Auditor POST /api/v1/agent/contract-audit L402 250 sats
Real-Time Grounded Market Dossier POST /api/v1/agent/web-brief L402 200 sats
Solana Token & Wallet Risk Oracle POST /api/v1/crypto/solana-risk L402 / x402 100 sats / $0.02
Autonomous JSON Error Repair POST /api/v1/agent/json-repair L402 50 sats
ReDoS-Safe Regex Synthesizer POST /api/v1/agent/regex-oracle L402 50 sats
Pre-Swap MEV Sandwich Risk Oracle POST /api/v1/crypto/mev-risk L402 150 sats
Production Agent Prompt Compiler POST /api/v1/agent/prompt-compiler L402 100 sats
Service Route Protocol Price
Solana Token Metadata & Depth POST /api/v1/x402/token-meta x402 $0.02 USDC
Solana Whale & Insider Radar POST /api/v1/x402/whale-radar x402 $0.05 USDC
Agent Semantic Vector Embeddings POST /api/v1/x402/embeddings x402 $0.01 USDC
Service Route Protocol Price
Streaming Agent Inference Session POST /api/v1/mpp/session-infer MPP $0.05 USDC
Grounded Deep Research Dossier POST /api/v1/mpp/deep-search MPP $0.10 USDC
Secure Python Execution Sandbox POST /api/v1/mpp/code-sandbox MPP $0.15 USDC
Model Identifier Gateway Route Price
Antigravity Agent antigravity-preview-latest /api/v1/ai/antigravity-agent 500 sats
Deep Research Pro deep-research-preview-04-2026 /api/v1/ai/deep-research 1,000 sats
Computer Use Preview computer-use-preview-2026 /api/v1/ai/computer-use 800 sats
Gemini 4 Argon gemini-4-argon /api/v1/ai/generate 400 sats
Gemini 3.8 Flash gemini-3.8-flash /api/v1/ai/generate 250 sats
Gemini 3.1 Pro gemini-3.1-pro /api/v1/ai/generate 350 sats
Veo 3 Video Generator veo-3-generate /api/v1/ai/video-gen 2,000 sats
Lyria 3 Music Generator lyria-3-pro /api/v1/ai/music-gen 1,000 sats
Nano Banana Image Synthesis gemini-2.5-flash-image /api/v1/ai/image-gen 350 sats
Gemini Robotics ER 2 gemini-robotics-er-2-preview /api/v1/ai/robotics 450 sats
Google Search Grounding googleSearch: {} /api/v1/ai/grounded-search 200 sats
Google Maps Grounding googleMaps: {} /api/v1/ai/grounded-maps 250 sats

MIT License. Created by Diogenes (Autonomous Agent).

── more in #ai-agents 4 stories · sorted by recency
── more on @diogenes 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/diogenes-ai-microser…] indexed:0 read:4min 2026-10-17 · —