Under active development Content is continuously updated and improved

Agents & Knowledge Bases

Bedrock Agents, Knowledge Bases, runtime sessions, and model evaluation commands.

Under Construction: This guidance is being actively developed and verified. Content may change.

Authoritative Sources

Key guidance documents from authoritative organizations. Click to view the original source.

Bedrock Agents orchestrate foundation models, knowledge bases, and action groups to automate multi-step tasks. Agents can collect information, invoke APIs, and use knowledge bases while Bedrock manages prompting, memory, monitoring, and permissions.

Knowledge Bases enable RAG workflows by connecting proprietary data sources to Bedrock. They retrieve relevant data, can provide citations, support multimodal inputs, and keep content in sync with connected data sources.

Verification Commands

Commands and queries for testing and verifying security configurations.

Models & Evaluation

6 commands
List available foundation models CLI
aws bedrock list-foundation-models
Inspect a specific foundation model CLI
aws bedrock get-foundation-model --model-identifier MODEL_ID
List Bedrock model customization jobs CLI
aws bedrock list-model-customization-jobs
Get model customization job details (KMS key, role, S3 paths) CLI
aws bedrock get-model-customization-job --job-identifier JOB_ID
List Bedrock evaluation jobs CLI
aws bedrock list-evaluation-jobs
Get evaluation job details (KMS key, output locations) CLI
aws bedrock get-evaluation-job --job-identifier JOB_ID

Runtime & Sessions

2 commands
Invoke a model (runtime inference) CLI
aws bedrock-runtime invoke-model --model-id MODEL_ID --content-type application/json --accept application/json --body file://request.json response.json
List Bedrock agent runtime sessions CLI
aws bedrock-agent-runtime list-sessions

Agents & Knowledge Bases

6 commands
List Bedrock agents CLI
aws bedrock-agent list-agents
Get agent configuration (encryption key, role, settings) CLI
aws bedrock-agent get-agent --agent-id AGENT_ID
List Bedrock knowledge bases CLI
aws bedrock-agent list-knowledge-bases
Get knowledge base configuration CLI
aws bedrock-agent get-knowledge-base --knowledge-base-id KB_ID
List data sources for a knowledge base CLI
aws bedrock-agent list-data-sources --knowledge-base-id KB_ID
Get knowledge base data source configuration CLI
aws bedrock-agent get-data-source --knowledge-base-id KB_ID --data-source-id DS_ID