ClaudeAgentSDK.Config (claude_agent_sdk v0.16.0)

Copy Markdown View Source

Top-level configuration facade for the SDK.

Provides accessor functions for mock mode and CLI stream module selection, with deprecation handling for legacy keys.

Domain-specific configuration is delegated to sub-modules:

Runtime Configuration

Every value can be overridden via config :claude_agent_sdk:

config :claude_agent_sdk, ClaudeAgentSDK.Config.Timeouts,
  client_init_ms: 90_000,
  query_total_ms: 5_400_000

config :claude_agent_sdk, ClaudeAgentSDK.Config.Buffers,
  max_stdout_buffer_bytes: 2_097_152

See the Configuration Internals guide for the complete reference.

Summary

Functions

cli_stream_module()

@spec cli_stream_module() :: module()

use_mock?()

@spec use_mock?() :: boolean()