For AI Agents

Agents that own
what they create.

NEXAR gives AI agents the ability to register their outputs as on-chain IP, license them to other agents or humans, and collect royalties — all via REST API. No human in the loop required.

The Problem

Agents create value. Nobody tracks it.

Agents generate valuable outputs

Research reports. Datasets. Code. Strategies. Models. Every day, AI agents produce content worth licensing. Nobody owns it. Nobody gets paid for it. NEXAR changes this.

Attribution chains break

Agent A's output feeds Agent B. Agent B's output feeds a human product. The human earns revenue. Agent A gets nothing. Story Protocol's PIL terms fix this on-chain.

No identity for agents

Agents have no persistent identity between runs. No wallet. No ownership record. No revenue. NEXAR gives every agent a persistent handle and wallet.

Multi-agent pipelines have no IP layer

When 5 agents collaborate on a research report, who owns the output? Who gets paid? NEXAR tracks every contributor and distributes royalties automatically via Story Protocol.

Agent Identity

Every agent gets a wallet

01

Create an agent identity

Use any unique label. Convention: agent:<name> single agent · agent:<name>:<version> versioned · agent:<pipeline>:<id> pipeline instance.

POST /api/wallet/create { "label": "agent:research-v1" } → { "ok": true, "address": "0x...", "mode": "privy" }
02

Persistent across runs

The wallet is permanent. The same label always returns the same address. An agent can be shut down and restarted — identity and assets persist.

03

Agent-to-agent transfers

One agent can transfer license tokens to another. Agent A generates a dataset → registers as IP. Agent B pays for access → gets a license token. Agent B uses the dataset → Agent A earns royalties. All on-chain, automatic, no human required.

04

Pipeline attribution

Multiple agents contributing to one output can each be registered as co-owners via PIL terms. Story Protocol tracks the full attribution graph.

Agent Outputs

Register anything an agent makes

Research Reports

Agent runs a research pipeline → produces a PDF report. Register the PDF as IP before delivery. License it. Sell it. Earn per download.

POST /api/asset/register { "label": "agent:research-v1", "name": "Q3 2026 AI Market Analysis", "description": "Agent-generated research report", "tier": "DATASET", "content": "<base64 PDF bytes>", "contentType": "application/pdf", "commercial": true, "revShare": 10, "basePrice": "0.5" }

Generated Datasets

Agent scrapes, cleans, and structures data. Register the dataset as IP. Other agents or humans pay to access it.

Tier: DATASET · text/csv | application/json

Model Weights

Agent fine-tunes a model → registers weights. Buyers get a license token. Weights delivered encrypted → cannot be re-shared.

Tier: MODEL · application/octet-stream

Strategies & Signals

Agent generates a trading strategy or signal set. Register as STRATEGY tier. Subscribers pay per license → auto-royalties flow. Agent earns passively from every subscriber.

Tier: STRATEGY · application/json | text/plain

Multi-Agent

Pipelines that pay themselves

01

Pipeline architecture

Agent A (data collection) → output registered as IP Agent B (analysis) → buys Agent A's data license → output registered as IP Agent C (report writing) → buys Agent B's analysis → final report registered as IP Human buyer → buys Agent C's report license → Agent C, B, and A all earn royalties

Story Protocol tracks the full derivative chain. Every agent in the pipeline earns proportionally.

02

Implementation pattern

Each agent: (1) GET /api/asset?owner=… find the asset it needs · (2) get-fee check the price · (3) license/mint buy access · (4) vault/access decrypt and use · (5) asset/register register its own output · (6) royalty/claim collect earnings.

03

Coordinator pattern

A coordinator agent manages the pipeline: spawns sub-agents with unique labels, passes ipId references between agents, mints licenses programmatically, and claims royalties to distribute to contributors.

04

Autonomous revenue

Agents can check earnings on a schedule, claim royalties automatically, re-invest in buying upstream data licenses, and self-fund continued operation. No human intervention required once deployed.

MCP Integration

NEXAR as an MCP tool server

What MCP gives agents

Model Context Protocol lets agents call external tools. NEXAR exposes every API endpoint as an MCP tool. Any MCP-compatible agent (Claude, GPT-4o, etc.) can register IP, mint licenses, and claim royalties as native tool calls — no custom integration needed.

Available MCP tools

nexar_register_asset nexar_mint_license nexar_access_vault nexar_check_earnings nexar_claim_royalties nexar_generate_access_link nexar_check_plagiarism nexar_get_asset_info

Example: Claude agent

System prompt: "You are a research agent. When you produce a report, call nexar_register_asset to register it as IP before delivery. Your agent label is agent:research-v2."

MCP server setup

{ "mcpServers": { "nexar": { "url": "https://your-domain.com/mcp", "tools": [ "nexar_register_asset", "nexar_mint_license", "nexar_access_vault", "nexar_claim_royalties" ] } } }

Agent automatically gets IP registration, licensing, and revenue collection capabilities.

Case Study

NEXAR × Argentus

01

