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 8,765 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Senti-MCP AGENTS.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,765 This file is loaded in full into every session.
When invoked 8,765 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.08765 $0.08765
Opus 5.5 $0.03506 $0.03506
Sonnet 5.5 $0.01753 $0.01753
Haiku 4.5 $0.00877 $0.00877

Measured 1mo ago against content hash e0416a79fb71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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 · 447 lines

How it starts

The opening of the file, as written. The whole thing — 447 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.9.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_timeseries — all 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) — until 2.9.0, when the cut moved to the server: the tool now asks for view=summary and returns the API's own DraftSummary, and notes is always empty (US-9.1, CONTEXT D49). 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 · 447 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. 1mo ago Changed · +4 lines · +87 tokens per session e0416a79fb71
  2. 1mo ago Changed · +3 lines · +119 tokens per session d7fff58346c9
  3. 1mo ago Changed · +15 lines · +458 tokens per session 6212edf14c2a
  4. 1mo ago Changed · +3 lines · +78 tokens per session 91b32df66dad
  5. 1mo ago Changed · +1 lines · +45 tokens per session 9e53a0d34000
  6. 2mo ago Changed · +4 lines · +101 tokens per session 04d1931c5032
  7. 2mo 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 8d ago), licensed MIT. It adds 8,765 tokens to every session, about $0.0351 per session on Opus 5.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

Senti-MCP AGENTS.md compared with instructions from other repositories

Senti-MCP AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Senti-MCP AGENTS.mdKoniverse/Senti-MCPInstructions file28d agoMITA8,765Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode