██████╗██████╗ █████╗ ██╗ ██╗██╗ ██╔════╝██╔══██╗██╔══██╗██║ ██║██║ ██║ ██████╔╝███████║██║ █╗ ██║██║ ██║ ██╔══██╗██╔══██║██║███╗██║██║ ╚██████╗██║ ██║██║ ██║╚███╔███╔╝███████╗ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚══╝╚══╝ ╚══════╝
A local web-browsing AI assistant. No API keys. No cloud. Just answers.
Crawl is a terminal-based AI assistant that searches the web and answers your questions — fully locally, completely free. No OpenAI API key. No Anthropic API key. Nothing.
Like an ant scouting ahead, Crawl goes out, finds what you need, and brings it back.
It works by:
- Searching DuckDuckGo for your question
- Scraping and reading the top results
- Feeding that content into a local AI model via Ollama
- Returning a clean, sourced answer in your terminal
- Python 3.10 or newer — python.org
- Ollama — ollama.com (runs the local AI model)
- A pulled Ollama model (default:
gemma3, ~3.3GB)
Download and install Ollama from ollama.com, then pull a model:
ollama pull gemma3You can use any Ollama model. Lighter options:
phi3,llama3.2,mistral
git clone https://github.com/asmbelly/crawl
cd crawlpip install -e .This installs Crawl globally so you can run it from anywhere with just:
crawlpip install -r requirements.txt
python main.pyOnce installed, just open any terminal and type:
crawlThen ask anything:
crawl> what is quantum computing?
crawl> latest news on space exploration
crawl> how does the stock market work?
Type exit or quit to close.
Edit config.py to customize Crawl:
MODEL = "gemma3" # Any Ollama model (phi3, llama3.2, mistral, etc.)
MAX_RESULTS = 5 # Number of web results to fetch
MAX_PAGE_CHARS = 3000 # Characters to read per page
TIMEOUT = 10 # Web request timeout in secondsollama pull phi3 # Lighter, faster (~2GB)
ollama pull llama3.2 # Great balance of speed and quality
ollama pull mistral # Strong reasoningThen update MODEL in config.py.
| Package | Purpose |
|---|---|
ddgs |
DuckDuckGo search (no API key needed) |
beautifulsoup4 |
Web page scraping |
requests |
HTTP requests |
rich |
Terminal UI and formatting |
ollama |
Local AI model interface |
Install all at once:
pip install -r requirements.txt"Model error" or connection refused
Make sure Ollama is running. On Windows it usually runs in the background after install. Try opening the Ollama app or running
ollama servein a separate terminal.
Slow responses
The model runs locally on your CPU. Larger models like
gemma3take 30–90 seconds. Tryphi3for faster responses.
No search results
DuckDuckGo occasionally rate-limits requests. Wait a moment and try again.
Crawl's mascot is a pixel art ant — small, fast, and always busy finding what you need.
This is an independent open source project. Not affiliated with, sponsored by, or endorsed by any AI company. Built for fun and learning.
MIT — free to use, modify, and distribute.