agentcore-samples / private-idp-ping-agent
AGENTS.md3.4k starsChanged 6 months agoApache-2.0View on GitHub
This project contains configuration and infrastructure for an Amazon Bedrock AgentCore application. The agentcore/ directory is a declarative model of the project. The agentcore/cdk/ subdirectory uses the @aws/agentcore-cdk L3 constructs to deploy the configuration to AWS. The project uses a flat resource model. Agents, memories, credentials, gateways, evaluators, and policies are independent top-level arrays in agentcore.json. There is no binding between resources in the schema — each resource is provisioned independently. Agents discover memories and credentials at runtime via environment…
- Reads credentials
- Installs packages
Trending
Quiet since October.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,691 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/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
- 02-use-cases/02-workflow-automation-agents/receipts-intelligent-document-processing-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
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Very specific: line 22
Schema Validation: If your JSON conforms to the types in .llm-context/, it will deploy successfully.
- Very specific: line 24
Resource Removal: Use agentcore remove to remove resources.
- Distinctive: line 117
When modifying JSON config files:
- Very specific: line 119
Read the corresponding agentcore/.llm-context/*.ts file for type definitions
- Very specific: line 120
Check validation constraint comments (@regex, @min, @max)
- Distinctive: line 121
Use exact enum values as string literals
- Distinctive: line 122
Use CloudFormation-safe names (alphanumeric, start with letter)
- Very specific: line 123
Run agentcore validate to verify changes
≈ “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
AgentCore Project
This project contains configuration and infrastructure for an Amazon Bedrock AgentCore application.
The agentcore/ directory is a declarative model of the project. The agentcore/cdk/ subdirectory uses the
@aws/agentcore-cdk L3 constructs to deploy the configuration to AWS.
Mental Model
The project uses a flat resource model. Agents, memories, credentials, gateways, evaluators, and policies are
independent top-level arrays in agentcore.json. There is no binding between resources in the schema — each resource is
provisioned independently. Agents discover memories and credentials at runtime via environment variables or SDK calls.
Tags defined in agentcore.json flow through to deployed CloudFormation resources.
Critical Invariants
- Schema-First Authority: The
.jsonfiles are the source of truth. Do not modify agent behavior by editing generated CDK code incdk/. - Resource Identity: The
namefield determines the CloudFormation Logical ID.- Renaming a resource will destroy and recreate it.
- Modifying other fields will update the resource in-place.
- Schema Validation: If your JSON conforms to the types in
.llm-context/, it will deploy successfully. Runagentcore validateto check. - Resource Removal: Use
agentcore removeto remove resources. Runagentcore deployafter removal to tear down deployed infrastructure.
Directory Structure
myProject/
├── AGENTS.md # This file — AI coding assistant context
├── agentcore/
│ ├── agentcore.json # Main project config (AgentCoreProjectSpec)
│ ├── aws-targets.json # Deployment targets (account + region)
│ ├── .env.local # Secrets — API keys (gitignored)
│ ├── .llm-context/ # TypeScript type definitions for AI assistants
│ │ ├── README.md # Guide to using schema files
│ │ ├── agentcore.ts # AgentCoreProjectSpec types
│ │ ├── aws-targets.ts # AWS deployment target types
│ │ └── mcp.ts # Gateway and MCP tool types
│ └── cdk/ # AWS CDK project (@aws/agentcore-cdk L3 constructs)
├── app/ # Agent application code
└── evaluators/ # Custom evaluator code (if any)Schema Reference
The agentcore/.llm-context/ directory contains TypeScript type definitions optimized for AI coding assistants. Each
file maps to a JSON config file and includes validation constraints as comments (@regex, @min, @max).
| JSON Config | Schema File | Root Type |
agentcore/agentcore.json | agentcore/.llm-context/agentcore.ts | AgentCoreProjectSpec |
agentcore/agentcore.json (gateways) | agentcore/.llm-context/mcp.ts | AgentCoreMcpSpec |
agentcore/aws-targets.json | agentcore/.llm-context/aws-targets.ts | AwsDeploymentTarget[] |
Key Types
- AgentCoreProjectSpec: Root config with
runtimes,memories,credentials,agentCoreGateways,evaluators,onlineEvalConfigs,policyEnginesarrays - AgentEnvSpec: Agent configuration (build type, entrypoint, code location, runtime version, network mode)
- Memory: Memory resource with strategies (SEMANTIC, SUMMARIZATION, USER_PREFERENCE, EPISODIC) and expiry
- Credential: API key or OAuth credential provider
- AgentCoreGateway: MCP gateway with targets (Lambda, MCP server, OpenAPI, Smithy, API Gateway)
- Evaluator: LLM-as-a-Judge or code-based evaluator
- OnlineEvalConfig: Continuous evaluation pipeline bound to an agent
Common Enum Values
- BuildType:
'CodeZip'|'Container' - NetworkMode:
'PUBLIC'|'VPC' - RuntimeVersion:
'PYTHON_3_10'|'PYTHON_3_11'|'PYTHON_3_12'|'PYTHON_3_13'|'PYTHON_3_14'|'NODE_18'|'NODE_20'|'NODE_22' - MemoryStrategyType:
'SEMANTIC'|'SUMMARIZATION'|'USER_PREFERENCE'|'EPISODIC' - GatewayTargetType:
'lambda'|'mcpServer'|'openApiSchema'|'smithyModel'|'apiGateway'|'lambdaFunctionArn' - ModelProvider:
'Bedrock'|'Gemini'|'OpenAI'|'Anthropic'
Build Types
- CodeZip: Python source packaged as a zip and deployed directly to AgentCore Runtime.
- Container: Docker image built in CodeBuild (ARM64), pushed to a per-agent ECR repository. Requires a
Dockerfilein the agent'scodeLocationdirectory. For local development (agentcore dev), the container is built and run locally with volume-mounted hot-reload.
Supported Frameworks (for template agents)
- Strands — Bedrock, Anthropic, OpenAI, Gemini
- LangChain/LangGraph — Bedrock, Anthropic, OpenAI, Gemini
- GoogleADK — Gemini
- OpenAI Agents — OpenAI
- Autogen — Bedrock, Anthropic, OpenAI, Gemini
Protocols
- HTTP — Standard HTTP agent endpoint
- MCP — Model Context Protocol server
- A2A — Agent-to-Agent protocol (Google A2A)
Deployment
Deployments are orchestrated through the CLI:
agentcore deploy # Synthesizes CDK and deploys to AWS
agentcore status # Shows deployment statusAlternatively, deploy directly via CDK:
cd agentcore/cdk
npm install
npx cdk synth
npx cdk deployEditing Schemas
When modifying JSON config files:
- Read the corresponding
agentcore/.llm-context/*.tsfile for type definitions - Check validation constraint comments (
@regex,@min,@max) - Use exact enum values as string literals
- Use CloudFormation-safe names (alphanumeric, start with letter)
- Run
agentcore validateto verify changes
CLI Commands
| Command | Description |
agentcore create | Create a new project |
agentcore add <resource> | Add agent, memory, credential, gateway, evaluator, policy |
agentcore remove <resource> | Remove a resource |
agentcore dev | Run agent locally with hot-reload |
agentcore deploy | Deploy to AWS |
agentcore status | Show deployment status |
agentcore invoke | Invoke agent (local or deployed) |
agentcore logs | View agent logs |
agentcore traces | View agent traces |
agentcore eval | Run evaluations against an agent |
agentcore package | Package agent artifacts |
agentcore validate | Validate configuration |
agentcore pause / resume | Pause or resume a deployed agent |
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.

