AgenticML
Multi-agent ML pipeline — automated machine learning powered by LangGraph and LLMs.
AgenticML assembles a team of specialised AI agents (Planner, Profiler, Cleaner, Featurizer, Modeler, Evaluator, Critic, Reporter) that collaborate iteratively to build, evaluate, and refine ML models on your data.
Installation
pip install swayamml
Optional providers (only install the one you use):
pip install swayamml[anthropic] # Claude models
pip install swayamml[google] # Gemini models
pip install swayamml[boost] # XGBoost + LightGBM
pip install swayamml[all] # Everything
Quick Start
Python API
from agenticml import ml
# Minimal — target and problem type are auto-detected
result = ml.run("data.csv")
# Explicit options
result = ml.run(
"data.csv",
target="price",
problem_type="regression",
metric="rmse",
model="gpt-4o", # or "claude-3-sonnet-20240229", "gemini-pro"
api_key="sk-...", # optional — falls back to env var
verbose=True, # print LLM prompts & responses
max_iterations=3,
)
CLI
# Uses OPENAI_API_KEY from environment
agenticml --file data.csv --target price --verbose
# Specify model and key
agenticml --file data.csv --model claude-3-sonnet-20240229 --api-key sk-ant-...
# All options
agenticml --file data.csv \
--target label \
--problem_type classification \
--metric f1 \
--model gpt-4o \
--max_iterations 3 \
--verbose \
--stream
You can also run via module:
python -m agenticml --file data.csv
LLM Provider Support
The provider is auto-detected from the model name:
| Model prefix | Provider | Env variable | Install extra |
|---|---|---|---|
gpt-*, o1*, o3* |
OpenAI | OPENAI_API_KEY |
(included) |
claude-* |
Anthropic | ANTHROPIC_API_KEY |
pip install swayamml[anthropic] |
gemini-* |
GOOGLE_API_KEY |
pip install swayamml[google] |
Pass the key directly or set the environment variable:
export OPENAI_API_KEY=sk-...
Pipeline Architecture
Planner → Profiler → Cleaner → Featurizer → Modeler → Evaluator → Critic
↓
(blocking issues?)
↓ yes ↓ no
Orchestrator Reporter
↓
(next iteration)
Each run produces:
report.md— human-readable summaryrun_manifest.json— full reproducibility metadata- Trained models, evaluation plots, and intermediate data in the
runs/directory
Verbose Mode
Use --verbose (CLI) or verbose=True (Python) to see exactly what each agent sends to the LLM and what it gets back — useful for debugging and understanding pipeline decisions.
License
MIT
Metadata
Release files for swayamml 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| swayamml-0.1.0.tar.gz | 79.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swayamml-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 171.3 kB
Release files / swayamml-0.1.0.tar.gz
| Download URL | swayamml-0.1.0.tar.gz |
|---|---|
| Size | 79.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b63b8b0c13753a3fe512914133794fde3d47a7f87d327578c91581132108da5
|
|
BLAKE2b-256 checksum How to use checksums |
1927ce633a10b42af1f7b61db76d8d256f1d4dc314ae72bc6bfd834088028566
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2026.
Transparency logRelease files / swayamml-0.1.0-py3-none-any.whl
| Download URL | swayamml-0.1.0-py3-none-any.whl |
|---|---|
| Size | 92.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6c23144cfecf8a9a0d286aae4d6fa789915a32374bb76ff21b3e64f33285e79
|
|
BLAKE2b-256 checksum How to use checksums |
75ed66e6b2e96d07ca61bbb1fac28b7518f62c13e5029fd67dffbf5173d445dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2026.
Transparency logSecurity for swayamml 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for swayamml-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.