Metadata-Version: 2.4
Name: agenticml-lite
Version: 3.4.0
Summary: Lean, local-first experiment tracker for AgenticML. Installs as `agenticml-lite`, imports as `agenticml`.
Author-email: Gaurav Singh <gaurav.singh@agenticml.xyz>
License: MIT
Project-URL: Homepage, https://agenticml.xyz/
Project-URL: Documentation, https://agenticml.xyz/
Project-URL: Source, https://github.com/agenticML/agenticml-lite
Project-URL: Issues, https://github.com/agenticML/agenticml-lite/issues
Keywords: experiment-tracking,mlops,machine-learning,deep-learning,pytorch,tensorboard,wandb-alternative,self-hosted,local-first
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31
Provides-Extra: system
Requires-Dist: psutil>=5.9; extra == "system"
Provides-Extra: gpu
Requires-Dist: nvidia-ml-py>=12; extra == "gpu"
Provides-Extra: media
Requires-Dist: Pillow>=10.0; extra == "media"
Provides-Extra: firebase
Requires-Dist: PyJWT[crypto]>=2.8; extra == "firebase"
Provides-Extra: oidc
Requires-Dist: PyJWT[crypto]>=2.8; extra == "oidc"
Provides-Extra: postgres
Requires-Dist: psycopg[binary]>=3.1; extra == "postgres"
Provides-Extra: s3
Requires-Dist: boto3>=1.34; extra == "s3"
Provides-Extra: cloudwatch
Requires-Dist: boto3>=1.34; extra == "cloudwatch"
Provides-Extra: wandb
Requires-Dist: wandb>=0.17; extra == "wandb"
Provides-Extra: hosted
Requires-Dist: agenticml-lite[cloudwatch,firebase,postgres,s3]; extra == "hosted"
Provides-Extra: dev
Requires-Dist: boto3>=1.34; extra == "dev"
Requires-Dist: moto[s3]>=5.0; extra == "dev"
Requires-Dist: pytest>=7; extra == "dev"
Requires-Dist: build>=1.0; extra == "dev"
Requires-Dist: twine>=5.0; extra == "dev"
Requires-Dist: psutil>=5.9; extra == "dev"
Requires-Dist: Pillow>=10.0; extra == "dev"
Requires-Dist: responses>=0.24; extra == "dev"
Requires-Dist: PyJWT[crypto]>=2.8; extra == "dev"
Requires-Dist: psycopg[binary]>=3.1; extra == "dev"
Dynamic: license-file

# agenticml-lite

Experiment tracking for machine learning that runs from files on disk. A W&B-style Python API, a local dashboard, and no server to run.

