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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev22-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 2241fff4b973758d4646477581e8350551a03762e16fd2a649174caf40dfd85e
MD5 a7d7b71a7ae3903664c8be7441f0228f
BLAKE2b-256 f2a0ac62716de6a99b8a760870c48f8f347d618f182739580b90c049190d1065

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev22-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7a8132d624e65e659c1ae40ee468be3b3fe04873039751dca96f747ac3a3b61c
MD5 a7876352752b65e86cb0ed7f0e597357
BLAKE2b-256 a53f403ba0b2bcfb2ffb6707525864198d9b4871e70e25e6176c442973858a4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev22-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 87098e188dc7350e46ac930a834fb056c8ea0707681fdd0483b8d2fe86fdd854
MD5 aeb5e24aa4c360c0554e94fb7b5884f1
BLAKE2b-256 8109bf670c92fc9fd1638d60a2f087fb4f0ad0372766e7b58292ba733f697278

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev22-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 66101639d88240a7d462183ae7ca34f7760b503b0815ff88eee2b338ea6502fb
MD5 2cd381f26356d044ee4b4674fd60d8f1
BLAKE2b-256 f54c7081e5d62b05e07fed866e96e599a231b49e8b9c6eda238f2346aa9f49f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev22-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f2dd6b341931f736df9204ddaf9e9d6dca902434781414f748baa32556e61bd0
MD5 c2004107f2b6ff3d29ed34a7e73e11a8
BLAKE2b-256 77e2b542b56601c2cb10db0e8f60da341db7cfe53b460f3386b7ef2b72eb8c3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev22-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 657321650eb0908603b10b973366d1b4f579574a9edeef551057037d0235a8c2
MD5 8a601855801b2a0458c6a693a79161a8
BLAKE2b-256 c23b9338bd22588b60e89950840d651c5f4a4f79fa254a4804035a2a7309152c

See more details on using hashes here.

Provenance

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