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 managed_deepagents import define_deep_agent

# The system prompt comes from instructions.md next to this file.
agent = define_deep_agent(
    model="openai:gpt-5.5",
    tools=[query_db],
)

define_deep_agent accepts the create_deep_agent keyword surface minus the managed keys: backend, store, checkpointer, memory, skills, and system_prompt. Those are provided by the managed runtime when your agent is deployed. Write the system prompt in instructions.md next to agent.py; the CLI embeds it at deploy time.

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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev23-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 7ce8e0af31f84487da19ff75eea9be25d12d62d77fba298908b177f1667a6b2a
MD5 4adb3437ad31050414b73d6cf34061f4
BLAKE2b-256 35e593f4ecca52232c46d98fe0532762e3e5b71ba5f236c08a6cc254098fc6f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev23-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f2d42329b2168a90767c66bce62bf8d3f96bec55047f16da8a15bfe2fc8ca2d4
MD5 11b8b43395fce476c72445d4e2570cf6
BLAKE2b-256 6645ab7a012cbec02c943ad0c53187e7d55a0f4cc92b674deb915169f6217631

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev23-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5c982534b3e7fe66cdce169992128873b47d11219f591874499209d5ecf18bf7
MD5 a3a4cf877dcc66705ee76976b5305cc5
BLAKE2b-256 109c69b383c5221d07927d22e30e6a86e0073a053316f4998254d752e5991e40

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev23-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 36c1842d10a9ebb3f0f33bdfeeb39ccde528de4ad05940e302e76870ed365203
MD5 69d5b150fdb7bf62c66ac2604360c072
BLAKE2b-256 ce163662de138d3123529a4e2d648a3a02f5325c878d78069b2a44a9d804affb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev23-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b93ccffdf6a7d4a93ddb938359d7f23507f628d670e307e69edcc1f0ba0cc08f
MD5 8d49776ab9eae34dfb3261409ef9df22
BLAKE2b-256 874fc16588ad532a5c577c33f01d1a9ddf4057bedef33bf8fc4d10c690e0eae0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev23-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 156d0d19f507202486e55685b4c803b011dfe933542c0321e8835d4fc28e61eb
MD5 c17493a9cad2c540acd897f5fd974277
BLAKE2b-256 0677f02b2107431d56cc24d2690d23a35b404602b6bea3bd098e3ff779046b44

See more details on using hashes here.

Provenance

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