AI Services Market › Use cases › Software & DevOps
Software & DevOpsDone with Cursor May 3, 2025
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. · May 3, 2025
- 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.