claude_agent_sdk 0.1.0
claude_agent_sdk: ^0.1.0 copied to clipboard
A typed Dart SDK for building agents with the Claude Code CLI.
Examples #
quick_start.dartdemonstrates a typed one-shot query. It performs a deterministic configuration smoke by default; setCLAUDE_AGENT_SDK_LIVE_TEST=1to contact the authenticated Claude CLI.session_store.dartdemonstrates the external transcript-store APIs without network access or a CLI subprocess.subagents.dartdemonstrates programmatic agent definitions and nested transcript/progress options. It is deterministic unless the same live-test environment variable is set.
Run both deterministic paths with:
dart run tool/smoke_example.dart
