Tetrac
Agent Toolkit

Skills & tools for your trading agents

Connect your own agent to the TTC API for real-time market data and begin perp trading across CEX & DEX exchanges in a standardized way.

Plain Text (Agents)

Skills

Integrate

Integrate skills into your agent

Two ready-to-go paths, and a DIY option for custom frameworks.

Option 1 — TTC CLIRecommended

The skill-trading CLI ships with 18 skills under .claude/skills/ (trading, DCA, TWAP, grid, market-maker, …). Claude Code discovers them when you open the repo — no loader, no prompt injection, no schema glue. See all 18 skills.

https://gitlab.com/tradingtoolcrypto/rust-cli-ttc-api
# clone the CLI: its skills live in .claude/skills/
git clone https://gitlab.com/tradingtoolcrypto/rust-cli-ttc-api.git
cd rust-cli-ttc-api

# optional: build skill-trading for this machine (Rust 1.75+).
# Prebuilt macOS arm64 and linux-x64 binaries already ship in
# .claude/skills/skill-trading/scripts/
make release

# open the project in Claude Code: the skills load on start
claude

CLI skills load only when used, so an idle agent carries no tool schemas in its context.

Option 2 — MCP server

For any MCP-capable host (Claude Desktop, Cursor, Windsurf, custom agents): point at the TTC MCP endpoint and pass your session headers — the server forwards ttc-auth-token and ttc-public-keythrough to the exchanges API so paid tools resolve without an x402 payment. Skills become callable tools in the agent's toolbox.

https://www.tetrac.xyz/api/v1/mcp

Remote (Streamable HTTP)

{
  "mcpServers": {
    "ttc": {
      "type": "http",
      "url": "https://www.tetrac.xyz/api/v1/mcp",
      "headers": {
        "ttc-auth-token": "${TTC_AUTH_TOKEN}",
        "ttc-public-key": "${TTC_PUBLIC_KEY}"
      }
    }
  }
}

Export TTC_AUTH_TOKEN and TTC_PUBLIC_KEY in your shell (never hard-code them).

Copy both values from Dashboard → MCP Headers. The token lasts 24 hours, and signing in again anywhere replaces it.

Works everywhere MCP works, but the tool schemas stay in the agent's context for the whole session.

Option 3 — custom agent framework

Building your own agent loop? Fetch the SKILL.md files above, put their frontmatter in the system prompt, and give the model an HTTP tool. The skills describe every request.