ThinkDigest is an intelligent agent-powered assistant that summarizes recent research on any topic using LLMs. It is built using Mastra, a TypeScript framework for building LLM-powered agents and workflows.
- π Extracts a relevant topic from a user query
- π Fetches 5 recent research papers using dynamic topic resolution
- π§ Summarizes key trends and ideas across those papers
- π£οΈ Returns a human-readable digest of recent research
- π§ͺ Works locally via Mastra dev interface (http://localhost:4111)
- Mastra for agent orchestration
- Gemini 2.0 Flash (via Google AI API) as the LLM backend
- TypeScript for implementation
- Zod for schema validation
git clone https://github.com/lakshani09dl/thinkdigest.git
cd thinkdigestnpm installMake sure you have tsconfig.json like:
{
"compilerOptions": {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"noEmit": true,
"outDir": "dist"
},
"include": [
"src/**/*"
]
}
npm run devMastra will start the agent runner at: π http://localhost:4111
