Run a deep research agent in your terminal
Built Mole, a deep research agent you run from the terminal.
Source
lajosdeme on Hacker News · 2026-08-14 · Project link
Written in our own words. Credit to the original author. Link checked 2026-11-22.
What they did
Built Mole, a deep research agent you run from the terminal.
Result (as claimed)
Open-sourced terminal research agent.
Tools they used
Cost: Claude Code: from $17/mo; OpenAI Codex: free plan, paid from $8/mo.
Set it up
Gather your sources
Collect the papers, notes, links or files you want to work from in one place.
Load them into the tool
Open Claude Code, OpenAI Codex, ChatGPT and add your sources. Keep the original files so you can check claims later.
Ask focused questions
Ask for summaries, comparisons or connections with citations to the source passages.
Verify and save
Spot check claims against the sources, then save the output as notes you can reuse.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Run a deep research agent in your terminal What the original author did: Built Mole, a deep research agent you run from the terminal. Reported result (as claimed by the author): Open-sourced terminal research agent. Source: https://news.ycombinator.com/item?id=49303046 Tools they used: Claude Code, OpenAI Codex, ChatGPT Category: Research & learning Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Run a deep research agent in your terminal What the original author did: Built Mole, a deep research agent you run from the terminal. Reported result (as claimed by the author): Open-sourced terminal research agent. Source: https://news.ycombinator.com/item?id=49303046 Tools they used: Claude Code, OpenAI Codex, ChatGPT Category: Research & learning Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Run a deep research agent in your terminal What the original author did: Built Mole, a deep research agent you run from the terminal. Reported result (as claimed by the author): Open-sourced terminal research agent. Source: https://news.ycombinator.com/item?id=49303046 Tools they used: Claude Code, OpenAI Codex, ChatGPT Category: Research & learning Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to automate customer support with AI agents: real setups · How to use Claude Code and Codex together (Codex plugin, shared AGENTS.md, worktrees, auto cross-review and GitHub Actions) · How to use ChatGPT for real projects and everyday tasks · How to run multiple coding agents at once (git worktrees, tmux, Claude Code agent teams, Codex and Cursor)
Related use cases
Add research agent skills that stop invented citations and follow journal rules
A team open-sourced more than 280 research agent skills aimed at the ways agents fail at academic work: invented citations, generic writing and ignoring current journal rules. They install with one npx command into Claude Code, Codex, Cursor, Gemini CLI and more.
Design a device UI with ChatGPT sprites and port it to LVGL with agents
A hardware builder made the screens and sprites for his Capy device in ChatGPT, exported a transparent sprite sheet so nothing had to be cut out by hand, and had Codex and Claude Code slice the art and port the UI to the LVGL embedded graphics library.
Join an open math research run with Codex or Claude Code
Auto Research tracks community pull requests that improve the key numbers in OpenAI's 2026 math preprints, starting with integer multiplication below n log n. It gives you a copyable prompt to point Codex or Claude Code at the latest bound, test an improvement and submit a reproducible contribution.
Get your handwritten math marked up like a teacher would
A calculus student built penmentor: press a key while working by hand in Xournal++ and Claude, Codex or Gemini marks up the page with hints instead of answers. It runs on the AI command-line agent you already use, on that subscription.