Hephaestus: Local-First, Open-Source AI Agents That Train ML Models While You Go Outside A developer built Hephaestus, a local-first, open-source multi-agent system that takes a plain-language model description and autonomously handles research, dataset ingestion, PyTorch code generation, sandboxed training, and debugging. The stack runs entirely on the user's own machine using the open-weight qwen2.5-coder:14b model via Ollama, with Docker Compose, Redis, MongoDB, and SearXNG, keeping code, data, and API keys off third-party servers. Successful training scripts are saved as reusable skills so subsequent runs start from prior results. This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass https://dev.to/challenges/hacktoberfest-week1-2026-10-05 Hephaestus is a local-first, autonomous coordinator for machine learning pipelines. You describe a model in plain language, for example "train a CNN to classify these images", and a team of AI agents takes it from there: they read the research, find a dataset, write the PyTorch code, run the training in a sandbox, fix their own bugs, and remember what worked for next time. How it gets people off the screen. This isn't a hiking app, and I won't pretend it is. The "grass" here is the hours that ML engineers spend babysitting: hunting for papers, reading shape-mismatch tracebacks, re-running a script that died on a missing import, and watching a GPU in case it runs out of memory. Hephaestus is built so the human's screen time is the shortest part of the job. You write one prompt, the agents run the whole loop unattended research, data, code, training, debugging , and the dashboard exists to be glanced at, not stared at. When a run finishes, the best scripts are saved as reusable skills, so the next run starts further along. Who it's for: students and researchers who have a GPU and a deadline, and who would rather go outside than debug tensor dimensions. It's also for anyone who wants an agent system that keeps code, data and API keys on their own machine. Hephaestus is local-first by design, so it runs on your own machine instead of at a public URL, which keeps your data and keys off any server you don't control. You can start it in four commands Docker is required, plus Ollama https://ollama.com for local models : cp .env.example .env docker compose up -d redis mongodb searxng cd backend && uv sync && uv run python main.py API on :8000 cd frontend && pnpm install && pnpm dev dashboard on :3000 Then open http://localhost:3000 http://localhost:3000 . The dashboard shows a live GPU memory graph, a streaming terminal of the training logs, and a multi-agent chat where each message is tagged with the agent that sent it Research, MLOps, Orchestrator . The repo README has the full setup for both native and full-Docker modes. Follow these steps to spin up the entire Hephaestus stack locally using Docker Compose. First, create a .env file from the example template: cp .env.example .env macOS / Linux copy .env.example .env Windows cmd / PowerShell Open the .env file and set the required variables like SEARXNG SECRET . Run the following command from the root of the project to build the images and start the services in detached mode: docker compose up --build -d This will spin up: Once the containers are… The open-source AI at its core: qwen2.5-coder:14b , an open-weight coding model running on the user's own GPU. No cloud account is needed to use Hephaestus. How a request flows: php prompt - Orchestrator - Triage Router simple script - General Coder ----------------------+ ML pipeline - Research arXiv + SearXNG, in parallel - Data Ingestion Hugging Face Hub - Arrow files - Skill retrieval past successful scripts - DataPrep agent - Architecture agent - Integration agent - Best-of-N candidates 3 - AST pre-flight gate | evict LLM from VRAM - Docker sandbox training <-------+ | failure up to 3 retries | success v v Analyzer - Patcher - re-run Parse metrics - save skill if better The design decisions that matter most