Streaming input mode is the preferred way to use the Claude Code SDK. It provides full access to the agent’s capabilities and enables rich, interactive experiences.It allows the agent to operate as a long lived process that takes in user input, handles interruptions, surfaces permission requests, and handles session management.