Give a coding agent a paper corpus to find new techniques
Poster gave a Claude Code agent access to about 2M papers to search before each attempt; it found techniques it otherwise wouldn't know and beat a baseline agent.
Done withClaude Code
- What they did
- The poster ran two identical Claude Code agents on the same job: optimize a small language model. One used only its built-in knowledge; the other was connected to Paper Lantern, an MCP search tool over 2M+ open-source computer science papers, and searched the literature before each attempt, scanning 520 papers, surfacing 25 ideas, and applying them with human-readable guidance.
- How it went
- The paper-enabled agent improved the model by 4.05% versus 3.67% for the baseline, and the poster says about 15 of the 25 suggested paper-based ideas worked. They also say the better config stayed 12+ minutes ahead on a 2-hour run, though commenters questioned how strong and general the result was.
- Worth knowing
- The main catch is overhead: the system reads full papers and adds research cost, and the poster says it is meant for areas with active research communities.
Try it yourself with Claude Code
Before each attempt at improving [my project/benchmark], search the paper collection at [path or search tool] for techniques relevant to [problem], and note which paper inspired any idea you try. Then implement and test the idea against the current baseline score of [score]. Keep a log of ideas tried, source papers, and results, and stop after [number] experiments with a summary of what helped.
1 more account of this
Source: Reddit · Apr 9, 2026
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Triage a founder's inbox with Claude Code and Gmail MCP
A team connected a Gmail MCP server so Claude Code reads the inbox, labels messages and drafts replies, plus calendar prep and reports.
Delegate web research from Claude Code to Comet
An MCP server lets Claude Code hand web navigation, login-walled pages and research to Comet while it keeps coding, then returns results.
- Custom agent
Run persistent financial research with an agent
LangAlpha is a Claude Code-style agent for investing research that keeps persistent workspaces and memory so analysis such as models and comps can be updated across sessions.
Compile recent LLM research papers into a Word doc
Comet found major LLM/agent training papers from six months with links and analysis, then saved them to a Word doc via Outlook.
Track daily arXiv papers into a Notion database
An n8n workflow fetches arXiv papers daily for a keyword, summarizes them with Gemini 2.5 Flash, writes them to Notion and sends Feishu and Gmail notifications.