Borrowing it
Nothing to install: this file belongs to monkey2jack/aiduMEI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/monkey2jack/aiduMEI/main/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/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.
<a href="https://agentmods.dev/instructions/monkey2jack/aidumei/agents-md"><img src="https://agentmods.dev/badge/instructions/monkey2jack/aidumei/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.01538 | $0.01538 |
| Opus 5.5 | $0.00615 | $0.00615 |
| Sonnet 5.5 | $0.00308 | $0.00308 |
| Haiku 4.5 | $0.00154 | $0.00154 |
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 7d 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 -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 — 127 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; uses the native single-SQLite kernel unless AIDUMEI_MEMORY_KERNEL says otherwise (raw text + full-text recall, distillation needs an LLM) |
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
Fetched model files are verified file-by-file against the sha256 manifest scripts/local_embed_model_sha256.json — a mismatch is deleted and the script exits non-zero; entries marked unverified are skipped with a WARNING and never block deployment.
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.
- 7d ago Changed · +35 tokens per session e04cb283e062
- 27d ago Changed · +45 tokens per session 1c46aa10a193
- 1mo ago Changed · +6 lines · +103 tokens per session b3be278651d1
- 1mo ago Changed · +4 lines · +63 tokens per session 114532046891
- 1mo ago Changed · +4 lines · +160 tokens per session 0b82a39188ec
- 2mo ago Changed · +1 lines · +17 tokens per session 77429e00018e
- 2mo ago 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 (21 stars, last pushed 2d ago), licensed MIT. It adds 1,538 tokens to every session, about $0.0062 per session on Opus 5.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.
aiduMEI AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aiduMEI AGENTS.mdmonkey2jack/aiduMEI | Instructions file | 21 | 2d ago | MIT | A | 1,538 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |