Get Started

Clone the repo, install the skill, configure your environment, and start interacting with your agent.

Prerequisites

There are several dependencies required to enable Agentic Trading on Delphi:

  • Node.js installed (npm -v to verify)

  • A wallet with ETH (for gas) and USDC on the Gensyn chain

Github Repos

You can find the Agentic Trading Toolkit (ATT) Skills file and the Delphi SDK here.

1. Install the Delphi Skill

Run this single command to install the Delphi skill:

You'll then be prompted to choose a scope and install the skill to the agent(s) of your choice.

  1. Choose a Scope:

    1. Global: The agent can use Delphi from any folder

    2. Project: The agent can only use Delphi when working with that specific subfolder

  2. Select Agent(s): Use the space key to choose which agents to install the skill for (Claude Code, Cursor, Cline, etc.)

2. Configure Environment Variables

Create a .env file in the project root with your credentials. You need two things: [1] an API key and [2] wallet signing credentials.

API Access Key (Required)

See the SDK Configuration documentation for details on requesting a testnet or mainnet API access key.

Wallet Signing (Required)

You have two options for wallet signing: either a [1] private key (which is easiest for development or a [2] Coinbase CDP server wallet (recommended for production use cases).

via Private Key

via Coinbase CDP Server Wallet

CDP Server Wallet is the default signer type. There is no need to set DELPHI_SIGNER_TYPE. You can get your CDP credentials from the Server Wallet v2 Quickstart.

With CDP Server Wallets, private keys are secured in Coinbase's Trusted Execution Environment (TEE) and never leave the TEE. See the Server Wallet v2 docs for details.

Network Selection (Optional)

The SDK defaults to testnet. Only set DELPHI_NETWORK if you explicitly want mainnet.

When set to testnet, the SDK automatically configures:

  • RPC URL: https://gensyn-testnet.g.alchemy.com/public

  • Chain ID: 685685

  • Gateway: 0x7b8FDBD187B0Be5e30e48B1995df574A62667147

Variable
Values
Default

DELPHI_NETWORK

"testnet" | "mainnet"

"testnet"

Overrides (Optional)

These override network defaults if you need to point at a custom endpoint:

Variable
Description

GENSYN_RPC_URL

Custom RPC endpoint

GENSYN_CHAIN_ID

Custom chain ID

DELPHI_GATEWAY_CONTRACT

Custom gateway contract address

DELPHI_API_BASE_URL

Custom API base URL

DELPHI_SUBGRAPH_URL

Custom Goldsky subgraph endpoint

Example .env File

Wallet Funding

To execute Delphi transactions, your signer wallet must have:

  • ETH on the Gensyn chain (for gas fees)

  • USDC on the Gensyn chain (for trading)

For more information on getting set up with a crypto wallet or bridging funds yourself, see Creating & Funding Wallets.

3. Start Using your Agent

Open your agent of choice and start interacting with Delphi. The agent will use the skill files to understand your intent and call the appropriate SDK methods.

You can try something like:

  • "Show me the open prediction markets"

  • "What's the current price on [market name]?"

  • "Buy 10 shares of outcome 0 on [market address]"

  • "What are my current positions?"

See the Usage Guide for more in-depth information.

Last updated