├── .gitignore ├── README.md ├── backend ├── .env.example ├── .eslintrc ├── package-lock.json ├── package.json ├── src │ ├── brains │ │ ├── ContentGeneratorBrain.ts │ │ ├── ContentSummarizerBrain.ts │ │ ├── DocumentStructureBrain.ts │ │ ├── GapAnalyzerBrain.ts │ │ ├── SearchPlannerBrain.ts │ │ └── prompts │ │ │ ├── content-generator.prompt.ts │ │ │ ├── content-summarizer.prompt.ts │ │ │ ├── document-structure.prompt.ts │ │ │ ├── gap-analyzer.prompt.ts │ │ │ └── search-planner.prompt.ts │ ├── config │ │ └── config.ts │ ├── controllers │ │ ├── deepresearch.controller.ts │ │ └── health.controller.ts │ ├── graph │ │ └── research.graph.ts │ ├── interfaces │ │ ├── deepresearch.interface.ts │ │ ├── health.interface.ts │ │ ├── http.interface.ts │ │ ├── state.interface.ts │ │ └── tavily.interface.ts │ ├── middlewares │ │ ├── error.middleware.ts │ │ └── validation.middleware.ts │ ├── routes │ │ └── health.ts │ ├── server.ts │ ├── services │ │ ├── deepresearch.service.ts │ │ └── health.service.ts │ ├── tests │ │ ├── content-generator.test.ts │ │ ├── content-summarizer.test.ts │ │ ├── document-structure.test.ts │ │ ├── gap-analyzer.test.ts │ │ ├── research-graph.test.ts │ │ ├── search-planner.test.ts │ │ ├── tavily-search.test.ts │ │ └── websocket.test.ts │ ├── tools │ │ └── TavilySearchTool.ts │ ├── utils │ │ ├── logger.ts │ │ └── text.utils.ts │ └── websockets │ │ └── index.ts └── tsconfig.json ├── frontend ├── .gitignore ├── README.md ├── app │ ├── components │ │ ├── ProcessingStatus.tsx │ │ └── SearchInput.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ └── services │ │ └── websocket.service.ts ├── eslint.config.mjs ├── next.config.ts ├── package-lock.json ├── package.json ├── postcss.config.mjs ├── public │ ├── file.svg │ ├── globe.svg │ ├── next.svg │ ├── vercel.svg │ └── window.svg ├── tailwind.config.ts └── tsconfig.json └── graph.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/README.md -------------------------------------------------------------------------------- /backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/.env.example -------------------------------------------------------------------------------- /backend/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/.eslintrc -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/brains/ContentGeneratorBrain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/ContentGeneratorBrain.ts -------------------------------------------------------------------------------- /backend/src/brains/ContentSummarizerBrain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/ContentSummarizerBrain.ts -------------------------------------------------------------------------------- /backend/src/brains/DocumentStructureBrain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/DocumentStructureBrain.ts -------------------------------------------------------------------------------- /backend/src/brains/GapAnalyzerBrain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/GapAnalyzerBrain.ts -------------------------------------------------------------------------------- /backend/src/brains/SearchPlannerBrain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/SearchPlannerBrain.ts -------------------------------------------------------------------------------- /backend/src/brains/prompts/content-generator.prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/prompts/content-generator.prompt.ts -------------------------------------------------------------------------------- /backend/src/brains/prompts/content-summarizer.prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/prompts/content-summarizer.prompt.ts -------------------------------------------------------------------------------- /backend/src/brains/prompts/document-structure.prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/prompts/document-structure.prompt.ts -------------------------------------------------------------------------------- /backend/src/brains/prompts/gap-analyzer.prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/prompts/gap-analyzer.prompt.ts -------------------------------------------------------------------------------- /backend/src/brains/prompts/search-planner.prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/brains/prompts/search-planner.prompt.ts -------------------------------------------------------------------------------- /backend/src/config/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/config/config.ts -------------------------------------------------------------------------------- /backend/src/controllers/deepresearch.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/controllers/deepresearch.controller.ts -------------------------------------------------------------------------------- /backend/src/controllers/health.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/controllers/health.controller.ts -------------------------------------------------------------------------------- /backend/src/graph/research.graph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/graph/research.graph.ts -------------------------------------------------------------------------------- /backend/src/interfaces/deepresearch.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/interfaces/deepresearch.interface.ts -------------------------------------------------------------------------------- /backend/src/interfaces/health.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/interfaces/health.interface.ts -------------------------------------------------------------------------------- /backend/src/interfaces/http.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/interfaces/http.interface.ts -------------------------------------------------------------------------------- /backend/src/interfaces/state.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/interfaces/state.interface.ts -------------------------------------------------------------------------------- /backend/src/interfaces/tavily.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/interfaces/tavily.interface.ts -------------------------------------------------------------------------------- /backend/src/middlewares/error.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/middlewares/error.middleware.ts -------------------------------------------------------------------------------- /backend/src/middlewares/validation.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/middlewares/validation.middleware.ts -------------------------------------------------------------------------------- /backend/src/routes/health.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/routes/health.ts -------------------------------------------------------------------------------- /backend/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/server.ts -------------------------------------------------------------------------------- /backend/src/services/deepresearch.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/services/deepresearch.service.ts -------------------------------------------------------------------------------- /backend/src/services/health.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/services/health.service.ts -------------------------------------------------------------------------------- /backend/src/tests/content-generator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tests/content-generator.test.ts -------------------------------------------------------------------------------- /backend/src/tests/content-summarizer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tests/content-summarizer.test.ts -------------------------------------------------------------------------------- /backend/src/tests/document-structure.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tests/document-structure.test.ts -------------------------------------------------------------------------------- /backend/src/tests/gap-analyzer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tests/gap-analyzer.test.ts -------------------------------------------------------------------------------- /backend/src/tests/research-graph.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tests/research-graph.test.ts -------------------------------------------------------------------------------- /backend/src/tests/search-planner.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tests/search-planner.test.ts -------------------------------------------------------------------------------- /backend/src/tests/tavily-search.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tests/tavily-search.test.ts -------------------------------------------------------------------------------- /backend/src/tests/websocket.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tests/websocket.test.ts -------------------------------------------------------------------------------- /backend/src/tools/TavilySearchTool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/tools/TavilySearchTool.ts -------------------------------------------------------------------------------- /backend/src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/utils/logger.ts -------------------------------------------------------------------------------- /backend/src/utils/text.utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/utils/text.utils.ts -------------------------------------------------------------------------------- /backend/src/websockets/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/src/websockets/index.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/app/components/ProcessingStatus.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/app/components/ProcessingStatus.tsx -------------------------------------------------------------------------------- /frontend/app/components/SearchInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/app/components/SearchInput.tsx -------------------------------------------------------------------------------- /frontend/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/app/favicon.ico -------------------------------------------------------------------------------- /frontend/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/app/globals.css -------------------------------------------------------------------------------- /frontend/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/app/layout.tsx -------------------------------------------------------------------------------- /frontend/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/app/page.tsx -------------------------------------------------------------------------------- /frontend/app/services/websocket.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/app/services/websocket.service.ts -------------------------------------------------------------------------------- /frontend/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/eslint.config.mjs -------------------------------------------------------------------------------- /frontend/next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/next.config.ts -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/postcss.config.mjs -------------------------------------------------------------------------------- /frontend/public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/public/file.svg -------------------------------------------------------------------------------- /frontend/public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/public/globe.svg -------------------------------------------------------------------------------- /frontend/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/public/next.svg -------------------------------------------------------------------------------- /frontend/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/public/vercel.svg -------------------------------------------------------------------------------- /frontend/public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/public/window.svg -------------------------------------------------------------------------------- /frontend/tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/tailwind.config.ts -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericrisco/deep-js-research/HEAD/graph.png --------------------------------------------------------------------------------