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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev18-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 22170e380eed88a459b9296a11b30a9c043263456ee40c70947e4f6bfdfdc4c1
MD5 626fc9282d6010dfeb46f56a56fba939
BLAKE2b-256 02792e87de39d746beb422d6b3f8157a67715905ef4b6d17bbfba519ee0a001b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev18-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5d6b1f6130f4bc868eac94330834cef9c5777531107d56166be6a93d44c27055
MD5 1c3c4fb47e316955aaca590ddee66544
BLAKE2b-256 130b74dbdb83de25511aa30c5a4efedfd3ea6800b45de84adc0586700855f947

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev18-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 75b057bddd5b758d2fe0d793ba8a4f16f206c8514ca1c588935fb28bf2df28ec
MD5 485217ea54327896f733996c197c5277
BLAKE2b-256 0a15c66f175a32469003c0a17c1ed6459e83805372080ef2dd00c409d0ad3234

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev18-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 abc0e49ead3a459fcf4c390cf0b1204f5b1072984be83e497e83ea25c77b7506
MD5 854a19babaa00e715368ce722fd17b03
BLAKE2b-256 c9f579d9452d6c7bd46f6949bbc1fc15e5fec61a47670341aec9dd9f6e28dfbc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev18-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 52505ae389bac800c25eac12e4b3795fc74874f8e0684ef1999cbbf2f29a541c
MD5 4a1fef803fa48b0683c2e45d48f9aacd
BLAKE2b-256 0f1d8290b6c66fa75212e9be072c6a32445ef04e5b6210b76e7768475af2f099

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for managed_deepagents-0.1.3.dev18-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 53c85d92e888aadd3b78c66f9210efa32623a9bf867857e0e5f642d0a5dbc867
MD5 37bb6bef6b4783f1c9d39fbe230e94a1
BLAKE2b-256 43e5bf0bd4a91f0934153f478bb64e61e0872d3fb08c1a92e7ff82d1d9dec250

See more details on using hashes here.

Provenance

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