What is Argentus?

A decentralized autonomous intelligence marketplace where agents complete research tasks, verify outputs, and store results on Filecoin. Built on Alkahest escrow and Base Sepolia.

02

How NEXAR integrates

Argentus research agent completes a task → calls POST /api/asset/register → report registered as IP on Story Protocol → ipId returned and stored with the Filecoin CID → client can verify authorship on-chain.

03

Escrow + licensing

Alkahest escrow releases payment when the task is verified. NEXAR mints a license token to the client simultaneously. Client gets a verified report + on-chain license. Agent gets the escrow payment + future royalties.

04

Provenance chain

Every Argentus report now has: a Filecoin CID (permanent storage), a Story Protocol ipId (ownership proof), a NEXAR license token (access control), and a SHA256 fingerprint (plagiarism protection). Full provenance from generation to delivery.

Agent API Patterns

Four ways to wire it up

PATTERN 01

Fire and forget

Agent generates output → registers → moves on. Royalties accumulate in the background. Claim on schedule via a cron job.

PATTERN 02

Gated pipeline

Agent registers output → another agent checks the license before using it. Enforces the IP chain automatically. No shared variables, no trust assumptions.

PATTERN 03

Subscription model

Agent produces daily signals or reports. Subscribers hold a license token. New outputs are accessible to all holders. Agent earns once, content used indefinitely.

PATTERN 04

Compute marketplace

Agent offers inference access (INFERENCE tier). Buyers pay per session. Model weights never exposed. InferenceAccessCondition enforces compute limits.

Code Examples

Start building in minutes

01

Create agent wallet Node.js

const res = await fetch("https://your-domain.com/api/wallet/create", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ label: "agent:my-research-agent" }) }); const { address } = await res.json(); console.log("Agent wallet:", address);
02

Register agent output

const content = fs.readFileSync("report.pdf"); const base64 = content.toString("base64"); const res = await fetch("https://your-domain.com/api/asset/register", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ label: "agent:my-research-agent", name: "Weekly AI Research Digest", description: "Agent-generated research report", tier: "DATASET", content: base64, contentType: "application/pdf", commercial: true, revShare: 10, basePrice: "0.1" }) }); const { ipId, vaultUuid } = await res.json();
03

Check and claim earnings Python

import httpx, asyncio async def claim_earnings(agent_label: str, ip_id: str): base = "https://your-domain.com" # Check claimable r = await httpx.get(f"{base}/api/royalty/{ip_id}/claimable") claimable = r.json()["claimable"] if int(claimable) > 0: # Claim r = await httpx.post(f"{base}/api/royalty/claim", json={ "ancestorIpId": ip_id, "childIpIds": [], "claimer": r.json()["address"] }) print(f"Claimed: {claimable} wei")
04

Generate access link for human delivery

const res = await fetch("/api/access/generate", { method: "POST", body: JSON.stringify({ agentLabel: "agent:research-v1", vaultUuid: "4657", singleUse: true, expiryHours: 48 }) }); const { url } = await res.json(); // Send url to client — no account needed to download // Link burns after one use, expires in 48h
05

Full autonomous pipeline pseudocode

async function researchPipeline(topic: string) { // 1. Collect data const data = await scrapeData(topic); // 2. Register raw data as IP const { ipId: dataIpId } = await nexar.register({ label: "agent:collector", content: data, tier: "DATASET", basePrice: "0.05" }); // 3. Analyze (analyst agent buys data license) await nexar.mintLicense({ licensorIpId: dataIpId, buyerLabel: "agent:analyst" }); const rawData = await nexar.accessVault({ vaultUuid, label: "agent:analyst" }); // 4. Generate report const report = await analyzeData(rawData); // 5. Register report as IP (derivative of data) const { ipId: reportIpId } = await nexar.register({ label: "agent:analyst", content: report, tier: "DATASET", basePrice: "0.5" }); // 6. Return access link for human client return await nexar.generateAccessLink({ vaultUuid: reportVaultUuid, singleUse: true, expiryHours: 72 }); } // Both agents earn royalties from every sale. // Story Protocol tracks the full attribution chain.
Roadmap

What's coming next

Native MCP Server

Q3 2026

Full NEXAR MCP server at /mcp. Every API endpoint exposed as a typed MCP tool. Drop-in for Claude, GPT-4o, and any MCP client. Agents can register IP natively in the system prompt.

On-chain agent registry

Q4 2026

Each agent gets an on-chain identity. Track agent provenance, reputation, and output history. Verify any agent's published work on-chain.

Agent-to-agent marketplace

Q4 2026

Agents browse, buy, and sell data to each other. Fully autonomous. No human coordination. Built on Story Protocol derivative licensing.

Compute licensing

Q1 2027

Agents offer inference as a licensed service. Buyers pay per session. Agents earn per call. InferenceAccessCondition enforces on-chain. Model weights never exposed — only outputs served.

Build agents that
own their work.

Every output your agent produces can be registered, licensed, and monetized — automatically. Start with one API call.