MCPcopy Index your code
hub / github.com/aimhubio/aim

github.com/aimhubio/aim @v4.0.3

repository ↗ · DeepWiki ↗ · release v4.0.3 ↗ · + Follow
4,820 symbols 15,856 edges 1,623 files 556 documented · 12% 1 cross-repo links updated 1d agov3.29.1 · 2025-05-08★ 6,178413 open issues
README
Drop a star to support Aim ⭐ Join Aim discord community
⚡ ⚡ Aim 4.0 stable has been released! ⚡ ⚡ !!


Open-source modular observability for AI Systems.

Easily log, connect and observe any parts of your AI Systems from experiments to production to prompts to AI system monitoring.

Discord Server Twitter Follow Medium

Platform Support PyPI - Python Version PyPI Package License PyPI Downloads Issues

SEAMLESSLY INTEGRATES WITH:

TRUSTED BY ML TEAMS FROM:

AimStack offers enterprise support that's beyond core Aim. Contact via hello@aimstack.io e-mail.


AboutDemosDefault logging appsQuick StartExamplesDocumentationCommunityBlog


ℹ️ About

Aim is an open-source operating system for logs. With Aim you can build, run and combine any kind of logging applications - experiment tracking, production monitoring, AI System (LLM-based) monitoring, usage monitoring etc.

The Logging applications are typically a combination of these components:

  • The types and relationships of the data being logged
  • The observability UI over the data logged
  • Automations over the data logged

Aim comes installed with a number of default logging apps:

  • Base App - a basic generic log exploration and the logging primitives
  • AI Experiment Tracking App - log and explore your machine learning experiments. Includes integrations with the majority of leading ML frameworks.
  • AI Systems Tracing and Debugging Apps - a combination of variety of apps that log from langchain to llamaindex traces all in one place.

Apart from running the logging apps, Aim comes with explorers and reports.

  • Explorers are advanced logs comparison tools for specific kind of logs - they allow to compare 1000s of sessions of metrics, images, text, audio and other types of data.
  • Reports are embedded knowledge-base that operate with the apps and explorers seamlessly to enable capture the knowledge built on top of the logged data from the observations through Aim apps and explorers.

With the rise of AI Systems and the challenges it brings forward, logging apps are going to be a crucial part of the software.

Our mission is to democratize developer tools for building AI.

Base App

A general observability over anything logged with Aim.

Visualize all the logs ever logged with Aim for the given project 🗺️
Base types to log common artifacts such as Images, Audio objects, Figures, Metrics
High-level overview of the logs, the types logged and the respective sessions/ containers
Deep-dive into each type of the log

Experiment Tracking App

Log Metadata Across Your ML Pipeline 💾 Visualize & Compare Metadata via UI 📊
  • ML experiments and any metadata tracking
  • Integration with popular ML frameworks
  • Easy migration from other experiment trackers
  • Metadata visualization via Aim Explorers
  • Grouping and aggregation
  • Querying using Python expressions
Run ML Trainings Effectively ⚡ Organize Your Experiments 🗂️
  • System info and resource usage tracking
  • Real-time alerting on training progress (upcoming)
  • Detailed run information for easy debugging
  • Centralized dashboard for holistic view

AI Systems Tracing Apps

Log Inputs, Outputs and Actions of Executions 🤖 Visualize & Compare Executions Steps via UI 🔍
  • Track all the prompts, generations of LLMs
  • Track all the inputs, outputs of tools
  • Capture chains metadata
  • Deep dive into single execution steps
  • Compare executions side-by-side

🎬 Demos

Check out live Aim demos NOW to see it in action.

Tracing LangChain-based chatbot executions

View Demo  |  View Code

Tracing LlamaIndex query executions

View Demo  |  View Code

Tracking PyTorch-based CNN trainings

View Demo  |  View Code

🌍 Default logging apps

Aim comes pre-installed with a wide variety of apps. Here is the full list:

App Name Description Category Docs Source
base Base Aim app for general observability over anything logged with Aim. Includes base types to log common artifacts, such as Image, Audio object, Figure, Metric. Base docs source
docs Use this Aim app to access Aim docs. Docs - source
langchain_debugger Debugger for LangChain that logs LLMs prompts and generations, tools inputs/outputs, and chains metadata. AI Systems Tracing docs source
llamaindex_observer Debugger and observer for LlamaIndex. Logs metadata like retrieval nodes, queries and responses, embeddings chunks, etc. AI Systems Tracing docs source
experiment_tracker App for tracking and exploring ML experiments. Integrations with various ML libraries, including Acme, CatBoost, fastai, Hugging Face Transformers, Keras, K

Extension points exported contracts — how you extend this code

IUseDepthMapProps (Interface)
* * @param data {Array } - Array of items which needs for grouping and calculating the initial depth map * @param gr
src/aimcore/web/ui/src/modules/BaseExplorer/components/Visualizer/hooks/useDepthMap.ts
IBookmarksStore (Interface)
* @description bookmarks store is zustand store for bookmarks data
src/aimcore/web/ui/src/pages/Explorers/Bookmarks/Bookmarks.d.ts
StoreSliceMethods (Interface)
(no doc) [1 implementers]
src/aimcore/web/ui/src/modules/core/engine/types.ts
GTAG (Interface)
(no doc)
src/aimcore/web/ui/src/types/global.d.ts
Window (Interface)
(no doc)
src/aimcore/web/ui/src/types/global.d.ts

Core symbols most depended-on inside this repo

get
called by 274
pkgs/aimstack/base/types/audio.py
_nvmlGetFunctionPointer
called by 260
src/python/aim/_ext/system_info/pynvml.py
_nvmlCheckReturn
called by 255
src/python/aim/_ext/system_info/pynvml.py
keys
called by 174
src/python/aim/_core/storage/treeview.py
subheader
called by 167
src/aimcore/web/ui/public/aim_ui_core.py
get
called by 143
src/python/aim/_sdk/container.py
track
called by 130
pkgs/aimstack/base/types/run.py
text
called by 129
src/aimcore/web/ui/public/aim_ui_core.py

Shape

Function 2,113
Method 1,619
Interface 498
Class 479
Route 62
Enum 49

Languages

Python56%
TypeScript44%

Modules by API surface

src/python/aim/_ext/system_info/pynvml.py363 symbols
src/aimcore/web/ui/public/aim_ui_core.py211 symbols
src/python/aim/_sdk/remote_storage.py98 symbols
src/python/aim/_core/storage/proxy.py87 symbols
src/aimcore/web/ui/src/components/Table/BaseTable.tsx61 symbols
src/python/aim/_sdk/collections.py49 symbols
src/python/aim/_sdk/container.py47 symbols
src/python/aim/_sdk/sequence.py42 symbols
src/python/aim/_sdk/repo.py40 symbols
src/aimcore/web/api/runs/views.py40 symbols
src/aimcore/web/ui/src/utils/d3/drawHoverAttributes.ts39 symbols
src/aimcore/web/api/runs/pydantic_models.py36 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@aksel/structjs1.0.0 · 1×
@material-ui/core4.12.2 · 1×
@material-ui/icons4.11.2 · 1×
@material-ui/lab4.0.0-alpha.60 · 1×
@monaco-editor/react4.4.4 · 1×
@nivo/bar0.83.0 · 1×
@nivo/core0.83.0 · 1×
@nivo/line0.83.0 · 1×
@nivo/parallel-coordinates0.83.0 · 1×
@nivo/scatterplot0.83.0 · 1×
@radix-ui/react-checkbox1.0.1 · 1×

For agents

$ claude mcp add aim \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact