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

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithasync_clientAsyncClientpush_agent
Methodā—Since v0.7

push_agent

Copy
push_agent(
  self,
  identifier: str,
  *,
  files: dict[str, Optional[
View source on GitHub
ls_schemas
.
Entry
]
]
,
parent_commit
:
Optional
[
str
]
=
None
,
description
:
Optional
[
str
]
=
None
,
readme
:
Optional
[
str
]
=
None
,
tags
:
Optional
[
Sequence
[
str
]
]
=
None
,
is_public
:
Optional
[
bool
]
=
None
)
->
str

Push an agent to Hub, creating the repo if it does not exist.