Skip to content

[Feature Proposal] Built-in Research Agent with ReAct Architecture #319

@hongping-zh

Description

@hongping-zh

Feature Description

$issue = @'

Summary

I'd like to propose adding a built-in AI research agent to Open Notebook. This feature would transform Open Notebook from a "tool you use" into an "assistant that works for you."

Motivation

Currently, users manually:

  1. Search their knowledge base
  2. Read through sources
  3. Extract insights
  4. Create notes

With an agent, users could simply say: "Research quantum computing and summarize the key findings" - and the agent handles the rest.

Proposed Features

Core Agent Capabilities

  • Autonomous Research: Agent can search, read, and analyze sources independently
  • Note Creation: Automatically creates well-organized notes from findings
  • ReAct Architecture: Transparent reasoning with visible thought process
  • Streaming UI: Real-time display of agent's thinking and actions

Technical Implementation

  • Built on LangGraph for reliable agent orchestration
  • 8 specialized tools for knowledge base interaction
  • SSE streaming for real-time UI updates
  • Fully async for performance

Model Support

  • Works with existing model configuration
  • Added support for cost-effective models:
    • DeepSeek (great reasoning, low cost)
    • Qwen/DashScope (strong multilingual support)

Implementation Status

I've already developed a working prototype:

Component Status
Agent Tools (8 tools) ✅ Complete
Agent Graph (LangGraph) ✅ Complete
API Endpoints ✅ Complete
Frontend Panel ✅ Complete
Streaming Support ✅ Complete

I Would Like To

  • Work on this feature
  • Just suggesting, not planning to implement

Questions for Maintainers

  1. Is this feature aligned with the project's vision?
  2. Any concerns about the architecture or implementation?
  3. Preferred approach for the PR (single PR vs. incremental)?

Happy to provide demo video, screenshots, or a test deployment!
'@
$issue | Set-Clipboard
Write-Host "Issue content copied to clipboard!"

Why would this be helpful?

$text = @'
This feature would benefit users by:

  1. 10x Research Productivity - Instead of manually searching, reading, and note-taking, users can delegate entire research tasks to the agent

  2. Lower Barrier to Entry - New users can immediately get value by simply describing what they want to research

  3. Cost-Effective AI - Support for DeepSeek and Qwen models means users can run powerful agents at a fraction of OpenAI costs

  4. Transparent AI - ReAct architecture shows the agent's reasoning process, building trust and allowing users to verify the research

  5. Seamless Integration - Works with existing notebooks, sources, and notes - no new learning curve
    '@
    $text | Set-Clipboard
    Write-Host "Copied!"

Proposed Solution (Optional)

No response

Additional Context

No response

Contribution

  • I am a developer and would like to work on implementing this feature (pending maintainer approval)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions