LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-clideployOPT_AGENT_ENVIRONMENT
    Attribute●Since v0.4

    OPT_AGENT_ENVIRONMENT

    Copy
    OPT_AGENT_ENVIRONMENT = click.option(
      '--agent-environment',
      'environment',
      envvar='LANGSMITH_AGENT_ENVIRONMENT',
      show_envvar=True,
      type=click
    View source on GitHub
    .
    Choice
    (
    [
    'development'
    ,
    'staging'
    ,
    'production'
    ]
    )
    ,
    help
    =
    'Agent environment (requires agent mode enabled for the tenant).'
    )