# Local vs Cloud comparison on 5 use-case benchmarks.
# Same agent (native_openhands), same benchmarks, different models.
# Shows cost/accuracy/latency tradeoffs.
#
# Prerequisites: source .env (OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY)
# Local: ollama running with qwen3:8b pulled

[meta]
name = "use-case-cloud-comparison"
description = "Local (qwen3:8b) vs Cloud (gpt-5-mini, claude-sonnet-4-6, gemini-3-flash) on use-case benchmarks"

[defaults]
temperature = 0.0
max_tokens = 2048

[judge]
model = "gpt-5-mini-2025-08-07"

[run]
max_workers = 4
output_dir = "results/use-cases-cloud-comparison/"
seed = 42
telemetry = true

# --- Models Under Test ---

[[models]]
name = "qwen3:8b"
engine = "ollama"

[[models]]
name = "gpt-5-mini"
provider = "openai"

[[models]]
name = "claude-sonnet-4-6"
provider = "anthropic"

[[models]]
name = "gemini-3-flash"
provider = "google"

# --- Benchmarks ---

[[benchmarks]]
name = "email_triage"
backend = "jarvis-agent"
agent = "native_openhands"
tools = ["think"]
max_samples = 30

[[benchmarks]]
name = "morning_brief"
backend = "jarvis-agent"
agent = "native_openhands"
tools = ["think", "web_search"]
max_samples = 15

[[benchmarks]]
name = "research_mining"
backend = "jarvis-agent"
agent = "native_openhands"
tools = ["think", "web_search"]
max_samples = 30

[[benchmarks]]
name = "knowledge_base"
backend = "jarvis-agent"
agent = "native_openhands"
tools = ["think"]
max_samples = 30

[[benchmarks]]
name = "coding_task"
backend = "jarvis-agent"
agent = "native_openhands"
tools = ["think", "code_interpreter"]
max_samples = 29
