Before you begin
Before you start, make sure you have:- Runtime: Python 3.10 or later, or Node 20 or later.
- Package manager:
pipor a compatible tool for Python, ornpmfor TypeScript.
1
Install atlanai SDK
Each language has one package. In Python, tracing is an extra because it pulls in OpenTelemetry. In TypeScript, tracing is a subpath of the same package. Run the command for your language and the parts you need.
- Python
- TypeScript
For management only:To add tracing, install the If pip reports
tracing extra. It adds the OpenTelemetry packages that tracing needs:No matching distribution found for atlanai, your Python is older than 3.10. See No matching distribution found for atlanai.If you use the LangChain or LangGraph handler, add the langchain extra as well:2
Verify installation
Check version: Confirms the package resolves and prints the installed version. It does not confirm that your credentials work or that the Gateway is reachable. Installing needs no credentials.Both numbers match, because management and tracing share one version. If importing
- Python
- TypeScript
atlanai.tracing raises ModuleNotFoundError, or the numbers differ, see ModuleNotFoundError when importing tracing.Troubleshooting
If the install fails, oratlanai.tracing does not import, see Install and setup errors.
The commands above install the release described by this reference. When upgrading,
check the installed version before using an operation added in a later release.
Next steps
- Connect management client: Verify identity and read agents in a workspace.
- Trace your first agent run: Initialize tracing and confirm a trace reaches Atlan Trident.
See also
- Configuration: Every option and environment variable for management and tracing.
- Operations: Every management operation, by resource.