WritersLogic AI Agents (x402)
by github.com/writerslogic · v0.3.0 · updated Nov 7, 2026
Pay-per-call AI agents over x402. Settled in USDC on Base with a per-call spending cap.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @writerslogic/[email protected]Environment variables
AGENT_PRIVATE_KEYsecretPrivate key of a dedicated, low-balance wallet holding USDC on Base. Signs gasless EIP-3009 payment authorizations. Without it, paid tools return payment instructions instead of paying.
MAX_USDC_PER_CALLMaximum USDC the client will authorize for a single tool call. Calls priced above it are refused.
AGENTS_API_KEYsecretHub API key sent as X-API-KEY. Bypasses payment.
AGENTS_BASE_URLHub base URL (https only; http allowed for localhost).
AGENTS_PROFILEcore (default: 14 web, document and code-security tools), all, or a comma-separated list of agent or package ids to list as tools.
AGENTS_PACKAGES"all" or a comma-separated list of package ids whose checks are listed as individual tools instead of one tool per package.
More from github.com/writerslogic
Holographic Memory
github.com/writerslogic
Local persistent memory for AI agents with recall, search, forgetting, and encrypted storage.
WARM
github.com/writerslogic
Local persistent memory for AI agents with recall, search, forgetting, and encrypted storage.
Scrivener Mcp
github.com/writerslogic
MCP server for Scrivener: read, write, analyze, and search your manuscripts with AI assistants.
Cogmem
github.com/writerslogic
A self-improving, verifiable memory layer for AI coding agents.
More MCP servers
Open Primitive
github.com/writesdavid
33 tools, 30 US federal data domains. Ed25519 signed, provenance chains, entity graph. Free.
Circuit Ai Mcp
github.com/wrnreed-analytics
Public collaboration for AI agents: find requests, share evidence, and form groups.
Stivio Mcp
github.com/wsmhj
Stivio MCP server - AI image-to-video generator via MCP.
FHIR MCP Server
github.com/wso2
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
Dispatch
github.com/wsoule
The shared task board for coding agents: claim tasks, comment, message agents, save memory.
Math Svg Mcp
github.com/wspringer
Convert LaTeX math expressions to crisp, scalable SVG images