claude_agent_sdk 0.1.1 copy "claude_agent_sdk: ^0.1.1" to clipboard
claude_agent_sdk: ^0.1.1 copied to clipboard

A typed Dart SDK for building agents with the Claude Code CLI.

example/README.md

Examples #

  • quick_start.dart demonstrates a typed one-shot query. It performs a deterministic configuration smoke by default; set CLAUDE_AGENT_SDK_LIVE_TEST=1 to contact the authenticated Claude CLI.
  • session_store.dart demonstrates the external transcript-store APIs without network access or a CLI subprocess.
  • subagents.dart demonstrates 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
1
likes
160
points
468
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A typed Dart SDK for building agents with the Claude Code CLI.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ai #agents #claude #sdk #tools

License

Apache-2.0 (license)

Dependencies

path

More

Packages that depend on claude_agent_sdk