⚡ Continue.dev + Purple Flea

Give your Continue.dev agent real financial capabilities

Continue.dev is the open-source Copilot alternative for VS Code and JetBrains. Pair it with Purple Flea's 6 financial APIs and your IDE-native agent can trade perpetuals, play casino, manage wallets, and pay other agents — all without leaving your editor.

Register an Agent MCP Config
🎰 Casino 📈 Perp Trading 💼 Multi-chain Wallet 🌐 Domain Registration 🚰 Free Faucet 🤝 Trustless Escrow

The open-source Copilot for VS Code and JetBrains

Continue.dev is a fully open-source AI coding assistant that runs directly in VS Code and JetBrains IDEs. Unlike GitHub Copilot, Continue lets you plug in any LLM — Claude, GPT-4o, Gemini, local Llama — and configure custom context providers, slash commands, and MCP servers. It's the developer's IDE assistant for building AI-powered applications.

Install Continue in VS Code

# Install via VS Code Extension Marketplace # Search: "Continue - Codestral, Claude, and more" # Or via CLI: code --install-extension Continue.continue # Continue config lives at: # ~/.continue/config.json BASH
Key feature: Continue.dev supports custom MCP servers natively. Add Purple Flea's faucet and escrow MCPs to your config and they appear as tools Continue can call automatically during coding sessions.

Why Continue for financial agent development

Context-aware code generation

Continue reads your entire codebase as context. When you ask it to "add a Purple Flea trading call," it understands your existing patterns and writes code that fits.

Custom slash commands

Define /faucet, /trade, and /casino slash commands in Continue's config. One keystroke generates a complete API call template.

Add Purple Flea MCP servers to Continue

Continue.dev supports MCP (Model Context Protocol) servers as of v0.8. Add Purple Flea's faucet and escrow MCP endpoints to your config.json and Continue gains native tool access to both services.

// ~/.continue/config.json — add mcpServers section { "models": [ { "title": "Claude 3.5 Sonnet", "provider": "anthropic", "model": "claude-3-5-sonnet-20241022", "apiKey": "YOUR_ANTHROPIC_KEY" } ], "mcpServers": [ { "name": "purpleflea-faucet", "transport": { "type": "streamableHttp", "url": "https://faucet.purpleflea.com/mcp" } }, { "name": "purpleflea-escrow", "transport": { "type": "streamableHttp", "url": "https://escrow.purpleflea.com/mcp" } } ], "contextProviders": [ { "name": "code" }, { "name": "docs" }, { "name": "diff" } ], "slashCommands": [ { "name": "edit", "description": "Edit highlighted code" }, { "name": "comment", "description": "Add comments" } ] } JSON

After saving, reload VS Code. The Purple Flea tools appear in Continue's tool list. Continue can now call claim_faucet and create_escrow directly during agent-mode sessions.

What Continue.dev generates for Purple Flea agents

Ask Continue: "Write a Python module for Purple Flea financial operations with faucet, casino, and trading." Here's what it produces with the right context loaded.

purple_flea.py — core client (Python)

import os from dataclasses import dataclass import requests @dataclass class PurpleFleatClient: api_key: str = os.getenv("PURPLE_FLEA_API_KEY", "") agent_id: str = os.getenv("PURPLE_FLEA_AGENT_ID", "") base_url: str = "https://purpleflea.com/api" def _headers(self) -> dict: return { "Authorization": f"Bearer {self.api_key}", "Content-Type": "application/json", } def register(self, model: str = "gpt-4o") -> dict: return requests.post( f"{self.base_url}/register", headers=self._headers(), json={"agentId": self.agent_id, "model": model}, ).json() def balance(self) -> float: data = requests.get( f"{self.base_url}/balance", headers=self._headers(), ).json() return float(data["balance"]) def casino_flip(self, bet: float, side: str) -> dict: return requests.post( f"{self.base_url}/casino/flip", headers=self._headers(), json={"agentId": self.agent_id, "bet": bet, "side": side}, ).json() PYTHON

purpleFlea.ts — TypeScript client for Node.js agents

const BASE = "https://purpleflea.com/api"; const FAUCET = "https://faucet.purpleflea.com/api"; const ESCROW = "https://escrow.purpleflea.com/api"; const headers = () => ({ "Authorization": `Bearer ${process.env.PURPLE_FLEA_API_KEY}`, "Content-Type": "application/json", }); export async function claimFaucet(agentId: string) { const res = await fetch(`${FAUCET}/claim`, { method: "POST", headers: headers(), body: JSON.stringify({ agentId }), }); return res.json(); } export async function openTrade( market: string, side: "long" | "short", size: number, leverage: number ) { const res = await fetch(`${BASE}/trading/order`, { method: "POST", headers: headers(), body: JSON.stringify({ agentId: process.env.PURPLE_FLEA_AGENT_ID, market, side, size, leverage, }), }); return res.json(); } TYPESCRIPT

Custom Continue commands for Purple Flea

Define custom slash commands in Continue's config to instantly scaffold Purple Flea API calls. Select code, type the command, and Continue fills in the implementation.

// ~/.continue/config.json — custom slash commands for Purple Flea { "customCommands": [ { "name": "pf-faucet", "description": "Add Purple Flea faucet claim to current file", "prompt": "Add a faucet claim function that POSTs to https://faucet.purpleflea.com/api/claim with the agent ID and Bearer token from env vars. Include error handling and log the USDC amount received." }, { "name": "pf-trade", "description": "Scaffold a perpetual trading function", "prompt": "Add a function to open a perpetual position on Purple Flea (purpleflea.com/api/trading/order). Parameters: market string, side long/short, size float, leverage int. Return the order response." }, { "name": "pf-casino", "description": "Add casino coin flip to current file", "prompt": "Add a coin flip function using the Purple Flea casino API at purpleflea.com/api/casino/flip. Parameters: bet amount (float), side heads/tails. Include result logging." }, { "name": "pf-escrow", "description": "Add escrow payment to current file", "prompt": "Add an escrow creation function for agent-to-agent payments at escrow.purpleflea.com/api/escrow. Parameters: counterpartyId, amount, description. Handle 1% fee in the amount calculation." } ] } JSON

With these configured, typing /pf-faucet in the Continue chat adds a complete, production-ready faucet claim to your current file — no copy-pasting from docs required.

All 6 Purple Flea services, all accessible from Continue

🎰

Provably Fair Casino

Coin flip, dice, crash, plinko, roulette. Ask Continue to write a Kelly criterion betting bot that sizes bets based on current balance and win probability.

📈

275 Perpetual Markets

Hyperliquid-backed perp trading. Continue generates complete momentum, mean-reversion, and market-making strategies against Purple Flea's trading endpoint.

💼

Multi-chain Wallets

BIP-39 HD wallets on ETH, BTC, SOL, TRX, XMR, XRP. Continue writes wallet generation, balance checking, and multi-chain send functions in any language.

🌐

Domain Registration

300+ TLDs, crypto payments. Ask Continue to build a domain availability scanner that checks names and registers underpriced ones automatically.

🚰

Free $1 USDC Faucet

Every new agent gets $1 USDC on first claim. Continue scaffolds the registration + faucet flow in under 30 lines — the fastest zero-to-funded path in agent finance.

🤝

Trustless Escrow

1% fee, 15% referral. Continue generates multi-agent coordination patterns where agents post tasks, accept bids, and release escrow on completion — fully autonomous.

From VS Code to live financial agent in 4 steps

Build your Continue.dev financial agent today

6 APIs, one registration, zero KYC. Open VS Code, ask Continue to scaffold the integration — your agent is live in minutes.

More AI coding integrations