An advanced AI research assistant built using the Agno agent framework and Memori memory integration. This demo showcases how to create agents that remember research sessions, build upon previous findings, and provide persistent, organized research support.
- Research Agent: Conducts real-time web research, generates comprehensive reports, and saves findings to persistent memory
- Memory Assistant Agent: Retrieves, summarizes, and organizes previous research sessions for easy recall
- Persistent Memory: All research sessions are stored and can be referenced in future interactions
- Conscious Ingestion: Automatically identifies and stores important research information
- Memory Search: Enables agents to search and build upon previous research
- Exa Search Tool: Real-time web search for up-to-date research data
- Fact-Focused Reports: Ensures all findings are verifiable and properly cited
- Interactive Web App: Easy-to-use interface for research and memory queries
- Chat Modes: Switch between research and memory assistant agents
- History & Memory Management: View, search, and clear research history
# Ensure you're in the demos/memori_agno_demo directory
cd researcher_agent
# Install Python dependencies
pip install -r requirements.txt- Visit OpenAI Platform
- Create a new API key
- Copy the key (starts with
sk-)
- Visit ExaAI Platform
- Create a new API key
- Copy the key
Create a .env file in this directory:
OPENAI_API_KEY=sk-your-openai-key-here
EXA_API_KEY==your-exa-api-keystreamlit run app.py- Research Chat: Ask the agent to research any topic. It will search memory, run web searches, and generate a professional report.
- Memory Chat: Query your research history, recall previous topics, and get organized summaries of past findings.
- History Management: View all research sessions or clear memory from the sidebar.
Input: "Research the latest breakthroughs in quantum computing."
The agent will:
1. Search its memory for previous quantum computing research
2. Run multiple Exa web searches for current developments
3. Cross-reference sources and generate a markdown report
4. Save the session to Memori for future reference
Input: "Summarize my research history on AI ethics."
The memory assistant will:
- Search all past research sessions related to AI ethics
- Organize findings chronologically or by topic
- Provide a clear summary and highlight key connections
- Multi-agent collaboration: Integrate more specialized agents for different research domains
- Advanced memory analytics: Cluster and compare research topics over time
- Export & share reports: Download or share research findings
- Integration with external databases: Store and retrieve research from other sources
This demo is part of the Memori project. To contribute:
- Fork the repository
- Create your feature branch
- Test with the memori_agno_demo
- Submit a pull request
- Memori SDK: For providing the memory layer
- Agno: For the agent framework
- Streamlit: For the user interface