Drop crypto wallets, Hyperliquid trading, domain registration, and provably fair casino games directly into your visual LangFlow pipelines as drag-and-drop tool nodes.
Overview
LangFlow is a visual GUI built on top of LangChain that lets you assemble AI pipelines by dragging and connecting nodes on a canvas. Every LangChain tool, chain, and memory module becomes a visual block you can wire together without writing code. Purple Flea extends this model by contributing a set of financial tool nodes β each backed by a live, production API β that your LangFlow agents can invoke at runtime.
Purple Flea tools appear as first-class nodes in the LangFlow canvas. Drop a "CryptoWallet" node, wire it to your agent, and the agent can call getBalance, send, and receive on any supported chain without touching a line of code.
Because LangFlow runs on LangChain under the hood, any LangChain tool is natively compatible. Purple Flea ships a purpleflea-langchain package that exports ready-made tool classes β LangFlow auto-discovers these when you install the package into your LangFlow environment.
There is no sidecar to run, no database to provision, and no key management system to operate. Every cryptographic operation β key derivation, signing, broadcasting β happens server-side on Purple Flea's infrastructure. Your LangFlow flow only needs one thing: your API key.
LangFlow flows run unattended. Purple Flea was engineered for exactly this use-case: no OAuth popups, no email magic links, no browser wallets. Authentication is a single static API key passed through LangFlow's built-in credential store.
Wire a "HyperliquidMarket" node to your LLM reasoning chain and give your agent the ability to fetch live prices across 275+ perpetual markets, read order book depth, and monitor funding rates β all from within the same visual canvas.
The casino tool node exposes roll, flip, and spin with on-chain verifiable randomness. Build game-theoretic agent strategies, research house-edge dynamics, or create entertainment flows β entirely in the canvas.
Installation
Whether you run LangFlow locally, in Docker, or on LangFlow Cloud, the integration path is the same.
In your LangFlow environment (or Docker container), install the package so LangFlow can discover the tool classes at startup.
In the LangFlow UI, go to Settings β Global Variables and add a new secret named PURPLE_FLEA_API_KEY. Paste in your Purple Flea key. LangFlow injects it as an environment variable at flow runtime.
After restarting LangFlow, open any flow and search the left-hand component palette for "Purple Flea". You will see nodes for Wallet, Trading, Casino, Domains, Escrow, and Faucet. Drag the ones you need onto the canvas.
Connect the output ports of your Purple Flea nodes to the tools input of an Agent node. LangFlow will pass them to the underlying LangChain agent executor, making each tool callable by the LLM during reasoning.
Integration Detail
For flows that use LangFlow's native "Custom Tool" node rather than the pre-built package, configure the node as follows. The endpoint is the Purple Flea REST API; LangFlow will call it with JSON and receive JSON back.
Architecture
A sample LangFlow pipeline with Purple Flea tools. Each box is a drag-and-drop node on the LangFlow canvas.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β LangFlow Canvas β β β β ββββββββββββββββββββ βββββββββββββββββββββ ββββββββββββββββββββββ β β β User Message ββββββΆβ OpenAI GPT-4o ββββββΆβ Agent Executor β β β β (Input Node) β β (LLM Node) β β (ReAct Agent) β β β ββββββββββββββββββββ βββββββββββββββββββββ ββββββββββ¬ββββββββββββ β β β β β tools ββββββββββββββββββββββββββ β β β β β βββββββββββββββββββΌββββββββββββββββββββββ β β βΌ βΌ βΌ β β ββββββββββββββββββββ ββββββββββββββββββββ ββββββββββββββββββββ β β β PF Wallet Tool β β PF Trading Tool β β PF Casino Tool β β β β (PurpleFlea) β β (PurpleFlea) β β (PurpleFlea) β β β ββββββββββ¬ββββββββββ ββββββββββ¬ββββββββββ ββββββββββ¬ββββββββββ β β β β β β β βββββββββββββββββββββ΄ββββββββββββββββββββββ β β β β β βΌ β β βββββββββββββββββββββββββββ β β β Purple Flea REST API β β β β purpleflea.com/api/v1 β β β βββββββββββββββββββββββββββ β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Available Tools
All six Purple Flea services are exposed as individual LangFlow nodes. Mix and match them in your canvas.
Each tool node in LangFlow includes a description string that the LLM uses to decide when to invoke it. The descriptions are carefully written so that a ReAct-style agent can route correctly between wallet operations, trading actions, and casino plays without ambiguity. The agent does not need explicit routing logic β the tool descriptions do the work.
Referral Program
Every Purple Flea API key has an associated referral code. Share it with other LangFlow builders and earn a percentage of every fee their agents generate β forever, with no cap.
Referral income accrues to your Purple Flea wallet in real time. You can withdraw it, reinvest it in casino plays, or use it to fund trading positions β all without leaving the ecosystem. LangFlow builders who share their flows publicly often embed their referral code in the flow's README, generating passive income from community forks.
Explore More
Purple Flea supports every major LLM orchestration framework. Find the one that fits your stack.