๐Ÿš€ -> Project on GitHub <-

๐Ÿš€ CrawlLama - Quick Start Guide

๐Ÿ“š Navigation:
๐Ÿ  Home | ๐Ÿ“– Docs | ๐Ÿ“ฆ Installation | ๐Ÿง  LangGraph | ๐Ÿ” OSINT

๐Ÿ› ๏ธ Installation in 5 Minutes

Step 1: Check Prerequisites

Step 2: Clone Repository

git clone https://github.com/arn-c0de/Crawllama.git
cd Crawllama

Step 3: Run Setup Script

Windows:

setup.bat

Linux/macOS:

chmod +x setup.sh
./setup.sh

The script automatically installs:

โš ๏ธ Note: Installing dependencies (e.g., torch, sentence-transformers) may take 5โ€“10 minutes on first run.

Step 4: Start Ollama

# In a separate terminal
ollama serve

๐Ÿ’พ Disk Space Requirements: Project + venv + optional models: ~1โ€“2 GB (can increase with larger models).

Approx. model sizes:

Note: Sizes vary depending on format (FP16, INT8) and extra assets.

Step 5: Download Model

ollama pull deepseek-r1:8b

Other options:

ollama pull qwen3:4b   # Smaller, faster
ollama pull llama3:7b  # Larger, more accurate
ollama pull mistral:7b # Good for reasoning
ollama pull phi3:14b   # High-performance, more RAM

Step 6: Start CrawlLama

Windows:

run.bat

Linux/macOS:

./run.sh

Always use the run scripts to auto-activate the virtual environment.

๐Ÿ’ก First Steps

Interactive Mode

Start CrawlLama and ask questions:

run.bat       # Windows
./run.sh      # Linux/macOS
โฏ What is Python?
โฏ How does photosynthesis work?
โฏ Who developed the theory of relativity?

โš™๏ธ Customize Configuration

Edit config.json:

{
  "llm": {
    "model": "deepseek-r1:8b",
    "temperature": 0.7,
    "max_tokens": 4096
  },
  "cache": {
    "enabled": true,
    "ttl_hours": 24
  }
}

๐ŸŽฏ Common Commands

Windows Linux/macOS Description
run.bat ./run.sh Interactive mode
run.bat "Question" ./run.sh "Question" Direct question
run.bat --stats ./run.sh --stats Show stats
run.bat --clear-cache ./run.sh --clear-cache Clear cache
run.bat --no-web ./run.sh --no-web Offline mode
run.bat --debug ./run.sh --debug Debug mode

โš ๏ธ Troubleshooting

Ollama Not Running

ollama serve

Model Not Found

ollama pull deepseek-r1:8b

Import Errors

setup.bat      # Windows
./setup.sh     # Linux/macOS

ChromaDB Issues

rm -rf data/embeddings/         # Linux/macOS
rmdir /s data\embeddings        # Windows

๐Ÿ“š Further Documentation

๐Ÿ’ฌ Example Session

$ run.bat

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ CrawlLama - Local Search Agent โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โฏ What is the capital of Germany?
The capital of Germany is **Berlin** (since 1990).

โฏ How many inhabitants does Berlin have?
Berlin has about **3.7 million** people (2024).

โฏ stats
{
  "tools_available": 3,
  "web_enabled": true,
  "model": "qwen3:4b",
  "cache": {
    "total_files": 2,
    "total_size_mb": 0.05
  }
}

โฏ exit
Goodbye!

๐ŸŽ‰ Youโ€™re Ready!

CrawlLama is now installed and ready for use.

If you encounter issues: GitHub Issues