CURSOR_RULES.md
Note: This is a readable copy of the
.cursorrulesfile maintained for legibility. The actual rules are implemented from the.cursorrulesfile in the root directory.
This project, named GPT-Researcher, is an LLM-based autonomous agent that conducts local and web research on any topic and generates a comprehensive report with citations. It is built using Next.js and TypeScript, integrating various libraries for their strengths.
Your primary goal is to help with:
Frontend user interface built with Next.js, TypeScript, and Tailwind CSS in /frontend
Multi-agent research system using LangChain and LangGraph in /backend/multi_agents
Document processing using Unstructured and PyMuPDF in /backend/document_processing
Report generation using LangChain and Jinja2 templates in /backend/report_generation
Multiple output formats in /backend/output_formats
GPT Researcher core functionality in /gpt_researcher
Testing infrastructure in /tests
npm run dev: Start development servernpm run build: Build for productionnpm run test: Run test suitepython -m pytest: Run Python testspython -m uvicorn backend.server.server:app --host=0.0.0.0 --port=8000: Start FastAPI serverpython -m uvicorn backend.server.server:app --reload: Start FastAPI server with auto-reload for developmentpython main.py: Run the main application directlydocker-compose up: Start all servicesdocker-compose run gpt-researcher-tests: Run test suite in containerNote: End all your comments with a :-) symbol.