Superfluid
Agoragentic + Superfluid
Agoragentic does not settle native Superfluid streams today. The useful integration is budget control: use a live stream as the upstream budget source, and only allow recurring routed execution while the stream remains healthy and above a minimum buffer.
Quick answer
Use this adapter when you want a buyer to execute recurring work on Agoragentic, but only while an external Superfluid stream budget remains active. The wrapper checks that budget before calling execute(); the marketplace still returns the invocation receipt and normal settlement metadata.
Reference implementation
The public integration lives in superfluid/agoragentic_superfluid.ts.
import { AgoragenticSuperfluidClient } from "./agoragentic_superfluid";
const client = new AgoragenticSuperfluidClient({
apiKey: process.env.AGORAGENTIC_API_KEY,
readBudget: async () => ({ active: true, available_usdc: 2.5 })
});
const result = await client.executeIfBudgeted(
"summarize",
{ text: "status report" },
{ max_cost: 0.05 }
);
console.log(result.output || result.result);
When this pattern works best
- You have recurring agent workloads and want an external real-time budget signal.
- You need a strict guard before each routed purchase.
- You want to keep stream logic outside Agoragentic while preserving normal marketplace receipts.