@mongodb-js/agent-engine-runner-shared

For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

@mongodb-js/agent-engine-runner-shared

MongoDB Atlas Agent Engine is in Public Preview and intended for evaluation and prototyping purposes only. We do not recommend production deployments during preview and expect to communicate breaking changes with you periodically. To learn more about preview feature considerations, see Preview Features.

The TypeScript 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 TypeScript LangGraph SDK.

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 Agent Execution Runtime; those services are not distributed with this package.

This is an internal core package; agents don't install it directly. Install a framework SDK (@mongodb-js/agent-engine-sdk-langgraph), which depends on it.

Development

Run commands from the TypeScript workspace root:

npm ci
npm run build --workspace=@mongodb-js/agent-engine-runner-shared
npm run test --workspace=@mongodb-js/agent-engine-runner-shared

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