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

Telegram Bot to Manage Headless Claude Code Channels via tmux
A zero-dependency Python Telegram bot that launches, stops, and monitors Claude Code Channels sessions in tmux on a headless server, with watchdog auto-restart.

GLM-5.1 vs MiniMax M2.7: Performance comparison for AI coding agents
GLM-5.1 achieves SWE-bench-Verified 77.8 and Terminal Bench 2.0 56.2 scores, the highest among open-source models, while MiniMax M2.7 offers fast responses with low TTFT and high throughput ideal for CI bots and batch edits.

OpenAlly: Local AI Assistant for Android with Phone Control
OpenAlly is an Android app that runs an AI assistant locally on your phone via an embedded Node.js process, with 51 built-in skills and phone control capabilities through Aster companion. It connects to 19+ messaging platforms and supports 18 model providers with your own API keys.

Agentlint: GitHub App that catches CLAUDE.md contradictions and broken pointers on every PR
Agentlint is a GitHub App that audits your full agent-rules surface (CLAUDE.md, AGENTS.md, skills, hooks) on every PR, posting inline comments for contradictions, broken paths, and unsupported harness features. Free for public repos.