agentcore-samples / receipts-intelligent-document-processing-agent
AGENTS.md3.4k starsChanged 6 months agoApache-2.0View on GitHub
Guidance for AI agents and contributors working in this sample.
Trending
Less talk lately.thin dataabout the whole repository
Who's talking about awslabs/agentcore-samples
- hashicorp/terraform-provider-aws“Add support for VPC configuration on `aws_bedrockagentcore_gateway_target`”GitHub · Apr 23, 2026 · 18 reactions
- sudosubin/agents.nix“kiro-powers.github.awslabs.agentcore-samples: init at 0-unstable-2026-10-02”GitHub · Oct 4, 2026
- sebastianmarines/awesome-aws“Add weekly AWS resources - 2026-07-06”GitHub · Jul 6, 2026
- hashicorp/terraform-provider-aws“[Enhancement] aws_bedrockagentcore_harness should support api_format for harness model configs”GitHub · Jun 22, 2026
- nagagaddamu/agentcore-samples-websearch“Usecase restructure”GitHub · Jun 18, 2026
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub (9 times).
On GitHub · 9
- Apr 23, 2026Add support for VPC configuration on `aws_bedrockagentcore_gateway_target` — hashicorp/terraform-provider-aws18 reactions · 4 comments
- Oct 4, 2026kiro-powers.github.awslabs.agentcore-samples: init at 0-unstable-2026-10-02 — sudosubin/agents.nix0 reactions
- Jul 6, 2026Add weekly AWS resources - 2026-07-06 — sebastianmarines/awesome-aws0 reactions
- Jun 22, 2026[Enhancement] aws_bedrockagentcore_harness should support api_format for harness model configs — hashicorp/terraform-provider-aws0 reactions · 3 comments
- Jun 18, 2026Usecase restructure — nagagaddamu/agentcore-samples-websearch0 reactions
4 more on GitHub
- May 27, 2026fix: Patch CVE-2026-42010 GnuTLS auth bypass in Python Dockerfile — aws/agentcore-cli0 reactions · 12 comments
- May 3, 2026[jiafenglu0623] Refresh enterprise control planes with Bedrock Managed Agents — Prompthon-IO/agent-systems-handbook0 reactions · 1 comment
- May 2, 202620260502 jungeu1509 — ysy-mogagko/WIL0 reactions
- Apr 25, 2026AgentCore CLI Harness Skill Support — aws/agentcore-cli0 reactions
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 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 repository22 other files it gives its agents.
- 01-features/02-host-your-agent/01-runtime/04-coding-agents/03-code-agents-competition-e2e/coding_agents/codex/AGENTS.mdAGENTS.md
- 01-features/02-host-your-agent/01-runtime/04-coding-agents/03-code-agents-competition-e2e/coding_agents/open-code/AGENTS.mdAGENTS.md
- 01-features/05-authenticate-and-authorize/01-inbound-auth/04-inbound-auth-pingfederate/agent/private-idp-ping-agent/AGENTS.mdAGENTS.md
- 01-features/07-centralize-and-govern-your-ai-infrastructure/02-policy/03-temporal-policies/bankingassistant/AGENTS.mdAGENTS.md
- 01-features/08-agents-that-transact/01-payments-skills-and-cli/AGENTS.mdAGENTS.md
- 02-use-cases/02-workflow-automation-agents/event-driven-claims-agent/AGENTS.mdAGENTS.md
- 06-workshops/03-AgentCore-identity/08-IDP-examples/PingFederate/agent/private-idp-ping-agent/AGENTS.mdAGENTS.md
- 01-features/02-host-your-agent/01-runtime/04-coding-agents/03-code-agents-competition-e2e/coding_agents/claude-code/CLAUDE.mdCLAUDE.md
- benefits-advisorSkill
- pto-planningSkill
- pdfSkill
- cost-efficiency-analyzerSkill
- executive-financial-briefingSkill
- multi-quarter-trend-analysisSkill
- quarterly-kpi-calculatorSkill
- revenue-growth-analystSkill
- earnings-snapshotSkill
- portfolio-riskSkill
- sector-rotationSkill
- trend-analysisSkill
- weather-reporterSkill
- persistent-notesSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Grounding: verify AgentCore APIs against the SDK/docs before writing (Cedar, Gateway, AppConfig especially).
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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
AGENTS.md — Receipts IDP on AgentCore
Guidance for AI agents and contributors working in this sample.
Orientation
- How it works: docs/ARCHITECTURE.md. Why each choice: docs/decisions/ (ADRs). Knobs: docs/CONFIGURATION.md. Guided run: docs/tutorial.md.
- Sibling reference:
awslabs/agentcore-samples/.../event-driven-claims-agent— this sample mirrors its layout and conventions. When in doubt, match it. - Build status: complete and live-verified end to end — receipt → Textract OCR → dual agent (extractor → independent validator) → Cedar-gated persist or human review, with a model degradation ladder (config-driven model, in-agent 503 step-down, account-level control loop, L4 SQS drain), an event-driven S3 front door, Observability, and Evaluations. All six AgentCore services exercised.
Conventions (do not break)
- The seam:
app/receiptsagent/config.pyis the ONLY place env vars are read. The agent must depend on env/AppConfig, never on CLI/CDK specifics, so the deploy mechanism stays replaceable (spec §13). - Model id is never hardcoded. It comes from config (the L0 default) and, in a deployed stack, from the active degradation rung. Pass
model_idintoload_model(). - Auth is agent-as-principal M2M Cognito, not per-user JWT. Per-user data separation is the DynamoDB partition key + each tool only touching its given
userId. - Tools are Gateway Lambdas (
lambdas/<tool>/handler.py+lambdas/schemas/<tool>.json+ aPLACEHOLDER_<TOOL>target inagentcore.jsonpatched by the CDK stack). Keep schema ↔ handler in sync. - Global inference profile ids (incl. the
claude-opus-4-6-v1-v1suffix) come fromaws bedrock list-inference-profiles— never pattern-construct them. - Grounding: verify AgentCore APIs against the SDK/docs before writing (Cedar, Gateway, AppConfig especially). Don't write from memory.
Deploy / test
./deploy.sh <region> (CDK + Runtime, one command) · python3 scripts/test_invoke.py · ./destroy.sh <region>.
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.