[![PyPI](https://img.shields.io/pypi/v/agenticml-lite)](https://pypi.org/project/agenticml-lite/) [![Python versions](https://img.shields.io/pypi/pyversions/agenticml-lite)](https://pypi.org/project/agenticml-lite/) [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](https://github.com/agenticML/agenticml-lite/blob/main/LICENSE) [![Tests](https://github.com/agenticML/agenticml-lite/actions/workflows/test.yml/badge.svg)](https://github.com/agenticML/agenticml-lite/actions/workflows/test.yml) [![Docs](https://img.shields.io/badge/docs-agenticml.xyz-blue)](https://agenticml.xyz/)

![Demo of the agenticml dashboard: a training run's curves growing live, then the lineage graph of a task's runs: the best path from the root run to the best one, what each step changed in params and code and what it did to val_loss, a crashed branch, and the best path compared](https://raw.githubusercontent.com/agenticML/agenticml-lite/main/docs/assets/demo-lineage.gif)

Training writes metrics, config, code and media to files on disk, and `agenticml ui` shows them in a local dashboard. When you want to share runs with a team, sync them to your own `agenticml server` or to the hosted service (public preview).

## Quickstart

```bash
pip install agenticml-lite
```

```python
import agenticml

agenticml.init(project="demo", name="exp1", config={"learning_rate": 0.01})

for step in range(10):
    agenticml.log({"loss": 1 / (step + 1)}, step=step)

agenticml.finish()
```

Or track an existing script without editing it:

```bash
agenticml run train.py
```

Then open the dashboard:

```bash
agenticml ui
```

Install the package as `agenticml-lite` and import it as `agenticml`. It needs Python 3.10 or newer.

## Features

- **Runs are files.** Metrics, config, code and media are written to plain files under `~/.agenticml`. Nothing leaves your machine unless you sync.
- **Zero-code tracking.** `agenticml run train.py` records a script's `argparse` or Hydra config, code and system information without an `import agenticml`.
- **Code snapshots and diffs.** Runtime code snapshots are stored with each run, and the dashboard and `agenticml lineage diff` show what changed between runs.
- **PyTorch component detection.** The model, optimizer, loss and dataloader are recorded automatically.
- **TensorBoard mirroring.** Scalars, images, figures and hparams written through `SummaryWriter` or `tensorboardX` are mirrored into the run under `agenticml run`, or with `init(sync_tensorboard=True)`.
- **Import from other trackers.** `agenticml import` copies TensorBoard, MLflow, Weights & Biases (local or cloud), CSV, Lightning and Hugging Face runs into the local store, with the source's own times where it records them, so you can browse and sync them. New in 3.4.
- **System and GPU metrics.** CPU, memory and disk through `psutil`, and NVIDIA GPU metrics through `pynvml` (install the `system` and `gpu` extras).
- **Media and artifacts.** Log images and files, by reference or as a snapshot of the bytes. Images need the `media` extra.
- **Self-hosted server.** `agenticml server serve` gives a team a shared dashboard and sync endpoint, with workspaces, roles and an audit log. It is open source (MIT).
- **Hosted service (public preview).** The same server, run for you at [app.agenticml.xyz](https://app.agenticml.xyz).
- **Fast and small.** About 3 µs per `log()` call and about 8 bytes per scalar point on disk.

## How it compares

| | agenticml-lite | Weights & Biases | MLflow | TensorBoard | Aim | Trackio |
| --- | --- | --- | --- | --- | --- | --- |
| License | MIT (client and server) | Client MIT, server commercial | Apache-2.0 | Apache-2.0 | Apache-2.0 | MIT |
| Local dashboard, no account or server setup | Yes | No | Yes | Yes | Yes | Yes |
| Self-hosted team server | Yes, open source, with workspaces, roles and audit log | Commercial license | Yes | No | Yes | Yes |
| Hosted option | Yes (public preview) | Yes | Through managed providers | No | – | Hugging Face Spaces |
| Track a script without editing it | `agenticml run train.py` | – | – | – | – | – |

Checked November 2026. If something here is wrong or out of date, please open an issue.

## Share runs with a team

- Run your own server with `agenticml server serve`. See [Installation and deployment](https://agenticml.xyz/server/install/) and [Authentication and keys](https://agenticml.xyz/server/keys/). Inside a private network or lab VPC, see [Private networks](https://agenticml.xyz/server/private-network/). To deploy in your own AWS account with CloudFormation, see [Deploy on AWS](https://agenticml.xyz/server/deploy-on-aws/).
- On each training machine, run `agenticml login --host https://your-server` and then `agenticml sync --all`, or `agenticml sync --follow` to keep syncing. See [Syncing runs](https://agenticml.xyz/server/sync/).
- Or use the hosted service in public preview at app.agenticml.xyz. See the [hosted quickstart](https://agenticml.xyz/hosted/quickstart/).

## Documentation

Docs site: <https://agenticml.xyz/>

- Getting started: [Installation](https://agenticml.xyz/getting-started/installation/), [Quickstart](https://agenticml.xyz/getting-started/quickstart/)
- Guides: [Zero-code runs](https://agenticml.xyz/guides/zero-code/), [Python SDK](https://agenticml.xyz/guides/python-sdk/), [Dashboard](https://agenticml.xyz/guides/dashboard/), [Distributed, resume, disabled](https://agenticml.xyz/guides/distributed/), [Import runs](https://agenticml.xyz/guides/import/)
- Reference: [Storage and disk](https://agenticml.xyz/reference/storage/), [Configuration](https://agenticml.xyz/reference/configuration/)
- Server: [Install](https://agenticml.xyz/server/install/), [Keys](https://agenticml.xyz/server/keys/), [Sync](https://agenticml.xyz/server/sync/), [Backups](https://agenticml.xyz/server/backups/), [Upgrade](https://agenticml.xyz/server/upgrade/), [Private networks](https://agenticml.xyz/server/private-network/), [Deploy on AWS](https://agenticml.xyz/server/deploy-on-aws/)
- [Hosted service](https://agenticml.xyz/hosted/) and [Releases](https://agenticml.xyz/releases/)
- Blog: <https://agenticml.xyz/blog/>
- In the repository: [docs/SDK.md](https://github.com/agenticML/agenticml-lite/blob/main/docs/SDK.md), [docs/FORMAT.md](https://github.com/agenticML/agenticml-lite/blob/main/docs/FORMAT.md), [docs/PROTOCOL.md](https://github.com/agenticML/agenticml-lite/blob/main/docs/PROTOCOL.md), [docs/SERVER.md](https://github.com/agenticML/agenticml-lite/blob/main/docs/SERVER.md), [docs/HOSTED.md](https://github.com/agenticML/agenticml-lite/blob/main/docs/HOSTED.md), [docs/THREAT_MODEL.md](https://github.com/agenticML/agenticml-lite/blob/main/docs/THREAT_MODEL.md)

## Contributing

See [CONTRIBUTING.md](https://github.com/agenticML/agenticml-lite/blob/main/CONTRIBUTING.md). If agenticml-lite is useful to you, a star on GitHub helps others find it.

## License

MIT — see [LICENSE](https://github.com/agenticML/agenticml-lite/blob/main/LICENSE).
