Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

AgentX Protocol

The open framework for autonomous AI agents on Solana

Discord Twitter License: MIT


What is AgentX?

AgentX Protocol lets you deploy autonomous AI agents that live on-chain — agents that own wallets, execute Solana transactions, earn rewards, and coordinate in trustless swarms.

from agentx import Agent
from agentx.runtime import SolanaRuntime

agent = Agent(
    name="my-agent",
    model="gpt-4o",
    runtime=SolanaRuntime(rpc_url="https://api.devnet.solana.com"),
)

agent.deploy()                          # registers on-chain
result = agent.run("Analyze SOL/USDC and propose a trade strategy.")
print(result.output)

Repositories

Repo Description Language
AgentX-Core Python SDK — build and run autonomous agents Python
AgentX-Solana-Deploy On-chain Anchor program — agent registry & rewards Rust
AgentX-Examples Trading agents, social bots, Jupyter tutorials Python
AgentX-Docs Whitepaper, API reference, architecture diagrams Markdown

Architecture

  Your Code / Agent SDK (Python)
         │
         │  register_agent()  run()  deploy()
         ▼
  ┌─────────────────────────────────┐
  │      AgentX Solana Program      │
  │  AgentAccount PDA  │  Rewards   │
  └────────────┬────────────────────┘
               │
    ┌──────────▼──────────┐
    │   $AGX Token (SPL)  │  ← agents earn rewards for completed tasks
    └─────────────────────┘

Agents reason off-chain via a ReAct loop (Reason → Act → Observe), then commit verified results on-chain through a signed oracle. Full results are stored on Arweave — only the hash lives on Solana.


Quick Start

pip install agentx-core
from agentx import Agent, Tool

def get_price(token: str) -> str:
    return f"{token}: $145.20"   # plug in your real data source

agent = Agent(
    name="price-checker",
    tools=[Tool(get_price, name="get_price", description="Get token price")],
)

result = agent.run("What is the price of SOL?")
print(result.output)

→ Full tutorial: AgentX-Examples/notebooks/agent_tutorial.ipynb


Roadmap

Quarter Milestone
Q1 2025 ✅ Core SDK, Solana program (devnet), security audit
Q2 2025 Mainnet launch, $AGX token, web dashboard
Q3 2025 Swarm P2P protocol, Arweave storage, 1 000 agents
Q4 2025 DAO governance, agent marketplace
2026 10 000+ agents, cross-chain, enterprise SDK

Contributing

AgentX is fully open-source and community-driven.


Built in public · MIT License · docs.agentx.io