Claude Agent SDK compatibility client
Claude Agent SDK compatibility client
Public fields
optionsStored
claude_sdk_options()used to configure the clientagentThe underlying Deputy agent instance
Methods
Method new()
Create a new compatibility client.
Usage
ClaudeSDKClient$new(options = claude_sdk_options())Method query()
Run a prompt through the compatibility client.
Arguments
promptUser prompt to send
output_formatOptional structured output format passed to deputy
Returns
An AgentResult
Method resume()
Resume or fork a persisted compatibility session.