Skip to content

DOC: Python pip install command for Claude Agent SDK uses single quotes and fails when copied in Windows Command Prompt #2736

@varuntej07

Description

@varuntej07

Issue with current documentation:

The install snippet shown in the LangSmith tracing UI for Claude Agent SDK -> Python -> pip currently displays:

pip install -U 'langsmith[claude-agent-sdk]'

On Windows Command Prompt, copying and pasting that exact command fails because the single quotes are treated as literal characters, so pip sees the package name as:

'langsmith[claude-agent-sdk]'

and returns:

ERROR: Invalid requirement: "'langsmith[claude-agent-sdk]'": Expected package name at the start of dependency specifier

This looks like a shell-specific docs/UI issue. The command works on Windows when the quotes are removed:

pip install -U langsmith[claude-agent-sdk]

Steps to Reproduce

  1. Open LangSmith tracing setup UI.
  2. Select Claude Agent SDK.
  3. Select Python.

Under install dependencies choose pip tab, copy the displayed install command and paste it in shell and you'll see the error:

ERROR: Invalid requirement: "'langsmith[claude-agent-sdk]'": Expected package name at the start of dependency specifier   
    'langsmith[claude-agent-sdk]'
    ^
Image Image

My Environment

OS: Windows
IDE: VSCode
Terminal: Command Prompt
Package manager: pip

Idea or request for content:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions