ai / API.md
hadadrjt's picture
ai: Allow Deep Search via API.
8f64cac

INSTALLATIONS

# Linux/Android (Termux)/MacOS/Windows.
# Make sure you have "wget", "python3" and "pip" installed.
# This package have very small size.

pip install gradio_client rich --upgrade

DOWNLOAD JARVIS SCRIPT

# Terminal script.
wget https://huggingface.co/spaces/hadadrjt/ai/raw/main/ai

# Set permission.
chmod a+x ai

RUN JARVIS IN YOUR TERMINAL

# Example normal usage.
./ai "Your message here."

# Example with Deep Search.
./ai -d "Your message here."

LINUX USER's

# Bonus for more flexible.
sudo mv ai /bin/

# Now you can run with simple command.
ai "Your message here."

MULTI PLATFORM

Edit JARVIS terminal script, and find this code:
model = "JARVIS: 2.1.2"

Choose one of the model name for the JARVIS multi platform.

1. JARVIS: 2.1.2
2. DeepSeek: V3-0324
3. DeepSeek: R1 (Reasoning)
4. DeepSeek: R1 - Distill Qwen 14B (Reasoning)
5. DeepSeek: R1 - Distill Qwen 32B (Reasoning)
6. DeepSeek: R1 - Distill Llama 70B (Reasoning)
7. Google: Gemma 3 1B-IT
8. Google: Gemma 3 4B-IT
9. Google: Gemma 3 27B-IT
10. Meta: Llama 3.1 8B Instruct
11. Meta: Llama 3.2 3B Instruct
12. Meta: Llama 3.3 70B Instruct
13. Meta: Llama 4 Maverick 17B 128E Instruct
14. Meta: Llama 4 Scout 17B 16E Instruct
15. Qwen: Qwen2.5 VL 3B Instruct
16. Qwen: Qwen2.5 VL 32B Instruct
17. Qwen: Qwen2.5 VL 72B Instruct
18. Agentica: Deepcoder 14B Preview

Example:
model = "DeepSeek: V3-0324"

Please note that the Deep Search feature is only available for JARVIS: 2.1.2.