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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev16-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 3e75b45276588765cc67493a88b57977a9cbbd3f5de8a5b052a1f1c0fccf80f9
MD5 87e2f142cf14be040463a4ba0c9eec05
BLAKE2b-256 cebd64f410fa1b9d1a56c4e08be2d9696d095e633ccae8dd6c31df2a4f61bbd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev16-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 84d981ded899b758e6e4383c256e2d1ac8b9e6d5ea2c3c223468a581895c90df
MD5 ad39c39043291fb675cbf4a9c17feaaf
BLAKE2b-256 ac98c836ec34930afc33d34cac36eec19ef2f540d955fe2735c6b88e18311422

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev16-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8779eb2e8f1e5892ebc4a99833bcf43004231413e648f9d7f05ef758cd0b2cc2
MD5 e2b702a660aa6ed2f93b36ab77e80d27
BLAKE2b-256 55e618e324822f1af8cc0cee952e6be50292d362c06957c99ec590857d5e4bf3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev16-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b7eb8e5cb07dfefa5fdb2efc01bf64820e179709b9c37e3050e4af27f61636cc
MD5 cc807722cadb41817c5c8b11b8701078
BLAKE2b-256 90588db92907354ea154ff5db050324a8b457ead2adcc6969cb2cede450a501f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev16-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ba906b7e222c22de4fab77f5eb3f451c7ce5d9b50047ddf41103c42170c40d46
MD5 f8e4f4a156671b096d4cb0b374647412
BLAKE2b-256 8871a63c73221e80fca37920c65cd10b8b61a0d4a80c7cc218183aff19fcccf2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev16-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fa15881186abc01a6c0ef7dfb6341c84486eafbe57ca812ad2f23f2deea11932
MD5 aef52780ece65989f9fb016781ba4278
BLAKE2b-256 35cbf17901c0b958ad082c16af4cab98260ca1958f51cb46728a18be00dce38a

See more details on using hashes here.

Provenance

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