Drop a star to support Aim β |
Join Aim discord community
![]() |
β‘ β‘ Aim 4.0 stable has been released! β‘ β‘ !! |

Easily log, connect and observe any parts of your AI Systems from experiments to production to prompts to AI system monitoring.
AimStack offers enterprise support that's beyond core Aim. Contact via [email protected] e-mail.
About β’ Demos β’ Default logging apps β’ Quick Start β’ Examples β’ Documentation β’ Community β’ Blog β’
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.
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 |
Log Metadata Across Your ML Pipeline πΎ | Visualize & Compare Metadata via UI π |
---|---|
|
|
Run ML Trainings Effectively β‘ | Organize Your Experiments ποΈ |
|
|
Log Inputs, Outputs and Actions of Executions π€ | Visualize & Compare Executions Steps via UI π |
---|---|
|
|
Check out live Aim demos NOW to see it in action.
View Demo Β |Β
View Code![]() |
View Demo Β |Β
View Code![]() |
View Demo Β |Β
View Code![]() |
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, Keras Tuner, LightGBM, MXNet, Optuna, PaddlePaddle, PyTorch Ignite, SDB3, and XGBoost. | Experiment Tracking | docs | source |
Follow the steps below to get started with Aim.
pip3 install aim
from aimstack.base import Run, Metric
# Initialize a new run
run = Run()
# Log run parameters
run["hparams"] = {
"learning_rate": 0.001,
"batch_size": 32,
}
# Init a metric
metric = Metric(run, name='loss', context={'subset': 'training'})
for i in range(1000):
metric.track(i, epoch=1)
aim server
aim ui
TODO:
Add Aim badge to your README, if you've enjoyed using Aim in your work:
[](https://github.com/aimhubio/aim)
In case you've found Aim helpful in your research journey, we'd be thrilled if you could acknowledge Aim's contribution:
@software{Arakelyan_Aim_2020,
author = {Arakelyan, Gor and Soghomonyan, Gevorg and {The Aim team}},
doi = {10.5281/zenodo.6536395},
license = {Apache-2.0},
month = {6},
title = {{Aim}},
url = {https://github.com/aimhubio/aim},
version = {3.9.3},
year = {2020}
}
Considering contibuting to Aim? To get started, please take a moment to read the CONTRIBUTING.md guide.
Join Aim contributors by submitting your first pull request. Happy coding! π
Made with contrib.rocks.