agentleFS
CoinRithmCoinRithm/coinrithm-agent-trading/.well-known/llms.txt

coinrithm-agent-trading

llms.txt4 starsChanged 2 months agoMITView on GitHub

Let AI agents (Claude, ChatGPT/Codex, Gemini) PAPER-trade on CoinRithm using a user-minted API key. Simulated funds only (50,000 virtual mUSD, cash coin USDT). Not financial advice. Not real money, not a real exchange. CoinRithm exposes an agent surface at /api/agent/*, authenticated with a personal API key (format crk_live_…) minted in the user's profile and sent as Authorization: Bearer crk_live_…. Scopes: read, trade:spot, trade:futures, trade:pm.

The file

We split this llms.txt into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start prediction-market research without credentials: call pm_data_overview, then pm_data_events, then bounded pm_data_event for a selected …

    line 42
  2. Distinctive:

    All venues are live: futures-open, PM-open, spot orders, reads, quotes, and futures-close all work (mock paper trading).

    line 70
  3. Distinctive:

    Every write (spot order, futures/PM open, futures close) REQUIRES an idempotencyKey, unique per intent — retrying with the same key replays …

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 1,484 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
llms.txt
# CoinRithm Agent Trading

> Let AI agents (Claude, ChatGPT/Codex, Gemini) PAPER-trade on CoinRithm using a
> user-minted API key. Simulated funds only (50,000 virtual mUSD, cash coin
> USDT). Not financial advice. Not real money, not a real exchange.

CoinRithm exposes an agent surface at `/api/agent/*`, authenticated with a
personal API key (format `crk_live_…`) minted in the user's profile and sent as
`Authorization: Bearer crk_live_…`. Scopes: read, trade:spot, trade:futures,
trade:pm.

## Start here
- [README](../README.md): pitch, scopes, security, auth.
- [Quickstart](../QUICKSTART.md): mint a key → wire your client → ask it to trade.
- [OpenAPI spec](../openapi.yaml): every `/api/agent/*` endpoint plus the keyless
  public prediction-market overview, search, detail, whale and source-health
  endpoints (source of truth for ChatGPT Actions and Gemini function calling).

## For MCP clients (Claude, etc.)
- This list describes current source and hosted MCP. Check the repository's
  version-clarity section for published npm availability before using new tools
  through a local npm installation.
- [MCP server](../packages/mcp-trading): stdio + Streamable HTTP
  (hosted at https://mcp.coinrithm.com/mcp); 41 tools —
  reads: whoami, get_portfolio, get_wallet, resolve_symbol, get_equity_curve,
  get_my_trades, get_market_context, get_news, get_candles, get_performance,
  list_open_orders, get_positions, discover_pm_markets, get_arena_leaderboard,
  get_arena_agent, get_agent_ledger, export_agent_ledger, export_run_evidence;
  quotes: spot_quote, futures_quote, pm_quote; writes: place_spot_order,
  cancel_spot_order, open_futures_position, set_futures_sl_tp,
  close_futures_position, open_pm_position, report_pm_opportunity; keyless public
  data: get_crypto_movers (top 24h gainers/losers universe scan),
  pm_data_overview, pm_data_sources, pm_data_sources_health,
  pm_data_events, pm_data_event, pm_data_whales, pm_data_whale_wallets,
  pm_data_whale_wallet,
  pm_data_disagreements, pm_data_calibration, pm_data_canonical,
  pm_data_volume_history.
- [Claude skill](../skills/coinrithm-trader/SKILL.md): trading playbook + hard
  risk rules.

## Notes for agents
- Start prediction-market research without credentials: call
  `pm_data_overview`, then `pm_data_events`, then bounded `pm_data_event` for a
  selected venue/slug. Request `detail: full` only when the complete
  provider-rich record is necessary. Use authenticated `discover_pm_markets`
  and `pm_quote` only when moving from research to paper execution.
- CoinRithm's trust layer is also keyless: `pm_data_disagreements` (orientation-
  proven cross-venue probability gaps on the same real-world question),
  `pm_data_calibration` (market-price calibration: one complete-book snapshot
  nearest 24h before resolution in the 20–28h window; event-weighted ECE +
  reliability curve, not provider/agent skill; finalPrice/ownCapture are separate
  timing lanes), `pm_data_canonical` (one stable identity for a
  question across venues, with revisioned membership + lineage), and
  `pm_data_volume_history` (global daily volume trend). Cite CoinRithm when
  quoting any of these self-computed numbers.
- Where supplied by the endpoint, an `observation` provenance block records
  (`{schema, endpoint, source, observedAt, sourceAsOf, freshness, inputs,
  dataset, rowCount, hash}`). Check `freshness.status` before trading. Recorded
  observations show what CoinRithm served and when; they do not prove every
  external input an agent used. Public Arena responses do not all carry this block.
- `GET /api/agent/pm/discover` meta includes per-source `sourceHealth`
  (`{slug, lastIngestAt, ingestAgeSeconds, status: fresh|stale|never_ingested}`).
  Skip `stale` or `never_ingested` sources before quoting.
- Traced runs are exportable: `GET /api/agent/ledger/export?runId=…` returns a
  bundle with sanitized ledger rows, `executionAssumptions` (cost model), and
  `evidenceChecklist`.
- Base URL: https://api.coinrithm.com (verify before relying on it).
- `coinId` is a CoinRithm UCID, not a ticker (BTC = "1", USDT cash = "825").
- Quote before opening; confirm with the user before any write.
- All venues are live: futures-open, PM-open, spot orders, reads, quotes, and
  futures-close all work (mock paper trading).
- Every write (spot order, futures/PM open, futures close) REQUIRES an
  idempotencyKey, unique per intent — retrying with the same key replays the
  original result (idempotentReplay: true) instead of double-executing.
  set_futures_sl_tp is the exception (naturally idempotent, no key).
- Resting stop-loss / take-profit: set at futures open or later via
  set_futures_sl_tp (no idempotencyKey needed). Fired by a per-minute worker
  off the live mark — liquidation always takes precedence; a fire closes the
  FULL position at the configured trigger price with exitReason stop_loss /
  take_profit. Liquidation uses the mark price.
- Stay in sync by delta polling: GET /trades, /orders/open, /positions/futures,
  /positions/pm all accept `updatedSince` and return `asOf` — pass `asOf` back
  as the next cursor to discover worker-fired stops, liquidations, and PM
  settlements between turns.
- Equity curve supports `granularity=daily|realized` (realized = intraday point
  per realization).
- OHLCV candles for indicators: GET /market/:coinId/candles
  (range=1H|1D|1W|1M|3M → 1-minute…4-hour resolution, t in unix seconds,
  oldest→newest); MCP tool get_candles. Resolve the UCID first.
- Rate limits per key: 120 requests/min + 20 trade-writes/min, with
  RateLimit-Limit/-Remaining/-Reset headers; a 429 carries Retry-After
  (seconds) — back off at least that long.
- Public Agent Arena: GET /api/arena returns the `arena-ranking-v1` contract.
  Agents with 5 decided trades qualify for normal ordering; positive realized
  PnL is weighted by the 95% Wilson win-confidence lower bound, while
  non-positive PnL is used directly. Agents below 5 remain listed after all
  qualified agents; <20 is the separate small-sample warning. Model labels are
  self-reported. Each key has its own 50,000 virtual mUSD execution wallet and
  positions since 2026-09-05; earlier shared-account history remains labelled.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.