Suwappu

io.github.0xSoftBoiPublished by GitHub account 0xSoftBoiv0.1.1Updated Oct 24, 2026

Cross-chain DEX for AI agents. Swap tokens across 7+ chains.

VerifiedSTDIODesktop onlyFinanceDeveloper Tools

Overview

AI-generated overview

Suwappu is a cross-chain DEX MCP server that lets an assistant discover chains and tokens, quote and simulate swaps, and prepare unsigned self-custody…

What you can do
  • Discover chains, tokens, prices, portfolio and market metadata
  • Quote swap intents and compare eligible routes across chains
  • Simulate a proposed swap before signing
  • Prepare an unsigned self-custody transaction for the caller to sign and broadcast
  • Access broader workflows such as perps, prediction markets, lending, BTC bridging and orders where supported
When to use it
Useful when you want an AI agent to research and price onchain trades across several chains, or to build unsigned swap transactions that a human or wallet still signs. Start at discovery and quote levels and only add transaction preparation with explicit policy and limits.
Requirements
Runs as a local npm package over stdio, or as a hosted endpoint. Needs a Suwappu agent credential stored in the SUWAPPU_API_KEY environment variable, obtained by registering an agent with the Suwappu API. Network access to the Suwappu API is required.
Before you install
The API key is a credential for a money-related platform; keep it out of source and logs. The execute_swap tool prepares unsigned transactions rather than moving funds, but signing and broadcasting them moves real money, so apply allowlists, spend limits and approval. The README warns that model output and third-party text should be treated as untrusted input to execution policy.

Installation

In SourceWeft

  1. Open Suwappu in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Suwappu

The execution layer for onchain apps and agents.
Route across chains, simulate before money moves, and choose self-custody or managed execution from the same platform.

Quickstart  ·  Terminal  ·  Telegram  ·  Developer Docs  ·  Product Status  ·  Security

[Suwappu]

suwappu.bot — products, research, and developer entry points.

[Suwappu Terminal]

terminal.suwappu.bot — markets, charts, swaps, orders, and portfolio.


ETHGlobal Tokyo 2026 — Agent Swap Passport

Live demo → suwappu.bot/passport

One wallet, checked live: try to swap unverified and a Uniswap v4 beforeSwap hook (0xc72ab4dF…c080) reverts at zero gas. Scan World ID and the server mints the wallet a real ENSv2 subname under suwappu-agents.eth on Sepolia and allowlists it on the same hook. Swap again — it executes through the same pool. One verification, three sponsor integrations, all proven in one recorded per-wallet run. Every claim is backed by a real Sepolia transaction, not a mock — see docs/ethglobal-tokyo2026/SUBMISSION.md for exact file:line pointers, tx hashes, and a 2-minute self-verification path per sponsor track (World ID/IDKit, ENSv2, Uniswap v4). Intercepta was explored but is explicitly out of scope for this submission — not demoed, no live API key provisioned.


NEAR HACKATHON 2026 — Suwappu Arbiter (“Proof of Done”)

Trustless milestone escrow for human and agent work. Delivery verified inside an OutLayer Intel TDX enclave; settlement enforced by the contract. One-line problem: every agent marketplace holds money in escrow but can’t prove the work was done. Arbiter closes the loop — a hash-pinned arbiter WASM verifies the evidence (the enclave fetches the PR from the GitHub API itself; no shared secret, no caller-supplied evidence), and every verdict is anchored on-chain as a signed work attestation.

Live demo → suwappu.bot/arbiter (dry-run by default; no funds needed). Built as a product line — see ARBITER.md for the 12-month plan — with an open attestation spec at docs/arbiter-attestation-v1.md. Hackathon work (baseline commit 99161598, the last commit before the build window): pull requests #1096, #1098, #1099; everything under near/, showcase/src/app/arbiter/ and the Arbiter docs. Judge steps (dry-run, then testnet commands) and honest scope notes are in docs/hackathon/arbiter.md.


What can I build?

GoalStart here
Add trading to an app@suwappu/sdk · Agent REST
Give an AI agent market toolsHosted MCP · A2A
Let a browser agent trade with a human in the loopWebMCP Agent Desk · /agent-terminal
Build a self-custody flowExecution ladder · custody semantics
Build managed executionAgent REST · security baseline
Trade directlyTerminal · Telegram
Understand the systemArchitecture · ADRs
Operate productionProduction inventory · monitoring

Why Suwappu

One control plane, not one venue

Suwappu normalizes an execution intent, discovers only the routes that can actually serve it, and compares eligible providers instead of hard-coding one exchange or bridge. The generated topology currently reports 45 platform chains, 18 Agent API chains, and 21 chain-gated routing integrations. Those are platform totals—not a claim that every route races every provider.

