Letta-MCP-server: Instructions file for Codex

AGENTS.md

Letta-MCP-server AGENTS.md is an instructions file for Codex, OpenCode from oculairmedia/Letta-MCP-server. It costs 2,358 tokens per session, scanned C, original, MIT.

Agent instructions for the Letta MCP Server project, including its Huly issue tracker, project manager agent, shared memory, and reporting process. Huly is a tool for managing software issues and projects.

In plain words
What is it for?
Use them before starting a task to find related issues, during work to save discoveries, and after finishing to report the result.
Why use it?
They keep work linked to existing issues and require important findings and completed work to be reported to the project's other agents.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: names the TodoWrite tool.

This is oculairmedia/Letta-MCP-server's own configuration. It tells Codex and OpenCode how to work on Letta-MCP-server 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 Letta-MCP-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to oculairmedia/Letta-MCP-server. 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/oculairmedia/Letta-MCP-server/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/oculairmedia/Letta-MCP-server

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 Letta-MCP-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/oculairmedia/letta-mcp-server/agents-md/github.svg)](https://agentmods.dev/instructions/oculairmedia/letta-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/oculairmedia/letta-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/oculairmedia/letta-mcp-server/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 Letta-MCP-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/oculairmedia/letta-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/oculairmedia/letta-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,358 This file is loaded in full into every session.
When invoked 2,358 The same file — it is already loaded in full.
Security scan C 1 finding. 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.02358 $0.02358
Opus 5 $0.01179 $0.01179
Sonnet 5 $0.00472 $0.00472
Haiku 4.5 $0.00236 $0.00236

Measured 10d ago against content hash 4c0e397e4070, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

Letta-MCP-server AGENTS.md scanned grade C with 1 finding 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 10d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- VIBESYNC:beads-instructions:START -->
AGENTS.md · 266 lines

How it starts

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

Agent Instructions

Huly Integration

  • Project Code: LMS
  • Project Name: Letta MCP Server
  • Letta Agent ID: agent-13eb4426-b06f-4d35-ae5a-5d6ca80409f5

Workflow Instructions

  1. Before starting work: Search Huly for related issues using huly-mcp with project code LMS
  2. Issue references: All issues for this project use the format LMS-XXX (e.g., LMS-123)
  3. On task completion: Report to this project's Letta agent via matrix-identity-bridge using talk_to_agent
  4. Memory: Store important discoveries in Graphiti with graphiti-mcp_add_memory

PM Agent Communication

Project PM Agent: Huly - Letta MCP Server (agent-13eb4426-b06f-4d35-ae5a-5d6ca80409f5)

Reporting Hierarchy

User (Primary Stakeholder)
    ↓ communicates with
PM Agent (Technical Product Owner - mega-experienced)
    ↓ communicates with
You (Developer Agent - experienced)

MANDATORY: Report to PM Agent

BEFORE reporting outcomes to the user, send a report to the PM agent via Matrix:

{
  "operation": "talk_to_agent",
  "agent": "Huly - Letta MCP Server",
  "message": "<your report>",
  "caller_directory": "/opt/stacks/letta-MCP-server"
}

When to Contact PM Agent

Situation Action
Task completed Report outcome to PM before responding to user
Blocking question Forward to PM - they know user's wishes and will escalate if needed
Architecture decision Consult PM for guidance
Unclear requirements PM can clarify or contact user

Report Format

**Status**: [Completed/Blocked/In Progress]
**Task**: [Brief description]
**Outcome**: [What was done/What's blocking]
**Files Changed**: [List if applicable]
**Next Steps**: [If any]

Read the full file on GitHub · 266 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. 10d ago First seen · 266 lines · 2,358 tokens per session scan C 4c0e397e4070

Subscribe to this mod's changes

Letta-MCP-server AGENTS.md is an instructions file published in the GitHub repository oculairmedia/Letta-MCP-server (78 stars, last pushed 2d ago), licensed MIT. It adds 2,358 tokens to every session, about $0.0118 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

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

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,153 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

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

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens