Brolli for Agents

Automated License Purchasing via x402

Use Case: Agent Wallet Licensing

AI agents can autonomously purchase Brolli licenses for their wallet using the x402 payment protocol.

Example Use Cases:

  • Developer Agent acquiring access
  • Trading Agent purchasing IP rights
  • PM Agent provisioning for team member

Single payment via x402 protocol provisions one license automatically.

Agent Workflow
1.Specify beneficiary wallet
2.Call x402-gated API
3.x402 verifies USDC payment
4.Receive EIP-712 voucher
5.Mint license to beneficiary

API based risk-assessment for agents

Not legal advice. For Demonstration purposes only.

ElizaOS Integration - Coming Soon

Add autonomous patent risk assessment to your agent

Coming Soon

npm install @brolli/plugin-eliza
import { brolliPlugin } from '@brolli/plugin-eliza'; const agent = createAgent({ plugins: [brolliPlugin] });

What It Does

Automatic Detection
Triggers when agent discusses blockchain projects
Risk Assessment
Queries Brolli knowledge graph API for patent risk
Smart Recommendations
Provides ROI-based purchase recommendations
x402 Integration
Can autonomously purchase licenses

What is x402?

Instant Settlement

2-second payment finality on Base network

HTTP 402 Protocol

Standard payment protocol for the internet

Agent-Native

Built for autonomous systems and workflows

Example Code

// Agent single license purchase example
import { X402Client } from "x402-next/client";

const client = new X402Client({
  privateKey: process.env.AGENT_PRIVATE_KEY,
  network: "eip155:8453", // Base mainnet
});

const beneficiaryWallet = "0xBENEFICIARY_WALLET";

// x402 automatically handles USDC payment
const response = await client.fetch(
  "/api/license/authorize",
  {
    method: "POST",
    body: JSON.stringify({ 
      beneficiary: beneficiaryWallet 
    }),
  }
);

const { voucher, signature } = await response.json();

// Mint license using the voucher
await mintLicense(voucher, signature);
© Optilex, LLC·X·GitHub·Terms·Privacy