Human and agent surfaces share the same execution layer

Telegram, web/terminal clients, SDKs, REST, MCP, and A2A are different entry points into the same platform boundaries. Builders do not need a separate “agent DEX” and “human DEX” architecture.

Custody is explicit

Suwappu does not collapse “get a quote,” “prepare a transaction,” and “move funds” into one ambiguous action. Self-custody preparation and managed execution are separate capabilities with separate security consequences.

Execution is observable

The system records route candidates, selected routes, execution/status data, and settlement evidence. New execution-synchronization work adds normalized receipts, provider calibration, and historical/walk-forward replay—but remains shadow-only until evidence supports a controlled promotion.

The platform extends beyond swaps

The same API/control plane also exposes workflows for perps, prediction markets, lending, BTC bridging, orders, portfolio data, and wallet policy where supported by the relevant surface.

See Product Status for what is production, hosted, source-only, shadow, or experimental.


The execution ladder

Start with the least-privileged capability your product needs and move downward only when your policy requires it.

LevelCapabilityMoves funds?Typical surfaces
0 — DiscoverChains, tokens, prices, portfolio, market metadataNoREST · MCP · SDK · A2A
1 — QuotePrice an intent and compare eligible routesNoREST · MCP · SDK · A2A
2 — SimulateEvaluate a proposed swap before signing/executionNoREST · MCP
3 — PrepareBuild an unsigned self-custody transactionNoREST · MCP · SDK
4 — ExecuteManaged server-side executionYesExplicit Agent REST / managed SDK path

Important naming boundary: MCP execute_swap currently belongs to Level 3: it prepares an unsigned self-custody transaction. It does not invoke managed execution. A2A currently stops at discovery/quote semantics and has no fund-moving method.

For an AI system, begin at Levels 0–2 with an application-owned allowlist. Add Level 3 or 4 only with explicit policy, limits, and approval appropriate to the value at risk.


First useful integration

1. Register an agent credential

bash
curl -X POST https://api.suwappu.bot/v1/agent/register \  -H 'Content-Type: application/json' \  -d '{"name":"my-agent"}'

Store the returned suwappu_sk_... as SUWAPPU_API_KEY. Do not commit it.

2. Discover supported chains

bash
curl https://api.suwappu.bot/v1/agent/chains \  -H "Authorization: Bearer $SUWAPPU_API_KEY"

Do this at runtime instead of embedding a chain count in application code.

3. Request a quote with the TypeScript SDK

ts
import { Suwappu } from "@suwappu/sdk";
const suwappu = new Suwappu({  apiKey: process.env.SUWAPPU_API_KEY,});
const quote = await suwappu.getQuote({  from: "USDC",  to: "ETH",  chain: "base",  amount: "100",});
console.log(quote.toAmount);

Install the SDK with:

bash
npm install @suwappu/sdk

Repository source can move ahead of the published package. Check the SDK README and Product Status when version boundaries matter.

Or connect an MCP client

json
{  "mcpServers": {    "suwappu": {      "url": "https://api.suwappu.bot/mcp",      "headers": {        "Authorization": "Bearer suwappu_sk_..."      }    }  }}

Discover tools/resources/prompts at runtime rather than copying a static registry from documentation.

Continue with the full quickstart or MCP / SDK / REST / A2A guide.


Execution model

text
Intent  │  ├─ identity / auth / wallet policy  ├─ route eligibility  ├─ parallel quote discovery  ├─ safety + simulation + limits  │  ├─ self-custody ──> unsigned transaction ──> caller signs/broadcasts  │  └─ managed ───────> explicit execution path ──> status / settlement evidence                                      │                                      └─> receipts / scoring / replay evidence

Routing is capability- and chain-gated. The canonical generated counts live in showcase/src/data/stats.generated.json; application code should use runtime discovery APIs.

Major capability areas

  • Execution: same-chain/cross-chain swaps, limit orders, DCA, MEV-aware routes.
  • Markets: HyperLiquid perps, predictions, market discovery.
  • Capital: lending/savings and BTC bridge workflows.
  • Automation: alerts, copy trading, sniping, transaction/portfolio workflows.
  • Policy: simulation, spending limits, 2FA, withdrawal allowlists, token safety checks.
  • Agents: REST, hosted MCP, A2A, TypeScript/Python SDKs, framework examples.

Feature availability varies by client and chain. Use Feature Guides and Product Status instead of assuming monorepo presence means universal availability.


Architecture

