Ask your agent to train a model, tune it, compare it to the last run, or find an algorithm that fits your data. It just does it. No code. No guesswork. No forgotten context.
You never write MCP config by hand. One command finds every AI client on your machine and wires TuiML in: the MCP server for apps, the SKILL.md for coding agents.
SKILL.md, the full framework guide, so the agent writes correct TuiML code on the first try.tuiml.agent.adapters) ship the same tools and the same SKILL.md as the system prompt. One source of truth, every surface.tuiml status shows every live tuiml-mcp instance and which client launched it; tuiml trace -f follows tool calls in the log as your agent makes them.A machine learning library built so agents can actually do ML. Every algorithm ships with a schema agents read directly, so they pick the right tool, pass valid arguments, and get typed results back. Three principles carry the whole design:
Every algorithm is a typed MCP tool with a uniform fit/predict surface.
A queryable registry, searchable by task, data shape, or constraint.
Structured errors with suggested fixes and a recovery tool, never a raw traceback.
TuiML vs scikit-learn vs Weka — 51 datasets, 10-fold CV, TabArena v0.1, library defaults.
Algorithms, integrations, and tools the community can build with TuiML. Perfect for students and contributors. Pick a row and ship it.
● Live from GitHub issues
GPU-accelerated drop-in for hot algorithms
JIT-compiled linear models & optimizers
Online learning & concept-drift detection
Hypothesis → experiment → report
One-call model selection & ranking
Density-based hierarchical clustering
t-SNE · Isomap · LLE
Optional deep-learning extra
End-to-end, agent-first walkthroughs
scikit-learn assumes a human in front of an editor. Inconsistent fit/predict shapes, raw Python tracebacks, no algorithm registry. Fine for engineers, painful for agents.
TuiML wraps every algorithm in a typed MCP tool with a uniform schema, structured errors with suggested fixes, and a queryable registry the agent can search by task and data shape. You stop spending tokens on glue code and stack traces.
Thin wrappers inherit sklearn's inconsistencies, return raw exceptions, and are stateless per call. They also cover only classical algorithms. No time-series, no anomaly detection, no model serving.
TuiML is purpose-built: shared experiment state across calls, diffable runs, and a single tool to deploy a trained model, not a thin layer over someone else's API.
Managed AutoML platforms work, but you pay for compute, deal with auth and quotas, and your data leaves the machine. Algorithm choice is a black box.
TuiML runs 100% local, free, BSD-3-Clause, with explicit algorithm selection your agent can reason about. Same end-to-end loop (train → evaluate → serve) without the cloud bill or vendor lock-in.
Anything that speaks MCP. The tuiml setup wizard auto-detects and configures Claude Desktop, Claude Code, Cursor, ChatGPT Desktop, Codex CLI, Zed, Continue, Windsurf, VS Code Copilot, Perplexity, Goose, and OpenClaw / NemoClaw.
Yes. tuiml_serve_model spins up a local HTTP endpoint for a trained model in one tool call. No FastAPI scaffolding, no Docker, no separate serving framework. The agent can train, evaluate, deploy, and verify in a single conversation.
It's alpha. The API surface is stabilizing, the algorithm catalog is live, and early adopters are using it daily. But if you need 15-year battle-tested reliability today, raw scikit-learn is still the safer bet. We close that gap fast; open issues get a quick response.
No. TuiML installs locally, trains locally, serves locally. The only network calls are the ones your agent makes to its own LLM. Your dataset never sees our servers. There are no servers.
Free, open source, BSD-3-Clause. The only cost is whatever your agent's LLM provider charges for tokens, same as you'd pay anyway.
Developed at the AI Institute, University of Waikato. Built for the modern AI era.