Install

Stream a prompt

`AutohandSDK` works best inside an async context manager so startup and teardown stay tidy.

Respond to permission requests

Parse typed events

Raw events are dictionaries, but you can upgrade known ones into typed models when you want stricter handling.

Activate skills

The Python wrapper can point at installed skills or local `SKILL.md` files.

Configuration notes

  • `startup_check=True` is useful when you want fast feedback if the CLI process does not come up cleanly.
  • Known camelCase fields are mirrored with snake_case aliases on incoming event dictionaries.
  • Provider configuration still lives in the CLI config file for the CLI-backed Python SDK.

Next steps

  • Open [Handle approvals and user input](/docs/agent-sdk/io/approvals.html) for the full review loop.
  • Open [Python API](/docs/agent-sdk/python-api.html) for reference details.