WecoAI/aideml

AIDE: an LLM agent for machine learning engineering - the research Weco grew out of. Referenced in OpenAI MLE-bench.

What it solves

AIDE ML automates the creation, debugging, and benchmarking of machine learning code. Instead of manually writing and testing pipelines, you provide a dataset, a goal, and a performance metric in plain English, and the agent iteratively explores different code solutions to maximize your target metric.

How it works

The project uses an "agentic tree search" algorithm. Each Python script generated by the LLM is treated as a node in a search tree. The agent drafts code, executes it, and uses the resulting metric feedback to prune or expand the tree, effectively "searching" for the best possible implementation. It supports various LLM backends (OpenAI, Anthropic, Gemini, or local models via Ollama) and provides tools to inspect the solution tree and visualize results.

Who it’s for

  • Agent-architecture researchers who want to experiment with new search heuristics, evaluators, or LLM backends.
  • ML practitioners who need to quickly prototype high-performance machine learning pipelines from raw data.

Highlights

  • Natural Language Specification: Define tasks using simple text prompts without complex configuration files.
  • Proven Performance: The underlying tree-search algorithm has demonstrated superior performance in competitive benchmarks like MLE-Bench.
  • Full Transparency: Includes an HTML visualizer and Streamlit UI to inspect the evolution of the code and the decision-making tree.
  • Flexible Integration: Compatible with major LLM providers and local models, with options to run via CLI, Python library, or Docker.

Related

  • Project
  • Project
  • Project
  • Project
  • Project