agentleFS
Sign inSign up

AGENTS.md examples from real projects

How real projects brief Codex, Cursor and every other agent that reads AGENTS.md.

Most stars first · from page 47Worked for most · soon
GitHubAGENTS.md

copilot-sdk / java

github/copilot-sdk/java/AGENTS.md

This directory is the Java SDK's Maven reactor. Paths and commands below are relative to this directory, whether it is nested at src/sdk/java or exported as java. Keep API usage examples in README.md, the SDK documentation, and public Javadoc rather than duplicating them in these contributor instructions. - sdk/src/main/java/ contains the handwritten client, session, and RPC APIs. sdk/src/test/java/ contains unit and integration tests. - sdk/src/generated/java/ contains generated protocol and event types. - copilot-native/ packages platform-specific runtime artifacts separately from the…

11k28d agoDiscuss
GitHubAGENTS.md

copilot-sdk / rust

github/copilot-sdk/rust/AGENTS.md

This directory contains the independent github-copilot-sdk crate. In standalone SDK workflows, paths and Cargo commands below are relative to this directory, and this crate's own lockfile and toolchain apply. When nested at src/sdk/rust, the runtime CLI consumes the same checked-out sources through the Bazel integration described under Development. The runtime's N-API architecture does not otherwise govern this crate. - Use the existing Error and ErrorKind in src/errors.rs. Extend that public error contract instead of adding parallel per-module error types or…

11k28d agoDiscuss
GoogleAGENTS.md

benchmark

google/benchmark/AGENTS.md

[!NOTE] The modern (as of 2026-06) AI is a misnomer, - it is not conscious / not a consciousness, - it is not sentient, - it is not intelligent, - it does not think, - it does not understand the code, - it is merely a next-token guesser, ... therefore it is merely an (hyper-) advanced IDE. [!NOTE] A contribution is any externally-observable interaction with a project. [!CAUTION] Failure to follow the following rules may result in repercussions, possibly without…

10k4mo agoDiscuss
GoogleAGENTS.md

adk-recipes

google/adk-recipes/AGENTS.md

No summary in the file. Open it to read it.

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / llm-auditor

google/adk-recipes/core/kotlin/llm-auditor/AGENTS.md

Show how to compose a SequentialAgent in ADK Kotlin: two LlmAgents that run in order, where the second consumes what the first produced. The domain task — fact-check an answer, then correct it — is a vehicle for three ADK concepts that are hard to demonstrate in isolation: 1. Sequential multi-agent composition with a shared model instance. 2. A built-in tool (GoogleSearchTool) grounding one sub-agent. 3. An AfterModelCallback post-processing a sub-agent's raw output before it reaches the user. This is…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / ambient-expense-agent

google/adk-recipes/core/python/ambient-expense-agent/AGENTS.md

A clone-and-study ambient agent: there is no interactive chat loop. Expense reports arrive as Pub/Sub events, get pushed to an ADK trigger endpoint, and flow through an ADK 2.0 graph-based Workflow. Business rules stay in code (a $100 threshold routes low-value expenses straight to auto-approval); only high-value expenses reach an LLM review_agent, which then pauses for human-in-the-loop approval via RequestInput before logging a decision. The graph itself is compact — the interesting parts are the ambient plumbing: authenticated Pub/Sub push,…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / cross-session-memory

google/adk-recipes/core/python/cross-session-memory/AGENTS.md

A clone-and-study ADK agent that remembers user preferences and facts across sessions using Vertex AI Memory Bank. The agent itself is a deliberately mundane demo (weather/time tools); the interesting part is the Memory Bank wiring — how memories are written after each turn (generatememoriescallback → addsessionto_memory()) and recalled at the start of a later session (PreloadMemoryTool), a single shared memorybankconfig that declares which topics to extract, and two deploy paths (Agent Engine and Cloud Run) that both enable Memory Bank…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / deep-search

google/adk-recipes/core/python/deep-search/AGENTS.md

A clone-and-study fullstack research agent built on ADK + Gemini. Unlike the RAG recipes, the interesting part is the agent: app/agent.py builds a multi-agent graph that plans (with a Human-in-the-Loop approval step), runs an iterative search → critique → refine loop until a quality bar is met, then composes a report with inline citations back to web sources. It ships a React frontend over an ADK-powered FastAPI backend. There is no datastore, no ingestion pipeline, and no Terraform — all…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / genmedia-for-commerce

google/adk-recipes/core/python/genmedia-for-commerce/AGENTS.md

A clone-and-study full-stack, multi-agent ADK app that generates retail media — Virtual Try-On (VTO) images/videos, 360° product spins (Reference-to-Video / R2V), product fitting on a virtual model, and background swaps — by orchestrating Gemini and Veo 3.1 through multi-stage media pipelines. The interesting part is not the router agent (a thin ADK wrapper around one MCP toolset); it's the MCP tool server + workflow pipelines (framing → parallel Veo generation → automated validation/retry), the in-memory catalogue vector search, and the…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / long-horizon-harness

google/adk-recipes/core/python/long-horizon-harness/AGENTS.md

Self-improving long-horizon agent on Google ADK + Vertex AI. This file has two halves. Studying the recipe is the entry point: scan the recipe table, jump to the one pattern you want, and read the real function that implements it. Maintaining the code is the exhaustive view — conventions, callback order, state keys, env vars — for when you are changing the repo rather than lifting from it. The code is the documentation. Each pattern below points at the actual…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / oauth-user-consent-flow

google/adk-recipes/core/python/oauth-user-consent-flow/AGENTS.md

A clone-and-study ADK agent that reads a user's Google Drive files on their behalf, gated by an OAuth 2.0 user-consent flow. The agent is deployed to Agent Runtime (Vertex AI Agent Engine) and registered with Gemini Enterprise. The interesting part is not the agent (a thin wrapper around one Drive tool); it's the OAuth consent plumbing — the negotiate_creds() three-stage credential resolution that makes the same code work in both local ADK Web UI dev and production Gemini Enterprise, plus…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / rag-agent-search

google/adk-recipes/core/python/rag-agent-search/AGENTS.md

A clone-and-study RAG agent grounded on Agent Platform Search (Discovery Engine). Drop documents in a GCS bucket and a managed Data Connector ingests, chunks, embeds, and indexes them — the agent answers over that data store with almost no ingestion code. The interesting part is not the agent (a thin wrapper around one search tool); it's the Terraform + data-connector plumbing. - The user wants a RAG agent without building/maintaining an ingestion pipeline (the managed connector handles chunking + embeddings).…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / rag-vector-search

google/adk-recipes/core/python/rag-vector-search/AGENTS.md

A clone-and-study RAG agent grounded on Vertex AI Vector Search 2.0, with a Kubeflow Pipelines (KFP) pipeline that loads, chunks, and ingests documents into a Collection that auto-generates embeddings server-side. The hard/interesting parts are Terraform (Collection + auto-embedding config + IAM) and data handling (the ingestion pipeline); the agent itself is a thin ADK wrapper around a semantic-search tool. - The user wants explicit control over chunking/ingestion (a custom KFP pipeline) instead of a fully-managed connector. - The user needs…

10k52d agoReads credentialsDiscuss
GoogleAGENTS.md

adk-recipes / safety-plugins

google/adk-recipes/core/python/safety-plugins/AGENTS.md

A clone-and-study recipe for global safety guardrails implemented as ADK BasePlugins attached to the Runner. Two interchangeable plugins are provided — an LLM-as-a-judge and a Model Armor filter — that hook the same lifecycle callbacks to classify and block unsafe content. The interesting part is not the agents (deliberately mundane sum/fibonacci demos); it's the plugins: because they're wired at the Runner they wrap every agent and sub-agent under it, and they defend against session poisoning by never persisting harmful content…

10k52d agoReads credentialsDiscuss
omnigent-aiAGENTS.md

omnigent

omnigent-ai/omnigent/AGENTS.md

Guidance for AI agents (Claude Code, Copilot, Cursor, etc.) working in this repository. See CONTRIBUTING.md for the full contributor workflow. Run the pre-commit hook before committing (pre-commit run --all-files, or let it run on staged files via git commit). Fix any issues it reports so the commit lands clean — CI runs the same checks. Use just for common tasks; run just --list for grouped recipes. When you open a pull request, fill in the repo's PR template at .github/pullrequesttemplate.md…

10k10d agoDiscuss
omnigent-aiAGENTS.md

omnigent / triage_v2

omnigent-ai/omnigent/.github/triage_v2/AGENTS.md

This project uses Declarative Automation Bundles for deployment. Install the Databricks CLI 0.292.0 or newer and verify with databricks -v. Read the databricks-core skill for CLI, authentication, and deployment workflow. Read the databricks-jobs skill for job-specific guidance.

10k10d agoDiscuss
KuberwastakenAGENTS.md

claurst

Kuberwastaken/claurst/AGENTS.md

Agent-facing rules for working on Claurst. Mirrors and extends src-rust/.claude/CLAUDE.md; when the two disagree, the rule closer to the code wins. Run from src-rust/ unless noted. The ratatui frontend is…

10k40d agoReads credentialsDiscuss
KuberwastakenAGENTS.md

claurst

Kuberwastaken/claurst/docs/agents.md

Claurst has a named-agent system that lets you select a pre-configured persona with its own tool permissions, model, system prompt, and turn budget. For larger tasks it also supports a…

10k40d agoDiscuss
MongoDBAGENTS.md

node-mongodb-native

mongodb/node-mongodb-native/AGENTS.md

This is the official MongoDB Node.js driver (mongodb npm package). It provides a TypeScript/JavaScript interface for applications to interact with MongoDB deployments. The driver implements the cross-driver MongoDB specifications. Do not hand-edit: lib/ (build output), mongodb.d.ts (generated), HISTORY.md (release-please managed), test/spec/ (vendored from specifications repo). Integration tests require a running MongoDB instance (unit tests do not). To start one locally: Tests use Mocha with 60-second timeout. Integration tests use a custom metadata UI that supports test filtering by topology, MongoDB…

10k5mo agoDiscuss
CloudflareAGENTS.md

cloudflare-os

cloudflare/cloudflare-os/AGENTS.md

This project is building a platform for "vibe coded" personal applications and AI agents that run inside a strong sandbox. The following files are commonly important to reference: The project structure is:

10k10d agoDiscuss
CLAUDE.md vs AGENTS.md

About AGENTS.md

What is AGENTS.md?

An open format for instructions to coding agents, read by Codex, Cursor and others. Think of it as a README written for agents.

Where does it go?

At the repository root, with more specific files in subdirectories. Agents read the one closest to the file they're editing.

What should it contain?

Setup and test commands, code style, and the rules a new contributor would need to know.

Does Claude Code read it?

Claude Code reads CLAUDE.md. A one-line CLAUDE.md that points at AGENTS.md covers both.