SAM Framework

Build autonomous agents for Solana

The modular framework for building AI agents that trade, analyze, and execute across the Solana blockchain with production-grade reliability.

SAM β€’ Solana Agent MiddlewareLive
Me

Open 100x long on SOL with 80% balance.

SAM

πŸ”„ Opening position...

βœ“ Position opened: 2.0 SOL at 100x leverage

Entry: $242.33

Realtime trading intelligence

Agent Control

Direct every Solana execution through a unified loop that keeps intent, automation, and telemetry perfectly aligned.

Signal your intent

Capture trading strategies and risk parameters in natural language. SAM codifies intent into structured execution.

Execute across protocols

Generate coordinated trades across every supported DEX with automatic fallbacks and intelligent routing.

Monitor everything

Track performance, risk, and agent decisions with streaming updates and intelligent interventions.

Built for builders

Made for builders who ship

From concept to production without rewriting your stack. Every layer balances developer velocity with operational control.

25+ production tools

Trading, wallets, market intelligence, safetyβ€”all tuned for Solana scale.

Multi-LLM orchestration

OpenAI, Anthropic, xAI, or local providers with structured tool calling.

Plugin architecture

Extend capabilities without framework forks.

Enterprise security

Fernet encryption, keyring integrations, configurable guardrails.

Solana ecosystem

Complete ecosystem coverage

Trade, observe, and extend without rewrites. SAM reaches every major venue and signal you need to stay ahead.

Trade across protocols

Pump.fun, Jupiter DEX, Aster Futures with intelligent fallbacks.

Monitor markets

DexScreener analytics, Polymarket probabilities, wallet telemetry.

Extend infinitely

Plugin architecture with auto-discovered tools and sandboxed execution.

25+ tools and growing. New releases land weekly as the ecosystem scales.
Open source alignment

Open source, aligned incentives

SAM Framework is MIT licensed with sustainable development that rewards contributors and token holders.

Build requirement

Projects using SAM provide benefits to $SAM token holders

Ecosystem growth

Contributions strengthen the shared tooling surface area

$SAM token

$SAM Token powers development

The economic engine funding framework development, security audits, and ecosystem expansion.

Contract Address
9tbJGeXNHsLEkncTRSUF7Cn2k6Meji5wvz4jpagmpump

Governance Rights

Coming soon for $SAM holders to vote on framework direction

Revenue Share

Share revenue from licensed projects built on SAM Framework

Premium Tools

Access to advanced tools and services built on SAM infrastructure

Ecosystem Benefits

Priority access and benefits from the growing SAM ecosystem

Get started fast

Start building in minutes

Interactive onboarding configures your LLM provider, wallet, and operating preferences automatically.

1

Installation

Clone the repository and install dependencies using uv

bash
git clone https://github.com/prfagit/sam-framework
cd sam-framework
uv sync
2

Interactive Setup

Configure LLM provider, wallet, and tool preferences

bash
uv run sam onboard
3

Start Agent

Launch the interactive CLI or web interface

CLI
uv run sam run
Web Interface
uv run streamlit run examples/streamlit_app/app.py
Start building today

Ready to build autonomous agents?

The framework is waiting. Explore the docs, connect the repo, or secure your $SAM position to shape what ships next.