For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.

agent-engine-runner-shared

The Python runner runtime for Atlas Agent Engine. It provides the platform protocol, secure tool and LLM wrappers, request-scoped runtime context, and server adapters used by the Python LangGraph and ADK SDKs.

This package is an open-source runtime integration library. Running an agent through the managed service requires Atlas Agent Engine services such as the Orchestration Engine and the Agent Execution Runtime; those services are not distributed with this package. Agent authors normally depend on a framework SDK (agent-engine-sdk-langgraph or agent-engine-sdk-adk), which installs this package.

pip install agent-engine-runner-shared

Install features as needed. Use uv add if your project is managed with uv, or pip install otherwise:

# uv projectsuv add agent-engine-runner-shareduv add "agent-engine-runner-shared[mongodb,tracing]"uv add "agent-engine-runner-shared[tracing]"uv add "agent-engine-runner-shared[mongodb]" # pippip install agent-engine-runner-sharedpip install "agent-engine-runner-shared[mongodb,tracing]"pip install "agent-engine-runner-shared[tracing]"pip install "agent-engine-runner-shared[mongodb]"
uv sync --extra devuv run pytest

Copyright 2026 MongoDB, Inc. Licensed under the Apache License, Version 2.0.

Rate this page