Senti-MCP: Instructions file for Codex

AGENTS.md

Senti-MCP AGENTS.md is an instructions file for Codex, OpenCode from Koniverse/Senti-MCP. It costs 7,978 tokens per session, scanned A, original, MIT.

A project instruction file for AI coding agents working on the Senti-MCP server, an MCP server that connects AI agents to Senti Quant’s public trading API. It documents the project purpose, repository layout, and which actions read or change data.

In plain words
What is it for?
Use it when modifying the Senti-MCP server, its documentation, API tools, or read/write behavior. It helps agents understand the repository and follow its project-specific rules.
Why use it?
It gives different coding agents one shared set of instructions, reducing confusion about the codebase and API. It also clarifies how API keys, tools, errors, and write operations should be handled.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is Koniverse/Senti-MCP's own configuration. It tells Codex and OpenCode how to work on Senti-MCP itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Senti-MCP configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Koniverse/Senti-MCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Koniverse/Senti-MCP/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Koniverse/Senti-MCP

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Senti-MCP AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/koniverse/senti-mcp/agents-md.svg)](https://agentmods.dev/instructions/koniverse/senti-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/koniverse/senti-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/koniverse/senti-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,978 This file is loaded in full into every session.
When invoked 7,978 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.07978 $0.07978
Opus 5 $0.03989 $0.03989
Sonnet 5 $0.01596 $0.01596
Haiku 4.5 $0.00798 $0.00798

Measured 3d ago against content hash 04d1931c5032, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Senti-MCP AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 421 lines

How it starts

The opening of the file, as written. The whole thing — 421 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — senti-mcp-server

This file is the single source of truth for all AI agent instructions in this project. Cursor, Gemini, Codex CLI, Copilot CLI, and Claude Code all read it. CLAUDE.md is a thin pointer back to this file plus the Koni-Docs Integration block; on any conflict, this file wins.

Project purpose

An MCP server that lets a user's AI agent read and interact with Senti Quant through its Public API.

The API — https://api.sentitrade.xyz, OpenAPI 3.1 at /api/v1/openapi.json — exposes 29 operations across 22 paths, tagged Accounts, Brokers, Strategies, Performance, Trading, and Authoring. An MCP host cannot call it directly: something has to own the API key, present typed tools whose descriptions let a model choose correctly, and turn API errors into text a model can act on. This server is that something.

Current state: 2.8.0. 1.0.0 is the stable-surface cut and is tagged git-only; 1.0.1 is the version that carried it to the registry (CONTEXT D11, D12). Fourteen read tools are registered unconditionally in src/server.ts, and seven write tools — create_draft, update_draft, delete_draft, add_draft_attachment, update_draft_attachment, delete_draft_attachment and compile_draft — are registered only when SENTI_ENABLE_AUTHORING_WRITE is set, so a host that does not opt in sees the same fourteen it saw in 2.4.0. That closes EPIC-8: seven of the Authoring tag's eight write operations have a tool, register being the deliberate exception. The read tools: get_authoring_conventions, list_drafts, get_draft, list_draft_attachments, list_accounts, list_brokers, list_strategies, list_account_strategies, list_positions, list_pending_orders, list_deals, get_account_performance, get_performance_breakdowns, get_equity_timeseriesall 14 of the API's GET operations now have a tool, closing EPIC-7. list_accounts shipped first, in v0.1.0, tracked as US-2.2 and proven against the live API by US-2.3; the next five closed out sprint-2026-W33's Phase 1, tracked as US-2.4 through US-2.9; Phase 3 added the last four — get_account_performance in 1.1.0 (US-2.10), list_deals in 1.2.0 (US-2.11, the first paginated tool — one call is one request, and it never drains a cursor: CONTEXT D24), get_performance_breakdowns in 1.3.0 (US-2.12, the first tool that returns materially less than the API gave it — five cuts, and a notes line only for the two that lose something: CONTEXT D25), and get_equity_timeseries in 1.4.0 (US-2.13, whose downsample pins the first point, the last point and the deepest drawdown, ranked by magnitude because the API never declares the sign: CONTEXT D26). EPIC-2 closed done on 2026-08-12 with the read path complete — complete against the API as it stood that day. The API has since grown a new Authoring tag, which is what EPIC-7 exists to catch up to: get_authoring_conventions shipped in 2.1.0 (US-7.1), the first of that tag's four GET operations. It reads the platform's own MQL5 authoring contract — hard-safety constraints, trading-safety requirements, the static analyzer's forbidden-construct list, and the limits block an agent must read before generating source, since those five ceilings are also what size the cuts the remaining tools make. get_draft shipped in 2.2.0 (US-7.2), the second of that tag's four GET operations. It returns one draft's full source, compiler log and diagnostics, cut one way — attachment source is replaced with a byte count, undone by list_draft_attachments — and it is the module that owns DraftSchema and AttachmentSchema, which list_drafts and list_draft_attachments import rather than redeclare. list_drafts shipped in 2.3.0 (US-7.3), the third of that tag's four GET operations and the largest payload the API can produce — up to 10.3 MiB across 20 drafts. It cuts four things (source, attachment source, compile log, diagnostics) and notes all four in one sentence; measured live on 2026-08-20, 19,853 B → 1,898 B, 90.4% removed (CONTEXT D32). list_draft_attachments shipped in 2.4.0 (US-7.4), the fourth and last of that tag's GET operations. It returns the indicator source get_draft leaves out, bounded by a 64 KiB budget rather than a truncation — the running total is checked after an attachment is added, not before, which is what caps the response at 64 KiB instead of admitting 127 KiB — and a filename filter that reads one attachment whole, including one the budget cut. This closes EPIC-7: all 14 of the API's GET operations now have a tool. The budget and the filename filter are proven only against synthetic sizes — the smoke account holds 4 drafts and 0 attachments in all 4 — and EPIC-7's close states that rather than letting a green suite imply otherwise.

Read the full file on GitHub · 421 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +4 lines · +101 tokens per session 04d1931c5032
  2. 7d ago First seen · 417 lines · 7,877 tokens per session scan A 8c65ecd1845a

Subscribe to this mod's changes

Senti-MCP AGENTS.md is an instructions file published in the GitHub repository Koniverse/Senti-MCP (2 stars, last pushed 3d ago), licensed MIT. It adds 7,978 tokens to every session, about $0.0399 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens