| Crates.io | deepsearch |
| lib.rs | deepsearch |
| version | 0.1.25 |
| created_at | 2025-07-11 00:07:43.047929+00 |
| updated_at | 2025-08-02 16:25:06.561032+00 |
| description | A CLI for AI-powered research assistance, using local LLMs to decompose questions, search the web, and synthesize answers. |
| homepage | https://github.com/LightInn/deepsearch |
| repository | https://github.com/LightInn/deepsearch |
| max_upload_size | |
| id | 1747230 |
| size | 404,744 |

An AI-powered research assistant for your terminal.
Deep Search is a command-line tool that uses local large language models (LLMs) to provide in-depth answers to complex questions. It breaks down your query, scours the web for relevant information, and synthesizes a comprehensive response, all within your terminal.
The tool follows a structured research workflow:
Once the package is published to crates.io, you can install it directly using cargo:
cargo install deepsearch
This will install the deepsearch binary in your cargo bin directory, allowing you to run it from anywhere in your terminal.
Install Rust: If you don't have Rust, install it from rust-lang.org.
Install Ollama: You need a running Ollama instance. See the Ollama website for installation instructions.
Clone the repository:
git clone https://github.com/LightInn/deepsearch.git
cd deepsearch
Build the project:
For a development build, run:
cargo build
The executable will be at ./target/debug/deepsearch.
For a release (production) build, run:
cargo build --release
The executable will be at ./target/release/deepsearch.
Once built, you can run the tool from the command line.
./target/release/deepsearch "Your research question"
For development, you can run the tool directly with cargo:
cargo run -- "Your research question"
You can customize the behavior of the tool with the following parameters:
--max-iterations or -i: Set the maximum number of research iterations.--model or -m: Specify the Ollama model to use.--verbose or -v: Enable verbose output for debugging purposes.Example:
./target/release/deepsearch "How does photosynthesis work?" -i 5 -m "llama3"
This will start a research task on "How does photosynthesis work?", with a maximum of 5 iterations, using the llama3 model.
Contributions are welcome! If you'd like to contribute, please feel free to submit a pull request or open an issue.
A core part of this tool is the quality of the prompts used to interact with the LLM. If you have ideas for improving the prompts, you are encouraged to modify the src/prompts.rs file and submit a pull request. Better prompts lead to better research outcomes!
This project is licensed under the MIT License. See the LICENSE file for details.