Agent Factory: Autonomous System Builds AI Agents from Online Problem Discussions

Agent Factory is an autonomous system that builds AI agents by identifying real-world problems from online discussions. Inspired by Andrej Karpathy's autoresearch pattern, it applies the same "run experiments overnight, keep what works, throw away what doesn't" approach to idea generation rather than ML optimization.
How It Works
The system scrapes Reddit, Hacker News, GitHub, and Twitter for real problems people discuss online. It scores each potential idea on three criteria: demand, market gap, and feasibility. If an idea clears a quality threshold, the system automatically builds a standalone AI agent, validates it works, and commits it. The threshold ratchets up with each build, requiring progressively better ideas.
Practical Implementation
The project consists of three key files:
program.md- Tells Claude Code where to research and what quality bar to hitseed/- A minimal Next.js template with 7 toolsrun.sh- Launches Claude Code headless and auto-restarts on context limits
The system is built with TypeScript, uses MIT licensing, and runs on either OpenRouter or Ollama. It specifically avoids LangChain and CrewAI frameworks. Each generated agent is standalone and can be cloned and run independently.
Example Output
In its first session, the system generated 20 agents including:
freelancer-deduction-finder- For freelancers asking about missed tax deductionswage-rights-advisor- For people confused about overtime exemptionsdata-broker-opt-out- For people overwhelmed by data broker opt-outs
Quality Verification
The system boots each agent, sends a test prompt, and checks if the output is useful. However, the creator acknowledges these are MVPs and some are rough. The primary purpose is idea generation - the creator reviews the shipped agents each morning and selects the most promising one for further development as a real project.
📖 Read the full source: r/ClaudeAI
👀 See Also

Silos Dashboard: Open-source web UI for managing OpenClaw agents
Silos Dashboard is an MIT-licensed web UI for managing OpenClaw agents, replacing config files and CLI with a single interface. It offers agent management, live chat with streaming, skill installation, task boards, channel integrations, and analytics.

AI Subroutines: Deterministic Browser Automation with Zero Token Cost
rtrvr.ai's AI Subroutines let you record browser tasks once as callable tools that replay inside the webpage context with auth propagated for free, eliminating LLM inference costs and non-determinism for repetitive tasks.

Why Your Claude Code UI Output Drifts and How a Structured Spec Fixes It
A developer explains that inconsistent UI output from Claude Code isn't a prompt problem — it's a format problem. Providing exact hex codes, font weights, spacing, screen states, and transitions eliminates drift. They also open-sourced an MCP server that converts screen recordings into structured specs.

cq: A Local-First Knowledge Sharing System for AI Coding Agents
Mozilla.ai's cq is an open-source tool that lets AI coding agents share 'knowledge units' about common gotchas via a local SQLite store, with optional team sharing through a Docker API. It installs as a Claude Code plugin or OpenCode MCP server.