Zenith: Instructions file for Codex

AGENTS.md

Zenith AGENTS.md is an instructions file for Codex, OpenCode from bigduu/Zenith. It costs 3,474 tokens per session, scanned A, original, MIT.

Repository instructions for Zenith, covering its code layout, naming style, shared memory through Jiandu MCP, and build and test commands. A monorepo is a repository that contains multiple related parts of a project.

In plain words
What is it for?
Organising changes, using shared project notes, and running builds or tests in the Zenith repository.
Why use it?
They help an AI coding agent understand the project structure and follow the team’s coding and verification rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; mentions AGENTS.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to bigduu/Zenith. 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/bigduu/Zenith/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/bigduu/Zenith

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bigduu/zenith/agents-md"><img src="https://agentmods.dev/badge/instructions/bigduu/zenith/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,474 This file is loaded in full into every session.
When invoked 3,474 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.03474 $0.03474
Opus 5.5 $0.01390 $0.01390
Sonnet 5.5 $0.00695 $0.00695
Haiku 4.5 $0.00347 $0.00347

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

Security

Grade A, and why

Zenith 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 8d 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 · 285 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

Zenith is a thin monorepo wrapper around eight Git submodules:

  • bamboo/: Rust AI-agent backend framework (src/, tests/, docs/).
  • bodhi/: Tauri desktop shell (src-tauri/) that coordinates with lotus-next.
  • pavilion/: React + Vite official website and docs (src/, public/).
  • bodhi-server/: Go backend API server (api/, internal/, cmd/).
  • nova/: Rust computer-use MCP server for native desktop interaction.
  • lotus-next/: responsive next-generation React + Vite frontend.
  • magpie/: standalone IM connector and Bamboo service plugin.
  • jiandu/: agent-independent filesystem memory store and one-tool stdio MCP server.

Root files (README.md, .gitmodules) manage submodule pointers; most feature work happens inside submodules.

Key architecture docs:

  • bamboo/docs/design/architecture-overview.md — start here: how the broker-mediated sub-agent system deploys (broker / orchestrator / worker), how the crates are organized, and how the deployment capability works.
  • bamboo/docs/design/remote-mailbox-broker-design.md — the standalone message broker + ask_agent/deploy_agent design (SHIPPED status).
  • bamboo/docs/design/remote-actor-plan.md — remote-actor seams (P0/P1/P2): launcher / discovery / placement abstractions.

Shared Memory via Jiandu MCP

Use the Jiandu server's single memory tool; an MCP host may expose it under a namespace such as mcp__jiandu__memory. Select behavior with its action. Never edit Jiandu data files directly or create repository files as a memory fallback. Bamboo may optimize recalled memory while assembling agent context; other agents should use the same store only through Jiandu MCP.

  • Recall before guessing. Build a short lexical query from the useful keywords and entities; a non-empty query defaults to three compact IDs and summaries. Use get only for a selected item, and use session_read only for continuity within the current host session or workstream. Do not request embeddings.
  • Write at the right layer. Use Session notes for concise temporary progress; use durable write only for a confirmed, non-derivable fact that will help a future session. Do not store secrets, raw logs, tentative conclusions, or routine task completion.
  • Treat Jiandu's independent data root as the only canonical durable store. Migration may seed it once; hosts must not keep a dual writer, second index, or repository-file fallback.
  • Respect scope and authority. Project memory is for project-specific facts, Global memory is only for truly cross-project facts, and Session memory stays tied to the host session_id. Project access comes from the MCP host; do not invent a project_key or move a Project fact to Global when access is absent.
  • Jiandu persists host-generated Dream snapshots and maintains the optional portable usage Skill. The host still owns Dream model choice, prompting, cadence, retries, and scheduling, and must explicitly install or enable the Skill; the memory tool never executes or stores a complete Skill.
  • Treat recalled memory as supporting evidence and verify it against current files and tools. If a mutation result is uncertain, verify the targeted topic or item before retrying. Run rebuild only when Jiandu explicitly reports stale derived artifacts. If Jiandu is unavailable, continue from current evidence, disclose a material gap, and do not create a fallback memory file.

Read the full file on GitHub · 285 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. 8d ago Changed · +3 lines · +35 tokens per session f102d7b7af2e
  2. 9d ago Changed · +3 tokens per session 86bcd7f42ace
  3. 10d ago Changed · +27 lines · -50 tokens per session d47175a34b8c
  4. 18d ago Changed · -20 lines · -406 tokens per session aba981ccedd1
  5. 29d ago Changed · +6 lines · +340 tokens per session 5e87805de56d
  6. 1mo ago Changed · +6 lines · +72 tokens per session 870239c3776c
  7. 1mo ago Changed · -1 lines · -19 tokens per session dbe0f3bba859
  8. 1mo ago Changed · +7 lines · +274 tokens per session a3ec2197e1aa
  9. 2mo ago Changed · +8 lines · +125 tokens per session 8a89143319a6
  10. 2mo ago First seen · 249 lines · 3,100 tokens per session scan A 39558ca6b43d

Subscribe to this mod's changes

Zenith AGENTS.md is an instructions file published in the GitHub repository bigduu/Zenith (6 stars, last pushed yesterday), licensed MIT. It adds 3,474 tokens to every session, about $0.0139 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

Zenith AGENTS.md compared with instructions from other repositories

Zenith AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Zenith AGENTS.mdbigduu/ZenithInstructions file6yesterdayMITA3,474Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode