
aideml
Open-source agent that writes, runs and refines machine learning code from a plain-English
aideml is an open-source agent for ai models and llm tooling. It is available on CLI, API, Self-hosted, Web, Linux, macOS and Windows.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- GitHub stars
- 1.6K
- Last commit
- Language
- Python
- License
- MIT
Similar agents
About aideml
AIDE ML takes a dataset folder, a goal written in plain language and an evaluation metric, then drafts Python scripts that train and score models. Each script becomes a node in a search tree: the language model proposes patches to promising solutions, failed runs are debugged, and the metric guides which branches continue. When the run finishes, the best script and an HTML view of the full search tree are saved to a logs folder.
The package is a research-oriented implementation of the AIDE algorithm described in an arXiv paper. It works with OpenAI, Anthropic, Gemini, OpenRouter or any local model that exposes an OpenAI-compatible API, and the README documents how to set separate models and providers for code generation and feedback review.
It suits machine learning researchers who want to test new search strategies or evaluators, and practitioners who want a quick baseline pipeline for a tabular or time series problem. A Streamlit interface, a command-line tool, a Python API and a Dockerfile are included.
What it does
- Plain-language task setup
- You describe the goal and evaluation metric in English and point the agent at a data directory.
- Tree-search code generation
- Candidate scripts are expanded, scored and pruned as a search tree rather than as a single linear attempt.
- Solution tree visualiser
- An HTML plot lets you inspect every node in the search tree along with its code.
- Multi-provider model support
- Works with OpenAI, Anthropic, Gemini, OpenRouter and local OpenAI-compatible endpoints.
- Separate code and feedback models
- Code generation and execution review can each use a different model and provider.
- Streamlit web interface
- A browser UI lets you paste an API key, upload data and watch live logs and the best code.
Good for
- Generate a baseline machine learning pipeline for a new tabular dataset
- Benchmark alternative agent search strategies in an academic study
- Prototype a forecasting model from a plain-English goal
- Run an agent fully offline against a local model served through Ollama
Pricing
Open source
Free and MIT licensed; you pay your own LLM provider for API usage.
Prices change. Check weco.ai before you buy.
aideml FAQ
How do I install AIDE ML?
Install the aideml package from PyPI with pip, set an LLM API key such as OPENAI_API_KEY, then run the aide command with data_dir, goal and eval arguments.
Can aideml run without external API calls?
Yes. Pointing OPENAI_BASE_URL at a local server such as Ollama lets both the code and feedback models run locally, though the README notes some performance drop.
What do I get after a run?
The logs folder contains best_solution.py with the best code found and tree_plot.html for inspecting the solution tree.
Which models can I use?
Model IDs are passed through to the provider, and the README states there is no supported-model list. Default models are o4-mini for code and gpt-4.1-mini for feedback.
Is aideml free?
Yes. aideml is open source, so you can use and self-host it for free.
What are the best alternatives to aideml?
The closest alternatives to aideml are devika, Aider, DemoGPT, Github and CoderBaba.
Where this comes from
- Description: written from the project's README and the project's website.


