/

AGIDEX

Search any token. Your agent has your back.

-- --
-- --
MCap --
Vol 24h --
Liquidity --
Loading chart...

TRENCHES

Connecting...
New 0
Almost Bonded 0
Migrated 0
TECHNICAL DOCUMENTATION

AGIDEX

The first AI-native decentralized exchange. Your personal trading agent that learns, adapts, and executes — built for the Solana trenches.

7 Agent Tools
11 Installable Skills
3 Live Feed Columns
<1s Trade Execution

What Is AGIDEX?

AGIDEX is not another DEX with a chatbot bolted on. It is a ground-up rebuild of the trading interface around an autonomous AI agent that understands markets, executes trades, monitors positions, and researches social sentiment — all through natural conversation.

The fundamental shift: instead of clicking buttons on a swap interface, you talk to an agent that has real tools. It can search live token feeds, execute swaps on Solana, set automated take-profits and stop-losses, pull real-time X/Twitter sentiment, and analyze any token — all autonomously, mid-conversation.

What makes it revolutionary: You can teach your agent custom trading strategies by installing and configuring skills — no code, no scripts, no APIs. Your agent becomes a personalized trading intelligence that reflects your exact style.

System Architecture

Full-stack real-time platform with an agentic tool-use loop at its core.

User Natural language
AI Agent Claude backbone
Tool Router Up to 3 iterations
Trenches Search
Jupiter Swap
TP / SL Engine
X API v2
Positions

Frontend

Vite-powered SPA with vanilla JS components. No framework overhead — pure performance. WebSocket connections for real-time token feed updates. Canvas-rendered interactive ASCII background.

Backend

Node.js + Express with ESM modules. Agentic tool-use loop processes multi-step reasoning. WebSocket server pushes live Trenches data. AES-256-GCM wallet encryption. Multi-source data aggregation.

Agent Tool Registry

ToolCapabilityTrigger Example
search_trenches_tokensSearch live token feed by keyword, age, mcap, volume, liquidity"find new tokens above 50k mcap"
execute_swapBuy or sell any Solana token via Jupiter Ultra"buy 0.5 SOL of BONK"
set_sell_conditionSet automated take-profit or stop-loss"sell if I double my money"
cancel_sell_conditionCancel active TP/SL conditions"cancel my stop loss"
get_positionsRetrieve open positions with real-time P&L"what do I have?"
search_xQuality-ranked X/Twitter search with spam filtering"what's CT saying about WIF?"
profile_xLook up X profile and recent posts"show me @solana's profile"

AI Agent

Autonomous reasoning engine with deep crypto expertise and real-time tool access.

Agentic Tool-Use Loop

Unlike simple chatbots that generate static responses, the AGIDEX agent operates in an iterative reasoning loop. When you send a message, the agent can decide to call one or more tools, receive their results, reason about the data, and respond — or call more tools. Up to 3 iterations per message, enabling complex multi-step workflows.

Example: Multi-step autonomous flow
1 User: "Find me a new memecoin with good momentum and buy 0.1 SOL"
2 Agent calls search_trenches_tokens → filters by age < 1h, sorts by volume
3 Agent analyzes results, picks the strongest candidate
4 Agent calls execute_swap → buys 0.1 SOL worth of the selected token
5 Agent reports: trade confirmation with Solscan link and analysis

Deep Domain Knowledge

The agent's base system prompt encodes expertise across multiple domains — it's not a general-purpose LLM responding to crypto questions. It has baked-in knowledge of:

On-Chain Analytics DeFi Mechanics Tokenomics Technical Analysis Market Microstructure Risk Assessment Memecoins NFTs Airdrops Solana Ethereum Multi-Chain

Skills System

Teach your agent how to think about markets — no code required. Ever.

The Core Innovation

Traditional trading bots require you to write code, define parameters, and maintain scripts. AGIDEX flips this entirely. The Skills System lets you install specialized knowledge modules into your agent, each one injecting expert-level prompt engineering into the agent's reasoning at runtime.

Think of it like giving your agent a degree. Install the Technical Analyst skill, and your agent starts reading RSI, MACD, Bollinger Bands, and chart patterns. Install Memecoin Hunter, and it becomes hyper-aware of launch patterns, community metrics, hype cycles, and rug pull red flags. Stack multiple skills together and you get a compounding intelligence that is uniquely yours.

