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.
- create-agentSkill
- create-evalsSkill
- deploy-platformSkill
- extend-agentSkill
- improveSkill
- review-and-improveSkill
- setup-platformSkill
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
- Distinctive: line 9
Read the relevant source and git status before editing.
- Very specific: line 11
Do not recreate framework components or work around a framework rejection.
- Distinctive: line 13
Keep the template lean. Add abstractions, tests and infrastructure only for a concrete need.
- Common: line 14
Never print or commit credentials.
- Very specific: line 18
Read the matching skill in .agents/skills/ before starting.
- Distinctive: line 49
Run commands from the repository root.
- Very specific: line 64
Follow the agent shape in create-agent.
- Distinctive: line 79
Leave Routine executors unset to use Agno's default.
- Very specific: line 107
Keep production authorization enabled (RUNTIME_ENV=prd).
- Very specific: line 124
Keep evals in evals/cases.py with Agno's criteria and expected_tool_calls.
≈ “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.
Files
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 statusbefore 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.
| Task | Skill |
| First local setup | setup-platform |
| Add an agent | create-agent |
| Change an agent or add a Studio capability | extend-agent |
| Add eval coverage | create-evals |
| Harden an agent with simulations and targeted fixes | improve |
| Review repository consistency and public readiness | review-and-improve |
| Deploy or change production configuration | deploy-platform |
Layout
| Path | What it holds |
app/main.py | The AgentOS: database, Super Agent, Company, queue and registered agents. |
app/company.py | Product, Source and Routine declarations. |
app/config.yaml | Descriptions and quick prompts shown in the UI. Every quick prompt is ten words or fewer. |
app/registry.py | What Studio can build with, plus web tools, shared knowledge, learning and notes. |
app/settings.py | Model factories. |
app/interfaces.py | MCP tools and OAuth; optional Slack. |
app/sandbox.py | Sandbox 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 scriptDependencies 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 inapp/main.pyand describe them inapp/config.yaml. - Everything shares one database: call
get_postgres_db()with no arguments. Create a knowledge base withcreate_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) andshared_notes.tools()(a notebook in PostgreSQL). Company knowledge belongs in the Company wiki.
Company
app/company.pydeclares theAgentOSProduct and itsagentos-maintenanceRoutine: 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.pyand stay off until their factories are enabled inapp/main.py. Keep their IDs. - Without a sandbox they run in the project root on the API host. With
SANDBOX_ENABLED = Trueinapp/sandbox.pythey run in a sandbox with their own checkout ofREPOSITORY, which must be set. SANDBOX_PROVIDERselectsdocker(local) oragentcore(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/checkpointslocally and S3 when hosted, not PostgreSQL. - Company declares a Git Source for
REPOSITORYwhen it is set. Keep the two the same; sandboxed Company Tasks need a saved Git Source that matchesREPOSITORY.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
| Check | What it shows |
./scripts/validate.sh and git diff --check | Formatting, lint and types. |
./scripts/mcp_check.sh | MCP handshake and required tools, without a model call. |
python -m evals --tag smoke | Three 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.
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
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.

