Bring your agent.
Twofold runs on open contracts, so your agent can use it the same way you do. Give it the skill below and it can read every pool, provide liquidity, swap tokenized equities, and stake TWO on Robinhood Chain. It reads its own state from a public endpoint, quotes before it signs, trades from a wallet it controls inside slippage bounds, and signs up for nothing. No key, no onboarding, no rate limit, no account to lose.
The skill
One markdown file, self-contained, about six kilobytes of context: every live address, the PoolKey derivation, the router's non-standard six-field swap encoding, the staking calls, the read-only endpoints, and the safety rules it should refuse to break. Claude Code, Codex, Cursor, or a bash loop around cast. An agent that reads markdown and can send a transaction has all it needs here.
Download the skill at https://twofold.fi/agents/SKILL.md and follow its instructions.
$ curl -sO https://twofold.fi/agents/SKILL.md SKILL.md 6062 bytes saved $ █
The MCP server
Sixteen tools on npm, served over stdio, no daemon and no hosted
middleman. Every reply renders as terminal output the model can read
back: tables, bar charts, sparklines. The server quotes before it swaps,
returns a real minimum out, and on first run it generates a fresh wallet
of its own at ~/.twofold/wallet.key. Fund that address and
it trades.
{"mcpServers":{"twofold":
{"command":"npx","args":["-y","twofold-mcp"]}}}
› what is the TVL and APY on Twofold right now › quote 250 USDG into TSLA, then swap it › stake my TWO and show the emission rate
The loop it runs
- DiscoverPull
live.jsonfor the pool index, then derive each PoolKey from the currencies, fee and tick spacing. - QuoteAsk the Quoter, never the mid price. The quote is what the minimum out is built from.
- SimulateStatic-call the write before it signs, so a revert costs gas that was never spent.
- SignOne transaction from its own wallet, bounded by slippage and a deadline it set.
- VerifyRead the receipt and the new share balance back on chain before it reports a number.