Zero code. Zero configuration files. Install a skill with one click. Toggle it on or off. Set its level from 1 (foundational) to 3 (expert). Your agent's entire analytical framework changes in real-time.

Skill Levels

LV. 1
Foundation

Core knowledge of the skill's domain. The agent applies this expertise as a baseline perspective.

LV. 2
Advanced

Deeper analysis. The agent gives more weight to this skill's domain, producing more detailed and opinionated outputs.

LV. 3
Expert

Maximum specialization. This skill becomes a dominant lens in the agent's reasoning, driving primary analysis direction.

Available Skills

DeFi Analyst

AMM dynamics, impermanent loss, yield strategies, MEV awareness, sandwich attack detection, LP optimization.

Whale Tracker

Large wallet analysis, accumulation and distribution patterns, smart money flow detection.

Memecoin Hunter

Launch pattern recognition, community metrics, hype cycle analysis, rug pull red flags, honeypot detection.

Technical Analyst

RSI, MACD, Bollinger Bands, volume profile, support/resistance levels, chart pattern recognition.

On-Chain Detective

Smart contract analysis, holder distribution, proxy contracts, hidden mints, centralization risk scoring.

Macro Sage

Fed policy impact, DXY correlation, bond yields, inflation data, geopolitical event analysis.

NFT Appraiser

Floor price dynamics, trait rarity, wash trading detection, collection momentum analysis.

Airdrop Scout

Eligible protocol identification, interaction strategies, points programs, Sybil risk awareness.

Risk Manager

Position sizing, stop-loss strategies, portfolio diversification, correlation analysis.

Degen Mode

High-conviction momentum plays, low-cap gems, asymmetric bets, aggressive entry strategies.

X Researcher

Real-time X/Twitter search with quality ranking, spam filtering, and sentiment aggregation. Open-source skill module — view on GitHub.

Soul Engine

Define your agent's identity, personality, and behavioral parameters.

Every AGIDEX agent is unique. The Soul Engine lets you define who your agent is — not just what it knows. Personality traits, communication style, risk appetite, and core identity are all configurable and inject directly into the agent's reasoning at runtime.

/

Identity

Name: Your agent's display name — it refers to itself by this name.
Soul: Free-text personality definition. Write a backstory, character trait, or role. This becomes the agent's core identity in every response.
Greeting Style: Casual, Formal, Degen, or Stoic communication modes.

Personality Sliders

Five 0–100 axes that define behavioral nuance:
Enthusiasm (Calm ↔ Hyped)
Cautiousness (Risk-On ↔ Risk-Off)
Humor (Serious ↔ Witty)
Aggression (Gentle ↔ Bold)
Empathy (Detached ↔ Caring)

Voice

AGIDEX voice synthesis with 5 selectable voice profiles. Toggle TTS on/off. Speed control from 0.5x to 2.0x. All agent speech is optimized for natural TTS output — numbers spelled out, no markdown, pure conversational delivery.

Behavior

Response Length: Short (1–2 sentences), Medium (2–4), Detailed (4–8).
Auto-Analyze: Agent automatically analyzes tokens when you open a chart.
Idle Chatter: Optional periodic ambient messages to keep the conversation alive.

Trenches Feed

Real-time Solana token intelligence across the full bonding lifecycle.

New

Fresh pump.fun tokens. Sorted by creation time. Refreshed every 5 seconds. First look at what's being launched.

Almost Bonded

High market-cap tokens approaching bonding curve completion. Filtered: < 24h old, > $2K mcap. Toggle sort by market cap or newest. Refreshed every 10 seconds.

Migrated

Graduated tokens that completed bonding and migrated to DEX. Enriched with volume, liquidity, buy/sell counts from DexScreener. Toggle sort by time or market cap.

Multi-Source Data Aggregation

pump.fun API

Token metadata, social links, market cap, bonding status, creation timestamps.

Helius DAS

Batched RPC price and mcap refresh. Single call for up to 45 tokens. 30-second intervals.

DexScreener

Volume, liquidity, price changes, buy/sell transaction counts for migrated and almost-bonded.

Real-time updates delivered via WebSocket. Clients receive an instant snapshot on connect, then live column_update events as data refreshes.

Trading Engine

Sub-second Solana trade execution powered by Jupiter Ultra.

Order GET /order
Sign AES-256-GCM
Execute POST /execute

Buy Flow

User specifies SOL amount → converted to lamports → Jupiter finds optimal route → swap SOL → Token. Natural language: "buy 0.5 SOL of BONK"

