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.
npx agentmods add instructions/monkey2jack/aidumei/agents-mdgit clone --depth 1 https://github.com/monkey2jack/aiduMEIWrote 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.
[](https://agentmods.dev/instructions/monkey2jack/aidumei/agents-md)<a href="https://agentmods.dev/instructions/monkey2jack/aidumei/agents-md"><img src="https://agentmods.dev/badge/instructions/monkey2jack/aidumei/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01115 | $0.01115 |
| Opus 5 | $0.00558 | $0.00558 |
| Sonnet 5 | $0.00223 | $0.00223 |
| Haiku 4.5 | $0.00112 | $0.00112 |
Grade A, and why
aiduMEI 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 today.
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 -s -H "Authorization: Bearer $AIDUMEM_API_TOKEN" http://127.0.0.1:8767/health | jq '.health_status, .degraded, .probes.runtime_paths' How it starts
The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Deploy, Verify, Operate aiduMEI
aiduMEI is a self-hosted long-term memory and wisdom engine for AI agents. It stores extracted facts, raw records, core memory, and recall traces behind a local HTTP API. It works with your host's native memory as the durable long-term layer; the host remains responsible for short-term conversation state.
Choose your engine mode
| Need | Mode | Requires | Effect |
|---|---|---|---|
| Lowest footprint | AIDUMEI_ENGINE_MODE=cloud |
Cloud LLM + embedding keys | No local model; during an outage recall is honestly degraded |
| Default resilience | AIDUMEI_ENGINE_MODE=auto |
Cloud keys + pip install .[local-embed] + model fetch |
Cloud-first, automatic local fallback and recovery |
| Fully local | AIDUMEI_ENGINE_MODE=local |
Local embed dependencies and model; no API keys | Zero cloud tokens and zero outbound model calls |
One-Line Prompt (canonical)
Send the canonical deployment text (all of prompts/install.txt, 13 lines) to your Agent — do not paraphrase it. Every step is judged by script exit codes and JSON evidence only.
Changing mode requires a service restart. If you previously ran cloud, run the local-vector backfill before expecting the local gear to recall older memories.
Install and start
git clone https://github.com/monkey2jack/aiduMEI.git
cd aiduMEI
python3.12 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp mem0_config_local.json.example mem0_config_local.json
cp .env.example .env
# Edit mem0_config_local.json: set llm.config and embedder.config.
# Edit .env: set AIDUMEM_ENTITY_KEYWORDS and, if exposing beyond loopback, AIDUMEM_API_TOKEN.
python api_server.py
For auto or local, also run:
pip install .[local-embed]
python scripts/fetch_local_embed_model.py
Prove memory is actually working
Run the end-to-end smoke after the service starts:
python scripts/e2e_smoke.py --json
Expected output: JSON ending with "status": "PASS", zero failures, and zero warnings; process exit code 0. /health: ok alone is not sufficient — this script writes a nonce, recalls it from a new request, checks trace visibility, and cleans up its temporary tenant.
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.
- today First seen · 112 lines · 1,115 tokens per session scan A 16eb39ed6f51
aiduMEI AGENTS.md is an instructions file published in the GitHub repository monkey2jack/aiduMEI (18 stars, last pushed yesterday), licensed MIT. It adds 1,115 tokens to every session, about $0.0056 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-09-04.
Other instructions, from other repositories
EverOS CLAUDE.md
Claude Code instructions for EverMind-AI/EverOS, covering everos — md-first memory extraction framework, quick commands, architecture, engineering practices and branch strategy.
MemOS CLAUDE.md
Claude Code instructions for MemTensor/MemOS, covering claude.md, claude code entry, sub-agents and project knowledge.
activity-frames AGENTS.md
Instructions for nossa-y/activity-frames, covering can i install it without asking?, the mental model (10 seconds), fastest integration: mcp, from python and things you should not do.
powercontext AGENTS.md
AGENTS.md instructions for oceanbase/powercontext, covering repository guidelines, project structure & module organization, build, test, and development commands, agent skills and coding style & naming conventions.
MemOS AGENTS.md
AGENTS.md instructions for MemTensor/MemOS, covering agents.md, project overview, repository layout, command cheatsheet and core api.
Rapid-MLX AGENTS.md
AGENTS.md instructions for raullenchai/Rapid-MLX, covering rapid-mlx engineering team, team, working model, required task lifecycle and durable knowledge.