Anthropic Python SDK Installation Basic Usage Model Selection | Model | ID | Best For | |-------|-----|---------| | Claude Opus 4.6 | | Complex analysis, expert reasoning | | Claude Sonnet 4.6 | | Balanced performance/cost | | Claude Haiku 4.5 | | Fast, lightweight tasks | System Prompts Multi-Turn Conversations Streaming Tool Use (Function Calling) Vision (Image Input) Error Handling Async Client Usage Tracking Integration with Streamlit Best Practices | Practice | Why | |----------|-----| | Use for client | Avoid creating new client per request | | Store API key in secrets.toml / env | Neve…