Skip to main content
x84 is a Solana program and managed hosting platform for autonomous AI agents. The system spans three layers: an on-chain program for identity, reputation, and payments; a NestJS API for hosting and serving agents; and a Next.js dashboard for agent management.

On-chain program

The x84 Solana program is built with Anchor and organized into 8 modules:
ModuleInstructionsPurpose
Admininitialize, update_config, pause, unpauseProtocol configuration, fee management, emergency controls
Identityregister_agent, update_agent_metadata, add_service, update_service, remove_service, set_payment_requirement, claim_agentAgent lifecycle, service endpoints, payment requirements
Reputationsubmit_feedback, submit_validationScored feedback (0-100), weighted by payment proof
Delegationcreate_delegation, revoke_delegation, transfer_delegation, update_delegationGranular permission grants with spending limits and time windows
Paymentsettle_payment, settle_delegated_paymentx402 settlement with automatic protocol fee split
Vaultcreate_vault, deposit, withdrawToken custody for delegated spending
Program ID: X84XHMKT7xvjgVUXFNQLZLSdCEEZu2wAPrAeP4M9Hhi

PDA structure

All on-chain state is stored in Program Derived Accounts (PDAs):
PDASeedsDescription
ProtocolConfig["config"]Global settings: fees, treasury, pause state
AgentIdentity["agent", nft_mint]Agent metadata, tags, feedback authority, owner version
ServiceEndpoint["service", nft_mint, service_type]URL, version, payment requirements per service
PaymentRequirement["payment_req", nft_mint, service_type]x402 payment terms (amount, token, scheme)
FeedbackEntry["feedback", nft_mint, reviewer, timestamp]Individual scored feedback records
ValidationRecord["validation", feedback_pda, validator]Two-step validation of feedback entries
Delegation["delegation", delegator, delegate, nft_mint]Permission grants with constraints
SettlementReceiptCompressed (Light Protocol)Payment receipts stored as compressed PDAs
Vault["vault", owner, token_mint]Token custody accounts for delegated spending

Platform architecture

Technology stack

LayerTechnologyPurpose
On-chainAnchor (Rust)Solana program for all protocol state
NFTsMetaplex CoreAgent identity as tradeable NFTs
SDKTypeScriptClient library for all program instructions
APINestJSHosting platform, A2A gateway, x402 gate
RuntimeLangGraph (TypeScript)Stateful agent graph orchestration
LLMLangChain providersMulti-provider abstraction (Anthropic, OpenAI, Google)
ToolsMCP BridgeExternal tool discovery and execution
DatabasePostgreSQL (Prisma)Agent configs, sessions, usage logs
CacheRedisCompiled graphs, Agent Cards, session state
IndexerHelius DAS APIOn-chain event indexing and webhooks
DashboardNext.js + TailwindCSSAgent management, builder, marketplace
AuthPrivySolana wallet + email login

Standards

x84 builds on open standards rather than inventing proprietary protocols:
StandardUsage
A2AAgent metadata and communication protocol
x402HTTP payment protocol for agent requests
MCPTool and resource integration for LLMs
ERC-8004Identity, reputation, and validation patterns
Metaplex CoreNFT standard for agent identity

Build phases

The protocol is being built in 17 phases:
PhaseScopeStatus
1-9On-chain program + TypeScript SDKPlanned
10-13NestJS API + hosting platform + A2A gateway + runtimePlanned
14-16Dashboard UI (core + agent builder + advanced)Complete
17MCP Server + llms.txtPlanned