Skip to content
Docs
/harness
Strands harness is a state-of-the-art, fully assembled agent harness.
/harness-sdk
The Strands Harness SDK for building an agent harness from the ground up.
/box
Run AI agents in a sandbox with controlled access.
/shell
A virtual shell designed for AI agents to use safely.
/evals
Validate your agent before you ship.
/decider
Route, classify, and score with confidence.
/stash
Mount agent context sources as files.
/labs
Experimental projects pushing the boundaries of what agents can do.
Learn
Courses
Guided lessons from your first agent to multi-agent systems.
Examples
Runnable samples you can drop into your own project.
Integrations
Contribute
Blog
Search
TS
TypeScript
Python
Rust
TS
TypeScript
Python
Rust
Docs
/harness
Strands harness is a state-of-the-art, fully assembled agent harness.
Get started
Overview
Quickstart
Compose with the Strands Harness SDK
Configure the agent
Choose a model and reasoning
Add tools and instructions
Delegate to subagents
Load agent skills
Persist sessions
Give long-term memory
Checkpoints vs memory
Manage context and caching
Gate tool calls with interventions
Connect MCP servers
Run tools in the background
Built-in tools
Shell and file tools
Web access
Programmatic tool calling
Task tracking and environment
Take Strands harness to production
Reference
Configuration reference
Versioning & Support
/harness-sdk
The Strands Harness SDK for building an agent harness from the ground up.
Get started
Overview
Quickstart
Quickstart
Quickstart
AI coding agents
Migrate
Choosing an agent foundation
Migrate from LangGraph
Migrate from OpenAI
Migrate from strands-agents-tools
Build guides
Tools
Overview
Attach and invoke tools
Use MCP tools
Create custom tools
Run tools in the background
Sessions
Persist state across sessions
Memory
Overview
Control what the agent remembers
Responses
Return structured output
Stream responses
Stream to the browser
Manage the context window
Approve before your agent acts
Choose a multi-agent pattern
Run guides
Deploy to production
Operating Agents in Production
Amazon Bedrock AgentCore
Overview
Python
TypeScript
AWS Lambda
AWS Fargate
AWS App Runner
Amazon EKS
Amazon EC2
Docker
Overview
Python
TypeScript
Kubernetes
Terraform
Nx Plugin for AWS
Observe your agent
Observability
Metrics
Traces
Logs
Secure for production
Responsible AI
Guardrails
Prompt Engineering
Trusted Message History
PII Redaction
Components
Agent loop
Production lifecycle controls
State
Storage
Overview
Search Strategies
Snapshots
Prompts
Hooks
Hook events
Middleware
Context management
Overview
Built-in Modes
Custom Strategies
Strategy Presets
Context Estimation
Retry strategies
Structured output
Interrupts
Overview
Interrupts in Multi-Agent Systems
Models
Overview
Model Routing
Prompt caching
Amazon Bedrock
Bedrock Prompt Caching
Amazon Nova
Anthropic
Google
LiteLLM
llama.cpp
LlamaAPI
MistralAI
Ollama
OpenAI
OpenAI Responses API
SageMaker
Vercel
Writer
Custom Providers
Decision models
Overview
Quickstart
Questions and answers
Decisions in an agent
Observability
Models
Overview
LLM decision model
TypeSafe Jev
Decisions API
Amazon SageMaker AI
Tools
Tool result format
MCP Transports
Executors
Background tasks
Vended Tools
Overview
Edit
File editor
Read
Write
HTTP request
Notebook
Bash / shell
MCP Router
Sleep
Handoff to User
Stop
Web fetch
A2A Client
Python REPL
Subagent
Swarm
Graph
Memory
Test Store
File Store
Bedrock Knowledge Base
Plugins
Overview
Skills
Context Offloader
Context Injector
Todos
GoalLoop
GenAI Prices Estimator
Build a custom plugin
Interventions
Overview
Human in the loop
Cedar Authorization
Dogwood Authorization
Steering
Sandbox
Overview
Available Sandboxes
Building a Custom Sandbox
Multi-agent
Agent2Agent (A2A)
A2A server configuration
Agents as Tools
Swarm
Graph
Graph components
Workflow
Streaming
Async Iterators
Callback Handlers
Event types
Voice
Overview
Quickstart
BidiAgent
Models
Overview
Bedrock Nova Sonic
Google Gemini Live
OpenAI Realtime
OpenAI Live
Tools
I/O
Input Content
Stream Events
Hooks
Session Management
Interrupts
Observability
Conversation management
Experimental
AgentConfig
Reference
Versioning & Support
API reference
API reference
API reference
/box
Run AI agents in a sandbox with controlled access.
Get started
Get started with Box
Install Box
How Box works
Use Box
Profiles
Packs
Policies
Starters
Box plugins
Credentials
Help
Troubleshooting
What a box does not protect
Where file rules apply
Reference
box command reference
Profile reference
Pack reference
Starter reference
Plugin reference
Policy reference
Box config reference
Where Box keeps its files
Policy language
Policy action reference
Strands Shell reference
Python in a box
macOS requirements
Linux requirements
Message codes
Box Core
Run an agent with box.toml
box.toml configuration reference
Security: what Box governs, and what you own
Guides
Write a policy and read what it decided
Write policy for shell commands
MCP server configuration
Write policy for an MCP server
Egress credential configuration
Telemetry
Tool grammars
Experimental native filesystem policy
Deploy
Run a Strands Agents SDK agent in a box
Collect the Strands CLI's traces and metrics
Run Box on Amazon EKS
Run a Box shipment agent on AgentCore Runtime
Run Strands Box on Google Cloud
Cloud deployment profiles
/shell
A virtual shell designed for AI agents to use safely.
Get started
Overview
Quickstart
How it works
Guides
Configure the sandbox
Run the MCP server
Inspect the configuration
Components
Commands
Shell language and builtins
Lua scripting
Security
Security model
Reference
Reference
/evals
Validate your agent before you ship.
Get started
Overview
Quickstart
How evaluation works
Evaluate with AI
Build guides
Generate test cases
Plan topic coverage
Run guides
Task decorator
Result caching
Experiment management
Serialization
Evaluating remote traces
AgentCore evaluations
Components
Evaluators
Overview
Quality
Output
Trajectory
Interactions
Helpfulness
Faithfulness
Correctness
Coherence
Conciseness
Response relevance
Safety
Harmfulness
Refusal
Stereotyping
Multimodal
Multimodal output
Multimodal overall quality
Multimodal correctness
Multimodal faithfulness
Multimodal instruction following
Agentic
Instruction following
Goal success rate
Failure communication
Partial completion
Recovery strategy
Tool selection accuracy
Tool parameter accuracy
Skill
Skill selection accuracy
Skill instruction following
Deterministic
Structured output similarity
Typed rubric
Custom
Detectors
Overview
Failure detection
Root cause analysis
Session diagnosis
Simulators
Overview
User simulation
Customizing user simulation
Tool simulation
Red teaming
Overview
Quickstart
Attack strategies
Writing custom cases
Writing a custom task
Scoring attacks
Reading the report
Optimization
Overview
Quickstart
Declaring what can change
Choosing an entry route
Objectives and budget
Customizing the search
Reading the results
Chaos testing
CLI
Overview
run
generate
diagnose & fetch
report & validate
ui
/decider
Route, classify, and score with confidence.
Get started
Overview
Quickstart
Introduction
Models
Inference server
Models
V2 Models
E2B-gemma4 v2
E4B-gemma4 v2
12B-gemma4 v2
26B-A4B-gemma4 v2
31B-gemma4 v2
V1 Models
2B-qwen3.5
E2B-gemma4
E4B-gemma4
12B-gemma4
26B-A4B-gemma4
Deployment
Local
SageMaker
Lambda
Terraform
Training
Understanding Strands Decider
Train a model
Data card
/stash
Mount agent context sources as files.
Get started
Overview
Quickstart
How Stash works
Capabilities
One interface
Hydration
Progressive disclosure
Managed workspace
Local memory
Feedback loops
Guides
Connect sources
The mount
Attachment modes: MCP or CLI
Secure Stash
Observe and measure
Usage analytics
Troubleshoot
Sources
AgentCore Memory source
AgentCore Gateway sources
MCP source
Plugin source
Write a plugin
Integrations
Supported harnesses and frameworks
Claude Code
Codex
Kiro
Strands Agents
Deploy on AgentCore Runtime
Run an agent in a box
The local store
Reference
Command reference
Configuration reference
Plugin protocol
/labs
Experimental projects pushing the boundaries of what agents can do.
Learn
Courses
Guided lessons from your first agent to multi-agent systems.
Examples
Runnable samples you can drop into your own project.
Integrations
Contribute
Blog
TS
TypeScript
Python
Rust
Search
Theme
GitHub
Discord
Search
Ctrl
K
Cancel
Menu
/harness-sdk
Overview
Classes
AfterInvocationEvent
AfterModelCallEvent
AfterToolCallEvent
AfterToolsEvent
Agent
AgentMetrics
AgentResult
AgentResultEvent
AgentTrace
AudioBlock
BedrockModel
BeforeInvocationEvent
BeforeModelCallEvent
BeforeToolCallEvent
BeforeToolsEvent
CachePointBlock
CitationsBlock
ClassifierStrategy
ConcurrentInvocationError
ConcurrentToolExecutor
ConstantBackoff
ContentBlockEvent
ContextManager
ContextWindowOverflowError
ConversationManager
DecisionModel
DecisionsAPIDecisionModel
DefaultModelRetryStrategy
DefaultNotConfiguredError
DocumentBlock
ExponentialBackoff
ExtractionTrigger
FallbackStrategy
FileStorage
FunctionTool
Graph
GuardContentBlock
HookableEvent
HookRegistry
ImageBlock
InitializedEvent
InjectedBlock
InterruptError
InterruptEvent
InterruptResponseContent
IntervalTrigger
InterventionHandler
InvocationTrigger
JsonBlock
JsonValidationError
LinearBackoff
LLMDecisionModel
MaxTokensError
McpClient
McpTaskCancelledError
McpTaskFailedError
MemoryManager
Message
MessageAddedEvent
Model
ModelContentBlockDeltaEvent
ModelContentBlockStartEvent
ModelContentBlockStopEvent
ModelError
ModelExtractor
ModelMessageEvent
ModelMessageStartEvent
ModelMessageStopEvent
ModelMetadataEvent
ModelNetworkError
ModelRedactionEvent
ModelRetryStrategy
ModelRouter
ModelStreamUpdateEvent
ModelThrottledError
NullConversationManager
OffloadedBlock
PosixShellSandbox
ReasoningBlock
RoutingCandidate
S3Location
Sandbox
SandboxAbortError
SandboxIsADirectoryError
SandboxPathNotFoundError
SandboxPermissionError
SandboxTimeoutError
SequentialToolExecutor
SessionManager
SlidingWindowConversationManager
StateStore
StorageError
StreamEvent
StructuredOutputError
SummarizingConversationManager
SummaryBlock
Swarm
TextBlock
Tool
ToolNotFoundError
ToolReferenceBlock
ToolResultBlock
ToolResultEvent
ToolStreamEvent
ToolStreamUpdateEvent
ToolUseBlock
ToolValidationError
TypeSafeDecisionModel
Uncertain
UnknownBlock
VideoBlock
ZodTool
Interfaces
AddMessagesContext
AgentAsToolOptions
AgentMetadata
ArchiveConfig
AskOptions
AudioBlockData
BackgroundTasksConfig
BackoffContext
BackoffStrategy
BaseModelConfig
BedrockGuardrailConfig
BedrockGuardrailRedactionConfig
BedrockModelConfig
BedrockModelOptions
CacheConfig
CachePointBlockData
CancelOptions
Citation
CitationsBlockData
CitationsDelta
ClassifierStrategyOptions
ConstantBackoffOptions
ContextManagerConfig
ContextState
ContextStrategy
CountTokensOptions
DecisionCallOptions
DecisionResult
DecisionsAPIDecisionModelOptions
DefaultModelRetryStrategyOptions
DeferConditions
DeferStrategy
DirectToolCallOptions
DocumentBlockData
ExecuteOptions
ExecuteToolContext
ExecuteToolResult
ExecutionResult
ExponentialBackoffOptions
ExtractionConfig
ExtractionResult
ExtractionTriggerContext
Extractor
ExtractorContext
FileInfo
FunctionToolConfig
GuardContentBlockData
GuardContentImage
GuardContentText
HookCallbackOptions
ImageBlockData
InjectedBlockData
InjectionConfig
InjectionContext
Interrupt
InterruptParams
InterruptResponse
InterruptResponseContentData
IntervalTriggerOptions
InvocationContext
InvocationContextUsage
InvokableTool
InvokeLimits
InvokeModelContext
InvokeModelResult
InvokeOptions
LifecycleObserver
LinearBackoffOptions
LLMDecisionModelOptions
LocationData
Logger
McpCallToolOptions
McpCancelledTask
McpCancelTaskResult
McpClientCredentials
McpClientOptions
McpCompletedTask
McpFailedTask
McpInputRequests
McpInputRequiredTask
McpInputResponses
McpListOptions
McpListToolsOptions
McpLoadServersOptions
McpProgress
McpServerConfig
McpTask
McpTaskError
McpTaskRequestOptions
McpTaskResult
McpToolFilters
McpUpdateTaskResult
McpWorkingTask
MemoryAddOptions
MemoryAddToolConfig
MemoryEntry
MemoryInjectionConfig
MemoryManagerConfig
MemoryMessageFilter
MemorySearchOptions
MemoryStore
MemoryStoreConfig
MemoryToolConfig
MessageData
Metrics
MiddlewareInterruptible
MiddlewareInterruptResult
MiddlewareStage
ModelCapabilities
ModelContentBlockDeltaEventData
ModelContentBlockStartEventData
ModelExtractorOptions
ModelLimits
ModelMessageStartEventData
ModelMessageStopEventData
ModelMetadataEventData
ModelRedactionEventData
ModelRouterOptions
ModelStopResponse
OffloadConditions
OffloadedBlockData
OffloadStrategy
OutputFile
Plugin
Question
ReasoningBlockData
ReasoningContentDelta
ReasoningProviderData
RedactInputContent
Redaction
RedactOutputContent
RoutingAttempt
RoutingCandidateOptions
RoutingContext
RoutingStrategy
S3LocationData
SearchOptions
SerializableMcpToolFilters
SessionManagerConfig
Snapshot
SnapshotManifest
SnapshotStorage
SnapshotTriggerParams
Storage
StreamChunk
StreamOptions
SummarizeConfig
SummarizeOptions
SummarizeResult
SummaryBlockData
TasksConfig
TextBlockData
TextDelta
ToolContext
ToolHandle
ToolReferenceBlockData
ToolResultBlockData
ToolSpec
ToolStreamEventData
ToolUse
ToolUseBlockData
ToolUseData
ToolUseInputDelta
ToolUseStart
TruncateConfig
TypeSafeDecisionModelOptions
Usage
VideoBlockData
ZodToolConfig
Type Aliases
AgentConfig
AgentStreamEvent
AnswerOf
AudioFormat
AudioSource
AudioSourceData
BedrockCacheConfig
BedrockCacheTTL
CandidateInput
CitationGeneratedContent
CitationLocation
CitationSourceContent
ContentBlock
ContentBlockData
ContentBlockDelta
ContentBlockStart
ContextManagerStrategy
ConversationManagerOptions
ConversationManagerReduceOptions
DecisionInput
DeferredToolLoading
DeferTarget
DocumentContentBlock
DocumentContentBlockData
DocumentFormat
DocumentSource
DocumentSourceData
ElicitationCallback
ElicitationContext
FunctionToolCallback
GuardImageFormat
GuardImageSource
GuardQualifier
HookableEventConstructor
HookCallback
ImageFormat
ImageSource
ImageSourceData
InjectionTrigger
InterruptSource
InvocationState
InvokeArgs
JitterKind
JSONSchema
JSONValue
McpClientConfig
McpConnectionState
McpCreateTaskResult
McpDetailedTask
McpDirectCallToolResult
McpGetTaskResult
McpInputRequest
McpInputResponse
McpProgressCallback
McpSubmitToolResult
McpTaskStatus
McpToolFilterCallback
McpToolMatcher
McpTransport
MemoryContentBlockType
MiddlewareHandler
MiddlewareHandlerOf
MiddlewareInputHandler
MiddlewareNext
MiddlewareNextOf
MiddlewareOutputHandler
ModelStreamEvent
MultiAgentSaveLatestStrategy
OffloadTarget
OnError
ProactiveCompressionConfig
PromptCaching
RetryDecision
RetryStrategy
Role
SaveLatestStrategy
Scope
SessionStorage
SlidingWindowConversationManagerConfig
SnapshotField
SnapshotLocation
SnapshotPreset
SnapshotTriggerCallback
StopReason
StrategyPresetName
StreamType
SummarizingConversationManagerConfig
SystemContentBlock
SystemPrompt
SystemPromptData
TakeSnapshotOptions
ToolCallerProxy
ToolChoice
ToolExecutorStrategy
ToolList
ToolResultContent
ToolResultStatus
ToolStreamGenerator
VideoFormat
VideoSource
VideoSourceData
Functions
configureLogging
contentBlockFromData
defineQuestions
isModelStreamEvent
tool
toolResultContentFromData
Select theme
Dark
Light
Auto
DocumentContentBlock
View as Markdown
type
DocumentContentBlock
=
TextBlock
;
Defined in:
src/types/media.ts:473