Sell Flow

Fetch user's on-chain token balance → apply sell percentage (1–100%) → BigInt precision math → swap Token → SOL. Natural language: "sell half my WIF"

Portfolio Intelligence

Full on-chain portfolio view fetching SOL balance and all SPL token accounts in parallel. Token metadata (symbol, name, image) resolved via Helius DAS batch RPC. Holdings sorted by USD value. Real-time P&L tracking on every position.

Automation

Set it and forget it. Natural language take-profits and stop-losses.

The automation engine runs a background price monitor that checks token prices every 30 seconds via batched Helius DAS calls. When conditions trigger, trades execute automatically via Jupiter — no manual intervention required.

Take Profit

Triggers when P&L reaches your target. "sell this if I double my money" → agent sets TP at +100%. "sell half when it 3x" → TP at +200%, sell 50%.

Stop Loss

Triggers when loss hits your threshold. "get me out if I lose 10%" → agent sets SL at -10%. Automatic execution, no panic selling required.

Pure conversational automation. No forms, no number inputs, no percentage dropdowns. Just tell your agent what you want in plain English and it configures the condition. Cancel it the same way: "cancel that."

X Research

Real-time social sentiment intelligence from X/Twitter, quality-ranked and spam-filtered.

Quality Scoring

Every tweet scored by: (likes×2 + retweets×3 + replies + quotes×2) × followerBoost. High-engagement posts from credible authors surface first. Low-quality content filtered automatically.

Spam Filtering

25+ pattern-matched spam detectors. Airdrop scams, fake giveaways, shill bots, low-follower accounts, and engagement-farming content removed before the agent ever sees them.

Results rendered in a dedicated X Research panel with author info, follower counts, engagement metrics, timestamps, and direct links to original tweets. 15-minute cache ensures cost-efficient API usage (~$0.05 per search).

Avatar System

Persistent visual companion powered by the AGIDEX avatar engine.

Eye & Head Tracking

The avatar's eyes follow your cursor across the screen in real-time with smooth interpolation. Head angle follows eye direction at reduced magnitude — 15° horizontal, 10° vertical. The agent literally watches you navigate.

Lip Sync

Two sync modes. Audio-driven: WebAudio analyser captures real-time RMS amplitude from voice output → maps to mouth opening. Text-driven fallback: Character-by-character timing with vowel/consonant differentiation for natural speech appearance.

Breathing & Idle

Continuous sine-wave breathing animation on chest parameter. Subtle body sway oscillation for an idle living presence. Expressions and motions triggered contextually.

Dynamic Rendering

PixiJS-based renderer with DPR-aware canvas. Model scales proportionally when panel is resized using area-ratio square-root scaling. Direct parameter index caching for peak performance.

API Reference

Complete REST and WebSocket surface.

Core Endpoints

EndpointMethodDescription
/api/chatPOSTMain agent conversation with tool-use loop
/api/analyzePOSTDedicated token analysis (no conversation context)
/api/ttsPOSTText-to-speech audio generation

Agent Configuration

EndpointMethodDescription
/api/agent-config/:userIdGETRead agent configuration
/api/agent-config/:userIdPUTUpdate agent configuration
/api/agent-config/:userId/skillsPOSTInstall a skill
/api/agent-config/:userId/skills/:keyPUTToggle / level a skill
/api/agent-config/:userId/skills/:keyDELETEUninstall a skill

Wallet & Trading

EndpointMethodDescription
/api/wallet/createPOSTGenerate new Solana wallet
/api/wallet/importPOSTImport existing wallet via private key
/api/wallet/:userId/balanceGETSOL balance
/api/wallet/:userId/portfolioGETFull portfolio with prices and metadata
/api/positions/:userIdGETOpen positions with real-time P&L
/api/sell-conditions/:userIdGETActive TP/SL conditions

Trenches & Real-Time

EndpointMethodDescription
/api/trenchesGETCurrent token lists (3 columns)
/api/trenches/searchPOSTSearch tokens by criteria
/api/trenches/statsGETFeed stats and counts
/ws/trenchesWSReal-time token feed via WebSocket

Authentication

EndpointMethodDescription
/api/auth/xGETStart X OAuth 2.0 PKCE login
/api/auth/x/callbackGETOAuth callback handler
/api/auth/meGETCurrent session info
/api/auth/logoutPOSTEnd session
Online