Skip to main content

AI Frontier Explorer - Track, read, and report on cutting-edge AI research using DeepSeek + LangChain

Project description

AI Frontier Explorer 🧠🔍

Track cutting-edge AI research, deep-read papers, and generate plain-language reports — powered by DeepSeek + LangChain.

License: MIT Python Deep Agents SDK

✨ Features

  • 📡 Track — Search arXiv for the latest papers on any AI topic
  • 📖 Deep Read — Fetch full paper content via web scraping
  • 🤖 Parallel Sub-agents — Delegate paper analysis to sub-agents for concurrent reading
  • 📝 Structured Reports — Auto-generate reports with: summary, key points, plain-language explanation, glossary, impact score
  • 💾 Persistent Memory — Remembers your preferences across conversations
  • 🎯 Skills System — Built-in AI research methodology

🚀 Quick Start

Prerequisites

1. Install

git clone https://github.com/your-username/ai-frontier-explorer
cd ai-frontier-explorer
python -m venv .venv

# Windows
.venv\Scripts\activate

# macOS / Linux
source .venv/bin/activate

pip install -r requirements.txt

2. Configure

Create .env file. On Windows PowerShell, use Set-Content so the file encoding is explicit:

"DEEPSEEK_API_KEY=sk-your_deepseek_key" | Set-Content -Encoding utf8 .env

The CLI also accepts UTF-16 .env files produced by Windows PowerShell 5. Full example:

DEEPSEEK_API_KEY=sk-your_deepseek_key
DEEPSEEK_BASE_URL=https://api.deepseek.com
DEEPSEEK_MODEL=deepseek-v4-flash

LANGCHAIN_TRACING_V2=true
LANGCHAIN_API_KEY=lsv2_pt_your_langsmith_key
LANGCHAIN_PROJECT=ai-frontier-explorer

# 报告保存位置(可选,默认在用户数据目录的 reports/ 下)
# REPORTS_DIR=D:\MyReports\papers

3. Launch

# One-click (Windows)
start.bat

# Or manually
python ai_frontier.py

4. 设置 API Key(持久化,升级不丢失)

# 方式一:CLI 命令(推荐,保存到用户数据目录,升级/换目录不丢)
/key sk-你的DeepSeek密钥

# 方式二:.env 文件(首次运行会自动迁移到持久化配置)
DEEPSEEK_API_KEY=sk-你的DeepSeek密钥

🎮 Usage

╔══════════════════════════════════════════╗
║    AI Frontier Explorer  v1.0            ║
║   追踪前沿 · 深度研读 · 通俗报告          ║
╚══════════════════════════════════════════╝

You > /track AI Agent 最新进展
You > /track 多模态大模型 2026
You > /search transformer architecture
You > /reports
You > /read 2026-07-30-AI-Agent-前沿进展追踪.md
You > /remember 我关注AI安全方向

Commands

Command Description
/track <topic> Track frontier research on a topic
/search <query> Quick arXiv search
/reports List generated reports
/read <file> Read a saved report
/key <sk-xxx> Set and persist DeepSeek API key (survives upgrades)
/remember <info> Save a preference to memory
/tools List available tools
/help Show help
/exit Exit

🧠 Architecture

ai_frontier.py          # CLI entry point
deep_agent/
  ├── agent.py          # create_deep_agent() with DeepSeek model
  ├── config.py         # Settings management
  └── llm.py            # LLM initialization
tools/
  ├── arxiv_tools.py    # arXiv paper search
  ├── web_tools.py      # Web page content extraction
  ├── report_tools.py   # Save reports to disk
  ├── search.py         # DuckDuckGo web search
  └── calculator.py     # Safe calculator
skills/
  └── ai-research/      # Research methodology skill
memories/               # Persistent memory files
reports/                # Generated reports output

🔧 Tech Stack

  • Agent Framework: Deep Agents SDK (official)
  • Orchestration: LangGraph
  • LLM: DeepSeek via OpenAI-compatible API
  • Memory: LangGraph StoreBackend
  • CLI: Rich terminal UI

📄 Report Format

Each generated report includes:

  • Name — Paper title
  • Domain — AI subfield (NLP/CV/RL/Agent/LLM...)
  • Summary — What the paper does
  • Key Points — 3-5 core insights
  • Plain Explanation — Easy-to-understand analogy-based explanation
  • Glossary — Technical term definitions
  • Impact Score — 1-10 rating with breakdown

📦 Install as a Package

pip install -e .
ai-frontier     # launch from anywhere

📜 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_frontier_explorer-1.1.1.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_frontier_explorer-1.1.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file ai_frontier_explorer-1.1.1.tar.gz.

File metadata

  • Download URL: ai_frontier_explorer-1.1.1.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for ai_frontier_explorer-1.1.1.tar.gz
Algorithm Hash digest
SHA256 edcaf6849c6c7f0814c483d1c2e49edd9fea33529bedc5a5caa4b4c69322e042
MD5 4d8b556bedc79ad418d3205a6c0b5a83
BLAKE2b-256 d3c94ae1d22b1c82c44aa1b78eccc33a4679ecfea3db6fb9cc0360731de06855

See more details on using hashes here.

File details

Details for the file ai_frontier_explorer-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_frontier_explorer-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7d315f0c6fcc125cc7c9bfd7d62e01bbe119c993cf8acd451a06fd5d009cead
MD5 c77119c61c37c4218b16f8f83014a055
BLAKE2b-256 ffaaa4eb2bc4dacdff1d5631cd2a52d040bab1ce087c4d924c15fa7dbee668e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page