44 Downloads Updated 13 hours ago
ollama run sosecretyes/garavan:speed
Updated 13 hours ago
13 hours ago
8e886757d7a6 · 1.4GB
sosecretyes/garavan:latest or sosecretyes/garavan:speed)Garavan is a custom reasoning, STEM, and coding assistant built on top of qwen3:8b. Designed to run smoothly on everyday PCs, Garavan combines deep step-by-step thinking with clear, creative answers for math, physics, geology, geography, and programming. It is also built in with personality and creativity like no other AI model on Ollama.
Run garavan:latest directly in your terminal:
ollama run sosecretyes/garavan:latest
Run garavan:speed directly in your terminal:
ollama run sosecretyes/garavan:speed
Step-by-Step Thinking: Uses structured reasoning and self-checking before answering so math, physics, and logic solutions stay accurate.
Balanced Creativity & Precision: Tuned to write clean Python and JavaScript code while still explaining complex science concepts clearly.
Runs Locally on Normal PCs: At 5.2 GB with a 40K context window, Garavan runs fast on standard laptops and desktops with zero cloud fees.
Tool & Agent Ready: Supports tool calling and works out of the box with Claude Code, OpenCode, Hermes Agent, and OpenClaw.
Big Personality: Actually has a real personality and is good at emotions (but doesn’t feel them!). Is creative and cares about you like no other AI on Ollama.
sosecretyes/garavan:latest (5.2 GB): Flagship model for deep reasoning, STEM, coding, and richer creative storytelling.
sosecretyes/garavan:speed (1.4 GB): Ultra-fast, lightweight variant built for instant replies, low VRAM/RAM usage, and quick everyday tasks.
Install the official Ollama Python library (pip install ollama) and run a memory-enabled chatbot powered by Garavan with built-in date/time and arithmetic tools:
from datetime import datetime
from ollama import chat
def get_current_datetime() -> str:
"""Get the current real-world date, day of the week, and local time."""
return datetime.now().strftime("%A, %B %d, %Y at %H:%M:%S")
def calculate_math(a: float, op: str, b: float) -> str:
"""Calculate arithmetic between two numbers using '+', '-', '*', '/', or '**'."""
if op == "+":
return str(a + b)
elif op == "-":
return str(a - b)
elif op == "*":
return str(a * b)
elif op == "/":
return "Error: Division by zero" if b == 0 else str(a / b)
elif op in ("**", "^"):
return str(a ** b)
return f"Unsupported operator: {op}"
available_tools = {
"get_current_datetime": get_current_datetime,
"calculate_math": calculate_math,
}
messages = []
def smart_input(prompt):
first_line = input(prompt)
if first_line.strip().lower() in ("quit", "clear"):
return first_line.strip()
if not first_line.endswith("\\"):
return first_line.strip()
lines = [first_line[:-1]]
while True:
line = input("... ")
if line == "":
break
lines.append(line)
return "\n".join(lines).strip()
print("Where should we begin? (End a line with \\ for multi-line mode)")
while True:
user_input = smart_input("Ask Garavan: ")
if user_input.lower() == "quit":
break
if user_input.lower() == "clear":
messages.clear()
print("Memory cleared!\n")
continue
if not user_input:
continue
messages.append({"role": "user", "content": user_input})
print("Generating response...")
response = chat(
model="sosecretyes/garavan",
messages=messages[-10:],
tools=[get_current_datetime, calculate_math],
think=False,
options={"num_ctx": 4096},
)
if response.message.tool_calls:
messages.append(response.message)
for call in response.message.tool_calls:
func = available_tools.get(call.function.name)
if func:
tool_result = func(**call.function.arguments)
messages.append({
"role": "tool",
"tool_name": call.function.name,
"content": str(tool_result),
})
reply = ""
for chunk in chat(
model="sosecretyes/garavan:latest",# Change to garavan:speed for faster results
messages=messages[-10:],
stream=True,
think=False, # Turn think=True, if you want step-by-step reasoning
options={"num_ctx": 4096},
):
word = chunk["message"]["content"]
print(word, end="", flush=True)
reply += word
else:
reply = response.message.content
print(reply, end="", flush=True)
print("\n")
messages.append({"role": "assistant", "content": reply})