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.dev15-py3-none-win_arm64.whl (2.9 MB view details)

Uploaded Python 3Windows ARM64

managed_deepagents-0.1.3.dev15-py3-none-win_amd64.whl (3.0 MB view details)

Uploaded Python 3Windows x86-64

managed_deepagents-0.1.3.dev15-py3-none-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

managed_deepagents-0.1.3.dev15-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.dev15-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev15-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 c510b647aa5c58b3c5972f43acd41b032b2678b48892b38b26bced5b1b8b5a4f
MD5 4b475ba53db3f00003f2d955f24743d3
BLAKE2b-256 abe094238f1abe08a49f8987250919c5c76e2a4ec213cdd2320ff6fd2ec3987e

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev15-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.dev15-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev15-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 34b8afec9ba5501392f32ee21f6f95cf8dbbb4060ad1b29d3f1c2a8526df798e
MD5 2a3df06089efe2aaf9af804f5a42d934
BLAKE2b-256 2c7d72421fb33387e0c5c4eb8e73a0ceb4eacb06a666f89e4019684aece472f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev15-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.dev15-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev15-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 33250b106ff57926322f30064fc7e23418c15788dfed8e4bfd02fcb65a612f42
MD5 783ce05ca3a415aea385ad21bd864562
BLAKE2b-256 6dd8b379ba658ca05047cf128e439e750796d552c3d91180bb4419300ca6a6c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev15-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.dev15-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev15-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7e1d2d7cc9f3822eaa345c103a0530e39368fda7f4b92b706515ce6c924b2fb
MD5 344fa2ef654f95f1030ba21e8f8585ca
BLAKE2b-256 e0dc5ae22cc8a368d41f0d399d335af55807a4daee9a99d8422654e57fe75103

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev15-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.dev15-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev15-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d874910d00e754273e5c1984c17130f8a350ddea946ab7f0cc786205322efa96
MD5 456f195840bd1378b7a3807c81469c11
BLAKE2b-256 d3c30a9b490be14a2c187040acd069f48027889d7c9ca15d4e9bd820d0993aa9

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev15-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.dev15-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev15-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 36f6ddcadc73499c0862564879a2be9148a396c21a4a37ea3ac2003464746920
MD5 8bfc79d3f5f46501e4521d7ac5df2e05
BLAKE2b-256 e07b39b5bc51d288bbc64ad575baa0670c80571cb85e696d2d48fc40c16d9305

See more details on using hashes here.

Provenance

The following attestation bundles were made for managed_deepagents-0.1.3.dev15-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