PaperFast is an AI-powered application designed to accelerate your paper research and study process. It leverages a team of intelligent agents to assist you in searching for, summarizing, and organizing academic papers, specifically from Arxiv.
- Multi-Agent Workflow: Utilizes LangGraph to orchestrate specialized agents (Search, Summary, etc.) for complex tasks.
- Paper Search: Efficiently searches for relevant papers using the Arxiv API.
- Interactive Chat Interface: Built with Streamlit for a user-friendly, chat-based experience.
- Traceability: Integrated with LangFuse for monitoring and tracing agent interactions.
- Python 3.12+
- Streamlit: For the web interface.
- LangChain & LangGraph: For building the agentic workflow.
- UV: For fast Python package management.
- MCP (Model Context Protocol): For standardized tool integration.
- Python 3.12 or higher
- uv (recommended for dependency management)
-
Clone the repository
git clone <repository-url> cd PaperFast
-
Install dependencies
uv sync
-
Set up MCP Server For local MCP setup, you need to install the Arxiv MCP server tool:
uv tool install arxiv-mcp-server
-
Environment Setup Create a
.envfile in the root directory and add your necessary API keys (e.g., OpenAI, LangFuse). You can use.env.exampleas a reference if available.OPENAI_API_KEY=your_api_key_here LANGFUSE_SECRET_KEY=your_langfuse_secret_key LANGFUSE_PUBLIC_KEY=your_langfuse_public_key LANGFUSE_HOST="https://cloud.langfuse.com"
You can start the application using poe (if configured) or directly with Streamlit.
Using poe:
poe runUsing streamlit directly:
streamlit run app/main.pyapp/: Main application source code.main.py: Entry point for the Streamlit app.workflow/: Contains the LangGraph workflow and agent definitions.agents/: Individual agent implementations (Search, Master, etc.).
pyproject.toml: Project configuration and dependencies.
Contributions are welcome! Please feel free to submit a Pull Request.