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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev20-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 c33ce64413bf315a32161470a6e361e0e8e662ae7c9aee7cf110b93a5c32b753
MD5 c8be864c93c5b25dda4ed1b03665adba
BLAKE2b-256 6c33e1c1c66fe25fe44aefa3418f0c22e99da932b160519b1b77ff2b24f723ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev20-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8238a6c86bb93b9173602b723d281b6bbf4cedc7ea6e9aaadd730615f05a6a08
MD5 c3cfdb59e9b05c9703b3050ac317a8b0
BLAKE2b-256 dea4e8a6e56dd99f2d8b4a94a6b2cdb8634a913c76556f5ca05608d20d14f609

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev20-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ed0dfcb2b3087cbc3b890886cac42b5e70184a2b4b669c1dd8ed0f3f2fec766f
MD5 10f0cd327167e966427851a37d6f6427
BLAKE2b-256 3c6c113d31e85c649c7600d91229c96ca86042878d4d836e4b775aa3822f0054

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev20-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8364ad52439eac47a82724fffb1d3936af6f2c9a8eba8666c30b88f0aeddd6c3
MD5 6268f47d2e0d98901b070d69c3222b7f
BLAKE2b-256 f24c6093b1de33dcae27ca78d12559a800dc39844719a38ba99b87bddf825af0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev20-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8398e19f0f4522e9da718cffbad46957d42722754be15ace441644546fd62b5a
MD5 b0cc1a8b4051e2dc232a405b18abbccb
BLAKE2b-256 1079c63863c2ab4484b96451a1886dcf81a4fdd8609d1f6a3e218eb629685774

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev20-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 88612738f12edbe5221eb82d12e427bc0d81716fdb4e3b1e51cea9806d1a1ea7
MD5 f0ffa22cb3d0b445c86f1cd16125233b
BLAKE2b-256 3f6465e3654efe3e5d92152d5bfa1eadf1ec58ea5d995baa4b1d2efe254a5a71

See more details on using hashes here.

Provenance

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