manyfold AGENTS.md

Project instructions for Manyfold, a monorepo: one repository that contains several related applications and shared packages. It describes the API, web apps, documentation site, command-line tool, database package, and other parts.

In plain words
What is it for?
Use it when developing or debugging Manyfold’s API, user workbench, admin panel, docs, CLI, deployment gateway, database, shared code, or SDK.
Why use it?
It helps an agent find the right workspace and understand which application or shared package owns a change. It also records local setup details and required environment values.

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/manyfold-open/manyfold/agents-md
Clone the repo
git clone --depth 1 https://github.com/manyfold-open/manyfold

Made for: Codex, OpenCode.

Per session 1,154 This file is loaded in full into every session.
When invoked 1,154 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.01154 $0.01154
Opus 5 $0.00577 $0.00577
Sonnet 5 $0.00231 $0.00231
Haiku 4.5 $0.00115 $0.00115

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

Security

Grade A, and why

manyfold 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 3d 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.

| `just health` | `curl /api/health` |
AGENTS.md · 69 lines

How it starts

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

Manyfold Monorepo

TypeScript monorepo (Turborepo + pnpm) for Manyfold — a platform for creating, deploying and hosting agents. It holds the API, the user workbench, the admin control plane, the CLI, the public docs site and the runtime integrations.

Workspaces

  • apps/api — NestJS 11 + Fastify + Drizzle: auth, orchestration, persistence, external integrations. Port 2222, global prefix /api
  • apps/web — Vite + React 18 user workbench: agent create/chat, runtimes, channels, automations, models, billing. Port 3002
  • apps/admin — Vite + React 18 control plane: login providers, runtimes, model providers, catalog, users. Port 3001
  • apps/docs — Astro public docs site. Product capability, install and usage content only; no internal implementation, ops detail or developer-only context
  • apps/cli — Commander + tsup, ships the mf binary and the local daemon
  • apps/k8s-gateway — in-cluster exec gateway
  • packages/shared — constants, DTOs, API paths, ObjectId, validation shared across apps
  • packages/db — Drizzle schema, the single source of truth for the database
  • packages/sdk — typed HTTP client used by web, admin and the CLI
  • packages/i18nt() plus the shared locale catalogs
  • packages/a2a — A2A protocol types, JSON-RPC client, SSE and URL guard
  • packages/sprites — sprites.dev REST / WSS / filesystem client
  • packages/k8s-exec-core — Kubernetes exec primitive
  • packages/external-providers — Dify / Langflow / A2A provider adapters

Apps depend on packages; only apps/api writes the database or talks to runtimes. Front ends and the CLI consume the API through @manyfold/sdk and @manyfold/shared. Details in docs/engineering/architecture.md and docs/product/system-overview.md.

Setup

Needs Node >= 20, pnpm 10.29.3 and Docker for Postgres.

just bootstrap      # install + copy .env files + start Postgres + run migrations
# fill API_CRYPTO_KEY and AUTH_SETUP_TOKEN in apps/api/.env
just dev            # turbo dev across every workspace that has a dev script

Read the full file on GitHub · 69 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. 3d ago First seen · 69 lines · 1,154 tokens per session scan A fb396d2618d7

Subscribe to this mod's changes

manyfold AGENTS.md is an instructions file published in the GitHub repository manyfold-open/manyfold (5 stars, last pushed 3d ago), licensed Apache-2.0. It adds 1,154 tokens to every session, about $0.0058 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-31.

Related

Other instructions, from other repositories

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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 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,182 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,345 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

next.js 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