> ## Documentation Index
> Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TrueFoundry ML Client

> TrueFoundry ML client reference for tracking experiments, logging artifacts, and managing models programmatically.

## Installation

```bash lines theme={"dark"}
pip install truefoundry
```

## Quick Example

```python lines theme={"dark"}
from truefoundry.ml import get_client

# Initialize the client
client = get_client()

# Create a run
run = client.create_run(
    ml_repo="my-classification-project",
    run_name="svm-with-rbf-kernel"
)

# Log metrics and parameters
run.log_metrics({"accuracy": 0.95, "loss": 0.1})
run.log_params({"learning_rate": 0.01, "epochs": 100})

# End the run
run.end()
```

## Available Modules

### [TrueFoundry ML Client](https://www.truefoundry.com/docs/truefoundry-ml-reference/truefoundry-ml)

→

### [Run](https://www.truefoundry.com/docs/truefoundry-ml-reference/runs)

→


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.