mnemos AGENTS.md

mnemos AGENTS.md is an instructions file for Codex, OpenCode from ncz-os/mnemos. It costs 2,170 tokens per session, scanned A, original, Apache-2.0.

An installation guide for MNEMOS, a system made of a core package and optional modules. It lists each module's package, role, supported processor types, and installation details.

In plain words
What is it for?
Use it to install or deploy MNEMOS with a chosen set of modules on supported computers.
Why use it?
It prevents common setup mistakes, such as installing the wrong package name or overlooking that some modules are optional or run as separate services.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/ncz-os/mnemos/agents-md
Clone the repo
git clone --depth 1 https://github.com/ncz-os/mnemos

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 mnemos AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ncz-os/mnemos/agents-md.svg)](https://agentmods.dev/instructions/ncz-os/mnemos/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ncz-os/mnemos/agents-md"><img src="https://agentmods.dev/badge/instructions/ncz-os/mnemos/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,170 This file is loaded in full into every session.
When invoked 2,170 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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 $0.02170 $0.02170
Opus 5 $0.01085 $0.01085
Sonnet 5 $0.00434 $0.00434
Haiku 4.5 $0.00217 $0.00217

Measured 4d ago against content hash 2b77e9ff66b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mnemos AGENTS.md scanned grade A 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsS http://localhost:5002/health # everything/core/enterprise
AGENTS.md · 144 lines

How it starts

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

AGENTS.md — machine-readable install guide for MNEMOS

This file lets an automated agent install/deploy MNEMOS for an operator given a requested set of modules, deterministically. Human guide: docs/INSTALL.md.

The pip package is mnemos-core. mnemos is an image name, not a pip package — never run pip install mnemos or pip install mnemos-os.


Module registry

# id -> how to obtain it. Subsystems share the mnemos.* namespace and are
# runtime-gated: installing the dist mounts the routes; absence => HTTP 503.
modules:
  core:       { dist: mnemos-core,     extra: null,       kind: kernel,   arch: [amd64, arm64] }
  graeae:     { dist: mnemos-graeae,   extra: graeae,     kind: router,   arch: [amd64, arm64] }
  pantheon:   { dist: mnemos-pantheon, extra: pantheon,   kind: router,   arch: [amd64, arm64] }
  knemon:     { dist: mnemos-knemon,   extra: knemon,     kind: router,   arch: [amd64, arm64] }
  charon:     { dist: mnemos-charon,   extra: charon,     kind: router,   arch: [amd64, arm64] }
  stiphos:    { dist: mnemos-stiphos,  extra: null,       kind: service,  arch: [amd64, arm64], port: 8080, note: "separate service, not in the everything image" }

backends:           # selected at RUNTIME via MNEMOS_DATABASE_DSN, not by image
  sqlite:   { driver: bundled,  dsn: "sqlite:////data/mnemos.db", arch: [amd64, arm64], default: true }
  postgres: { driver: asyncpg,  dsn: "postgres://USER:PASS@HOST:5432/DB", arch: [amd64, arm64] }
  oracle:   { driver: oracledb, extra: oracle, dsn: "oracle://USER:PASS@HOST:1521/SERVICE", arch: [amd64, arm64], thin: true }
  db2:      { driver: ibm_db,   extra: db2,    dsn: "db2://USER:PASS@HOST:50000/DB", arch: [amd64] }
  mysql:    { driver: aiomysql, extra: mysql,  dsn: "mysql://USER:PASS@HOST:3306/DB", arch: [amd64, arm64] }
  mariadb:  { driver: aiomysql, extra: mysql,  dsn: "mariadb://USER:PASS@HOST:3306/DB", arch: [amd64, arm64] }

accelerators:       # OPTIONAL embedder accel; default is portable CPU llama-cpp
  openvino: { extra: openvino, arch: [amd64] }          # Intel x86-only
  cuda:     { extra: cuda,     arch: [amd64, arm64] }    # needs PyTorch CUDA index
  amd:      { extra: amd,      arch: [amd64] }           # ROCm, linux-only

images:
  mnemos-core:       { ref: "ghcr.io/ncz-os/mnemos-core",       contains: [core],                              arch: [amd64, arm64], port: 5002 }
  mnemos:            { ref: "ghcr.io/ncz-os/mnemos",            contains: [core, graeae, pantheon, knemon, charon], arch: [amd64, arm64], port: 5002, canonical_everything: true }
  mnemos-enterprise: { ref: "ghcr.io/ncz-os/mnemos-enterprise", contains: [core, graeae, pantheon, knemon, charon, oracle, db2, mysql], arch: [amd64], port: 5002, note: "the mysql driver (aiomysql) also serves the mariadb backend" }
  mnemos-stiphos:    { ref: "ghcr.io/ncz-os/mnemos-stiphos",    contains: [stiphos],                           arch: [amd64, arm64], port: 8080 }

Read the full file on GitHub · 144 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. 4d ago First seen · 144 lines · 2,170 tokens per session scan A 2b77e9ff66b9

Subscribe to this mod's changes

mnemos AGENTS.md is an instructions file published in the GitHub repository ncz-os/mnemos (31 stars, last pushed 6d ago), licensed Apache-2.0. It adds 2,170 tokens to every session, about $0.0109 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.