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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

managed_deepagents-0.1.3.dev17-py3-none-macosx_10_12_x86_64.whl (1.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev17-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d7b17f95e9a333da7e75ad1c91977de8033bc5c22c7ac7faf9061841b9c72d41
MD5 a151795545be54291f937d98a7dd6f39
BLAKE2b-256 9aeae37f8345bfec1c274fd12806e651db05bdea13e13970603300f11f0239bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev17-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ad51a06de6ffbd0f645f78607c726e25af6c3e8b90f3f17149080907f2868562
MD5 8e73ca00c6cf7bd811534a906e49e153
BLAKE2b-256 14cf37c5479e9d5cf1ffdfcee0579a59eac2795b67b4cdd4a5b30f1a4e6ac421

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev17-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0420b8dd5e61b79f43e3882510316d7757976a9bb726faa0fc4eee721372c92b
MD5 1b0b8537558bdece1ab071033987dafa
BLAKE2b-256 9584459f84395941cc09e7ef95f6fe9cbba792ae7e26ac1119018a089341f069

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev17-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 348e1afae191c499812b36f5ce3ad54ccfce318ebac62eb40da89f457d7cb0a3
MD5 97ef54670521a555dec66acd606120a2
BLAKE2b-256 8945f0f6f2d0fb90bcd484b3c9e4b52dc5732c9ee2f9d72394dc319a67bcec13

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev17-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f2a364aaef54703356b0ae5cba94c23cf5557c52ccaf98bab6f8653235e31f7d
MD5 34f056179c6547f51de757fa501e5f8f
BLAKE2b-256 abdffe45597077f938d2cc6c36ec2a4073a5ec7f35dcb73dd70c82195beb0538

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev17-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 83135506ca5d6203929142dbeb9d38aa0cdbe349357dc35efe57a6c21c482a7b
MD5 f0184731b1715cbf5a01ee47fd89afca
BLAKE2b-256 6ef4f3907def76442162b2cf45becb0bf2669cea5f36dd39741e8f5a209a8769

See more details on using hashes here.

Provenance

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