LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypesagent_create_paramsAgentCreateParams
Class●Since v0.14

AgentCreateParams

Copy
AgentCreateParams()

Bases

TypedDict

Constructors

Attributes

View source on GitHub
constructor
__init__
NameType
idRequired[str]
source_typeRequired[Literal['LSD', 'MDA', 'EXTERNAL', 'FLEET']]
agent_typeLiteral['CUSTOM', 'CODING']
namestr
production_onlybool
attribute
id: Required[str]

Unique agent identifier: 1-63 lowercase letters, digits, or hyphens, starting with a letter and ending with a letter or digit.

attribute
source_type: Required[Literal['LSD', 'MDA', 'EXTERNAL', 'FLEET']]

Agent runtime kind. Use EXTERNAL for an application hosted outside LangSmith.

attribute
agent_type: Literal['CUSTOM', 'CODING']

AgentType defaults to CUSTOM when omitted.

attribute
name: str

Display name. Defaults to the agent ID.

attribute
production_only: bool

ProductionOnly creates only the PRODUCTION environment.

It is accepted only when SourceType is FLEET; other sources always get all four environments.