OpenThoughts-Agent  by open-thoughts

Infrastructure and data recipes for training AI agents

Created 7 months ago
257 stars

Top 98.3% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

OpenThoughts-Agent (OT-Agent) provides robust infrastructure and data recipes for training small agentic AI models. It targets researchers and engineers, aiming to accelerate the development of capable AI agents through streamlined data preparation and model training workflows.

How It Works

The project offers a modular framework integrating LLaMA Factory for SFT, SkyPilot for cloud orchestration, and Harbor for containerized workloads. It features specialized HPC launchers for data generation, SFT, evaluation, and RL jobs, emphasizing reproducible builds and managing complex C++/CUDA dependencies. This approach supports both local development and large-scale cloud deployments for agent training.

Quick Start & Requirements

  • Primary install: uv pip install -e . with optional extras like [datagen], [cloud], [sft].
  • Prerequisites: Python 3.12, CUDA (12.8/12.9 tested), GCC (>=12) for JIT-compiled extensions, and secrets management via DC_AGENT_SECRET_ENV. Careful toolchain management is crucial.
  • Links: Project Website (https://www.open-thoughts.ai/blog/agent), Tutorial Notebook (notebook/datagen_sft_tutorial.ipynb), Community Discord (terminal-bench).

Highlighted Details

  • Specialized tooling for creating "data recipes" for agentic models.
  • Modular HPC launchers supporting datagen, SFT, eval, and RL jobs.
  • Seamless integration with cloud platforms (GCP, AWS, etc.) via SkyPilot.
  • Emphasis on reproducible builds and managing complex C++/CUDA toolchains for performance-critical components.

Maintenance & Community

  • A collaboration led by researchers from numerous universities and partners, including LAION.
  • Community support is available via the terminal-bench Discord server.
  • Specific contacts are provided for RL, SFT, Data, Eval, and Project Management.

Licensing & Compatibility

  • The project's license is not explicitly stated in the provided README. This requires clarification for commercial use or closed-source integration.

Limitations & Caveats

  • Designated as a research codebase, subject to frequent changes, file moves, and potential workflow disruptions.
  • JIT-compilation of C++/CUDA extensions demands precise matching of compiler and CUDA versions with PyTorch.
Health Check
Last Commit

19 hours ago

Responsiveness

Inactive

Pull Requests (30d)
3
Issues (30d)
3
Star History
94 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.