mermaid
flowchart LR    subgraph Clients["Entry points"]        Human["Telegram · Web · Terminal · Mobile"]        Apps["TypeScript/Python SDK · REST"]        Agents["MCP · A2A"]    end
    subgraph Platform["Suwappu"]        API["API + control plane"]        Policy["Auth · simulation · safety · wallet policy"]        Router["Eligibility · quote race · execution"]        Evidence["Status · receipts · execution evidence"]    end
    subgraph Settlement["External execution + settlement"]        Providers["Chain-gated routers / venues"]        Chains["EVM · Solana · TRON · Starknet · others"]    end
    Human --> API    Apps --> API    Agents --> API    API --> Policy --> Router --> Providers --> Chains    Router --> Evidence

The production runtime includes request-serving services, dedicated workers, bridge/relayer services, signal/on-chain ingestion, Postgres, and Redis. Do not infer deployment topology from source directories; use the production inventory.

For system boundaries, data flows, key handling, and background services, read the Architecture Overview.


Production vs research

Suwappu intentionally keeps experimental work visible without presenting it as live money-path behavior.

AreaStatusMeaning
Terminal / web / Telegram / core APIsProductionUser- or application-facing runtime surfaces
Hosted MCP / Agent REST / A2AHostedLive programmatic interfaces; capabilities differ by surface
TypeScript SDKPublished + sourcenpm package plus monorepo source; source may be ahead
Python SDKSource-onlyUse a pinned repository revision for production integration
execution_sync*ShadowRead-only calibration/replay evidence; not routing authority
contracts/primitives/Experimental / readiness-gatedPresence in repo does not imply deployment or production dependency

The canonical definitions and version caveats are in Product Status.


Security model for builders

Suwappu moves money, so the security boundary belongs next to the integration flow—not at the bottom of the docs.

  • Keep credentials out of source and logs.
  • Prefer runtime discovery plus an application-owned allowlist of tools/capabilities.
  • Treat model output and third-party text as untrusted input to execution policy.
  • Simulate unfamiliar routes before enabling execution.
  • Keep self-custody signing separate from managed execution.
  • Add explicit spend/value/destination policies before granting an agent Level 3 or 4 capability.
  • Treat signing, custody, routing, withdrawals, fee collection, and authorization changes as MONEY-PATH code requiring adversarial review.

Read SECURITY.md and the agent security baseline. The checked-in CycloneDX SBOM, CodeQL, and OpenSSF tooling are security evidence—not an audit or compliance certification.


Engineering contracts

Fast-moving infrastructure becomes unreliable when docs, config, and deployment state each invent their own truth. Suwappu keeps important facts in versioned contracts:

ContractSource of truth for
stats.generated.jsonPublic chain/router counts
.env.schemaEnvironment-variable contract
capabilities.yamlOptional capability/provider manifest
ARCHITECTURE.mdNormative system boundaries
docs/adr/Architecture decisions
docs/deployment/production-inventory.mdCurrent production service catalog snapshot
docs/product-status.mdMaturity and publication semantics

Docs-only changes can be checked with:

bash
./scripts/verify.sh docs

For local setup and component-specific test lanes, use ONBOARDING.md.


Repository map

text
suwappubot/├── api-ts/             # Agent REST, MCP, A2A, webapp and execution routes├── api/                # Python FastAPI entry points├── bot/                # Bot, execution engine, services, workers, models├── webapp/             # React/Vite application├── terminal/           # Trading terminal / Mini App├── mobile/             # Expo iOS client├── extension/          # Browser wallet extension├── showcase/           # Public website, products, research, generated stats├── contracts/          # Solidity contracts and protocol primitives├── packages/           # SDKs, MCP bridge, OpenClaw, design tokens├── docs/               # Product, architecture, security, operations, research├── database/           # Schema/bootstrap and runtime migrations├── scripts/            # Verification, replay, maintenance, ops tooling├── monitoring/         # Health/monitoring manifests├── sbom/               # CycloneDX software bill of materials└── .github/workflows/  # CI, security and deployment workflows

Documentation

ResourceUse it for
QuickstartFirst successful user/agent/app integration
Agent clientsMCP, SDK, REST, A2A, auth and custody semantics
Product statusProduction vs hosted vs source-only vs shadow vs experimental
Feature guidesUser-facing capability workflows
ArchitectureRuntime boundaries and request/data flows
Production inventoryRailway service-catalog snapshot
ADRs · DecisionsWhy important choices exist
Onboarding · ContributingWork on the monorepo
Security · SupportVulnerabilities and help

License

Apache-2.0. See LICENSE.

Source: README.md at commit e60e022

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts