agentleFS
agno-agiagno-agi/agentos-azure/AGENTS.md

agentos-azure

AGENTS.md2 starsChanged 18 days agoApache-2.0View on GitHub

This is a thin application over Agno. Application wiring and policy live here. Super Agent (superagent), Platform Builder, Studio, authorization, the durable queue and sandbox lifecycle belong in the Agno SDK. CLAUDE.md links to this file. - Read the relevant source and git status before editing. Keep unrelated changes and stay within the requested scope. - Do not recreate framework components or work around a framework rejection. Check behavior against the Agno version pinned in pyproject.toml. - Keep the template…

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository7 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

10 rules. About 1 is common, 4 are distinctive, and 5 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Read the relevant source and git status before editing.

    line 9
  2. Very specific:

    Do not recreate framework components or work around a framework rejection.

    line 11
  3. Distinctive:

    Keep the template lean. Add abstractions, tests and infrastructure only for a concrete need.

    line 13
  4. Common:

    Never print or commit credentials.

    line 14
  5. Very specific:

    Read the matching skill in .agents/skills/ before starting.

    line 18
  6. Distinctive:

    Run commands from the repository root.

    line 49
  7. Very specific:

    Follow the agent shape in create-agent.

    line 64
  8. Distinctive:

    Leave Routine executors unset to use Agno's default.

    line 79
  9. Very specific:

    Keep production authorization enabled (RUNTIME_ENV=prd).

    line 107
  10. Very specific:

    Keep evals in evals/cases.py with Agno's criteria and expected_tool_calls.

    line 124

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AgentOS Azure Container Apps template

This is a thin application over Agno. Application wiring and policy live here. Super Agent (superagent), Platform Builder, Studio, authorization, the durable queue and sandbox lifecycle belong in the Agno SDK. CLAUDE.md links to this file.

Working rules

  • Read the relevant source and git status before editing. Keep unrelated changes and stay within the requested scope.
  • Do not recreate framework components or work around a framework rejection. Check behavior against the Agno version pinned in pyproject.toml.
  • Keep the template lean. Add abstractions, tests and infrastructure only for a concrete need.
  • Never print or commit credentials.

Skills

Read the matching skill in .agents/skills/ before starting; .claude/skills links there.

TaskSkill
First local setupsetup-platform
Add an agentcreate-agent
Change an agent or add a Studio capabilityextend-agent
Add eval coveragecreate-evals
Harden an agent with simulations and targeted fixesimprove
Review repository consistency and public readinessreview-and-improve
Deploy or change production configurationdeploy-platform

Layout

PathWhat it holds
app/main.pyThe AgentOS: database, Super Agent, Company, queue and registered agents.
app/company.pyProduct, Source and Routine declarations.
app/config.yamlDescriptions and quick prompts shown in the UI. Every quick prompt is ten words or fewer.
app/registry.pyWhat Studio can build with, plus web tools, shared knowledge, learning and notes.
app/settings.pyModel factories.
app/interfaces.pyMCP tools and OAuth; optional Slack.
app/sandbox.pySandbox switch, provider, repository and checkpoints.
agents/Application agents, including the Claude and Codex coding agents.
db/The shared PostgreSQL database and knowledge creation.
evals/Eval cases and the CLI entrypoint.
scripts/Setup, validation, image build and the AWS sandbox helper.
compose.yaml, Dockerfile, scripts/azure/Local stack, API and sandbox images, provider deployment configuration.

Develop

Run commands from the repository root.

cp example.env .env            # only if .env is missing; set OPENAI_API_KEY
docker compose up -d --build   # API on http://localhost:8000, no JWT in development
./scripts/venv_setup.sh && source .venv/bin/activate
./scripts/format.sh
./scripts/validate.sh          # ruff and mypy; CI runs the same script

Dependencies are declared in pyproject.toml. After changing them, run ./scripts/generate_requirements.sh and rebuild both Dockerfile targets. Do not add uv.lock.

Agents and storage

  • Follow the agent shape in create-agent. Register code agents in app/main.py and describe them in app/config.yaml.
  • Everything shares one database: call get_postgres_db() with no arguments. Create a knowledge base with create_knowledge() so it gets its own contents store.
  • Shared resources come from app/registry.py: shared_knowledge (operator documents), shared_learning (per-user profiles and memories) and shared_notes.tools() (a notebook in PostgreSQL). Company knowledge belongs in the Company wiki.

Company

  • app/company.py declares the AgentOS Product and its agentos-maintenance Routine: Mondays at 09:00 UTC, disabled by default, proposing work and accepting nothing. It is enabled from the Company page in the AgentOS UI, and each run spends model calls.
  • Declarations seed the database once. Saved Products, Sources and Routines keep later edits, so change saved records through the UI or API, not only in code.
  • Leave Routine executors unset to use Agno's default. Explicit executors must be registered application agents, teams or workflows.
  • Assign sandboxed coding Tasks explicitly to Claude Engineer or Codex Engineer.

Coding agents and sandboxes

Setup is in docs/harnesses.md. When changing this code:

  • Claude Engineer and Codex Engineer are declared in agents/engineers.py and stay off until their factories are enabled in app/main.py. Keep their IDs.
  • Without a sandbox they run in the project root on the API host. With SANDBOX_ENABLED = True in app/sandbox.py they run in a sandbox with their own checkout of REPOSITORY, which must be set.
  • SANDBOX_PROVIDER selects docker (local) or agentcore (hosted). A wrong provider or missing AgentCore settings must stop startup, never fall back to running on the host.
  • The Docker socket mount is off by default. Enable it only for local Docker sandboxes, in the API container; sandboxes must not receive it.
  • Runtime ARNs, buckets and tokens come from the environment and are never committed. Checkpoints go to tmp/checkpoints locally and S3 when hosted, not PostgreSQL.
  • Company declares a Git Source for REPOSITORY when it is set. Keep the two the same; sandboxed Company Tasks need a saved Git Source that matches REPOSITORY.url.

Production

The deployment target is Azure Container Apps, through scripts/azure/ and the deploy-platform skill. Follow the production setup. Run one API instance with persistent PostgreSQL; read docs/scaling.md before adding replicas. Keep production authorization enabled (RUNTIME_ENV=prd); the verification key must be configured before the API can start. Preserve provider settings and existing database data.

Removing a declaration does not remove saved records. Before renaming or removing a component, check saved schedules and Studio references, and keep existing sessions, notes and Company work.

Verification

CheckWhat it shows
./scripts/validate.sh and git diff --checkFormatting, lint and types.
./scripts/mcp_check.shMCP handshake and required tools, without a model call.
python -m evals --tag smokeThree Super Agent cases. Spends model calls, needs PostgreSQL and saves results.

A running API does not show that agents, coding agents or Company Tasks work; run them. Local checks do not show that a deployment works. Record what you checked in tmp/VERIFY.md. Keep evals in evals/cases.py with Agno's criteria and expected_tool_calls; do not add custom scoring or cleanup machinery.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.