Build an ingestion and retrieval agent repo in Cursor
A commenter built a whole repo in Cursor, including an ingestion pipeline, Neo4j schema, retrieval tools, and a LangGraph agent, using agent mode and project rules. ·
Done withCursor
- What they did
- They built an open-source Agentic GraphRAG repo in Cursor, covering the ingestion pipeline, Neo4j schema, retrieval tools, and a DeepAgents/LangGraph agent. In agent mode they split work across parallel subagents with separate contexts for ingestion, graph queries, and tests, and used pstack plus custom skills: /poteto-mode chose a playbook and verified it by running it, while /swarm fanned tasks out to parallel agents.
- How it went
- The result was a library that keeps documents, task history, and agent decisions in one graph, cites passages for saved decisions, flags dependent decisions when a source changes, and exposes tools over MCP. The post gives no benchmarks, costs, or specific misses.
- Worth knowing
- They say they used Cursor’s Grok models for most of the coding.
Try it yourself with Cursor
Using agent mode, help me build a repo for an agent that ingests [type of documents or data] and answers questions over them with [database, e.g. Neo4j]. First write project rules covering the stack, folder layout, and coding conventions, then build the ingestion pipeline, the database schema, the retrieval tools, and a [LangGraph] agent that uses them. Work step by step, run the code as you go, and stop when I can ingest a sample file and ask a question that returns a sourced answer.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · May 3, 2025
Related use cases
Keep coding agents running autonomously for long stretches
Cursor's write-up on scaling long-running autonomous coding.
Upgrade site dependencies and frameworks with Cursor
Kent C. Dodds had Cursor's agent look up migration docs, plan and upgrade Remix v2 to React Router v7 and xstate in his site.
Migrate a website from a CMS to raw code and Markdown
Lee Robinson used Cursor agents to move cursor.com off its CMS in three days for $260 in tokens, with subagents handling a broad refactor.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Take ideas to implementation with a planning-command pipeline
A solo SaaS founder uses a custom five-command agent flow (intent, impact analysis, planning, execution, review) with lint guardrails to ship features in a production product.
Build and deploy a blog aggregator website in a day
An author used Claude Code to turn a year-old requirements doc into a live Vue 3 site on Netlify that pulls their posts from several platforms.
Submitted by from search gap: 网站
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.