Skip to content

grahamannett/deepre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Research Alternative

This was started off of the reflex example but meant to be run locally.

Example Screenshot

Usage

To start, either run models locally or create ssh tunnel to remote Ollama models

ssh -L 11434:localhost:11434 -N ollamaserver

either set the env variables or use the included .env.sample:

❯ mise run show:secrets
[show:secrets] $ cat .env
JINA_API_KEY = "[redacted]"
SERPAPI_API_KEY = "[redacted]"
FIRECRAWL_API_KEY = "[redacted]"

in another terminal, start the reflex server:

uv run reflex run

Differences

Other Deep Research Alternatives

Notes / TODO

  • If using Ollama, the models context length is likely to be the default for many model (2048). To extend the model to longer context which is necessary for various parts of this system to work. There is a simple helper script to extend the model in deepre/utils/ollama_helper.py and eventually that should be moved into a check done automatically that runs before the model is loaded.
  • Using the result_type argument of run/agent doesnt seem to work when trying to cast the result for the models used. Should ideally be fixed but no obvious ways I've tried have worked.
  • Should move the tool usage and delegation to agent delegation

Templates

  • I am deciding if i should use toml for the templates or python files that i can define the result_type for the agent/model in as well.
  • Toml is nice since simplifies

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages