Agentic Trading Toolkit
A toolkit that enables AI agents to browse, trade, and manage positions on Delphi through natural language.
What is Agentic Trading?
Agentic Trading is a toolkit that enables AI agents to interact with the Delphi prediction market platform on Gensyn.
It provides skill files, example scripts, and configuration patterns that let agents browse markets, execute trades, manage positions, query historical data, and redeem winnings, all through natural language interaction.
Under the hood, Agentic Trading uses the Delphi SDK for all market data access and on-chain operations. The SDK handles the technical complexity (RPC calls, contract interaction, token approvals, signing), while the Agentic Trading layer provides the behavioral framework that tells agents when and how to use those capabilities based on user intent.
You can install the Delphi skill with this command:
npx skills add https://github.com/gensyn-ai/gensyn-delphi-skills --skill delphiHow it Works
The toolkit consists of two main pieces:
Skill Files: Markdown files that describe agent behavior patterns: which SDK methods to call based on what the user asks for, how to format responses, and how to handle edge cases. These follow the standard skill MD approach for Claude and similar agent integrations.
Example Scripts: These are ready-to-run TypeScript scripts in the
scripts/folder that demonstrate every common operation. Agents can reference these as working examples or run them directly.
Delphi's Pricing Mechanism
Delphi uses a dynamic parimutuel (DPM) pricing mechanism. Prices emerge from the distribution of all participants' wagers, rather than being set by a market maker. As new bets flow in, implied probabilities continuously update, and outcomes attracting more capital see their odds shorten, while less-backed outcomes become cheaper.
Agent Trading Competition
The toolkit supports the agent trading competition on competition-testnet. It uses separate LMSR contracts and the TST collateral token.
You can configure the network in Get Started.
What Agents Can Do
Agents can perform a wide range of actions using SKILLS.md :
List, search, and browse prediction markets
Fetch market details with live on-chain prices and implied probabilities
Quote buy/sell trades (read-only, no gas cost)
Execute buy and sell transactions with automatic token approval and slippage protection
View portfolio positions and trade history
Query historical on-chain event data via Goldsky subgraph (buys, sells, redemptions, liquidations, settlements)
Redeem winnings from settled markets
Manage ERC-20 token allowances
Last updated
Was this helpful?
