Skip to main content

Managed Deep Agents — the define_deep_agent authoring interface plus the CLI that compiles and deploys a code-first Deep Agent repository to a managed LangGraph runtime.

Project description

Python authoring package and CLI launcher for Managed Deep Agents.

[!IMPORTANT] Active development / private beta. Managed Deep Agents is in active development and currently in private beta. The PyPI package API and managed runtime contract may change. Join the waitlist for access and updates.

managed-deepagents is the PyPI package for authoring Managed Deep Agents in Python. It includes:

  • define_deep_agent, the Python authoring contract for managed agents.
  • mda, the CLI used to build and deploy your agent to LangSmith.
  • managed_deepagents.runtime, the runtime helper used by generated managed entry modules.

Install

pip install managed-deepagents

[!NOTE] Private beta: dev releases only. We currently publish only PEP 440 pre-release (dev) versions and no stable version yet. pip skips pre-releases by default, so install with --pre:

pip install --pre managed-deepagents

This package requires Python 3.9 or newer. Each platform wheel bundles the prebuilt mda binary for its OS and CPU architecture and exposes it through the mda console script.

Define an Agent

Create an agent.py that defines an agent:

from pathlib import Path

from managed_deepagents import define_deep_agent

instructions = Path("instructions.md").read_text()

agent = define_deep_agent(
    model="openai:gpt-5.5",
    system_prompt=instructions,
    tools=[query_db],
)

define_deep_agent accepts the create_deep_agent keyword surface minus the managed keys: backend, store, and checkpointer. Those are provided by the managed runtime when your agent is deployed.

Project Shape

my-agent/
  agent.py
  instructions.md
  tools/
  middleware/
  skills/

The CLI copies your project files into the managed build and generates the entry module that connects your definition to the hosted runtime.

CLI

Build locally:

mda build ./my-agent

Deploy to LangSmith:

mda deploy ./my-agent

The generated build is written to <root>/.mda/build by default.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

managed_deepagents-0.1.3.dev21-py3-none-win_arm64.whl (3.1 MB view details)

Uploaded Python 3Windows ARM64

managed_deepagents-0.1.3.dev21-py3-none-win_amd64.whl (3.2 MB view details)

Uploaded Python 3Windows x86-64

managed_deepagents-0.1.3.dev21-py3-none-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

managed_deepagents-0.1.3.dev21-py3-none-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file managed_deepagents-0.1.3.dev21-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev21-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e8f03fbf44af22a9e470bbb197942283f6384ddbf81f1892f06638c93ce41353
MD5 913a545a2df8707f5f572830ec023870
BLAKE2b-256 9a81ac6f299a5f3192c6bcc5426b4c0b043e309c4dce9778c1ee0d2273e26c98

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev21-py3-none-win_arm64.whl:

Publisher: release.yml on langchain-ai/managed-deepagents-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file managed_deepagents-0.1.3.dev21-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev21-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4a310956d91d7dca5abe5e5a6842ba9bef88eb0545a482fa1d317b7a6e483d84
MD5 ab8264bfeeb70bbd6aa40288fe919a6e
BLAKE2b-256 be42dfcb5156e7354775695e02d556fcba0eac419474b74656eee65227a7b3e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev21-py3-none-win_amd64.whl:

Publisher: release.yml on langchain-ai/managed-deepagents-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file managed_deepagents-0.1.3.dev21-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev21-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 237ea3280bbdabc636f844838bea919cbf120eab9ae6d92ccd88b71f77f3eec1
MD5 4678637e87b47e14a74d192df1dc98a5
BLAKE2b-256 d227ec5897f4aa4153249893016ecc35b15f30fada7037e715147723e609c4d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev21-py3-none-manylinux2014_x86_64.whl:

Publisher: release.yml on langchain-ai/managed-deepagents-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file managed_deepagents-0.1.3.dev21-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev21-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9bccc3d88e94d4a6081fca7f960a81fb939f3bdb17ee7cf59c07149567a80975
MD5 e49239028990b241c1b89480174075ea
BLAKE2b-256 e389b921b081d4d51462b4b8ca995184614aa729b60dd1e42da773b6f5a3f235

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev21-py3-none-manylinux2014_aarch64.whl:

Publisher: release.yml on langchain-ai/managed-deepagents-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file managed_deepagents-0.1.3.dev21-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev21-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6eda6b17ae65037dbb586cf84fe90bdf0f0a0fda1b15a23e7e014c3fcd206ad7
MD5 fc1a19df92082bc2ad8bd2e3d7e929e3
BLAKE2b-256 a75e2d4d1782d08e87970ef75dd2d5a6b3e4d64991a3730e2634a49aa88360a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev21-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on langchain-ai/managed-deepagents-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file managed_deepagents-0.1.3.dev21-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev21-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6242941e12b9b7875e94b44743acd20b09595d353c306fc67889f7b22efef85c
MD5 d55e40d657f586ecacaad8c5d0252501
BLAKE2b-256 2de0d5632a860326562e0434412e9e3d45e98a06c8439836c14a02df6d091808

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev21-py3-none-macosx_10_12_x86_64.whl:

Publisher: release.yml on langchain-ai/managed-deepagents-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page