-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathengine.toml.example
More file actions
71 lines (61 loc) · 2.68 KB
/
engine.toml.example
File metadata and controls
71 lines (61 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Curiosity Engine — model connection settings (Phase 1 multi-profile schema).
#
# Copy this file to ~/.CuriosityEngine/engine.toml (or let it be auto-created on
# first run through the interactive wizard). Values here are an example config:
# Claude Sonnet as the primary model, GPT-5 as the adversarial verifier.
#
# The engine uses two model ROLES:
# • primary — runs introspection, question generation, investigation, synthesis
# • verifier — adversarially reviews synthesized insights before they enter the register
# For genuine cross-model verification the verifier should be a DIFFERENT model family.
[models.primary]
# provider is one of: "anthropic" | "openai_compat"
# anthropic → uses the Anthropic SDK, supports server-side web_search
# openai_compat → uses the OpenAI SDK; set base_url to talk to any OpenAI-compatible endpoint
provider = "anthropic"
name = "claude-sonnet-4-6"
# Env var ANTHROPIC_API_KEY (or OPENAI_API_KEY for openai_compat) wins over api_key.
# Do NOT commit this file with a real key.
# api_key = "sk-ant-..."
# base_url is only needed when talking to a non-default endpoint.
# base_url = "https://api.anthropic.com"
max_tokens = 4096
investigation_max_tokens = 8192
[models.verifier]
# A DIFFERENT model family for true cross-model adversarial verification.
# Set base_url to point at any OpenAI-compatible endpoint.
provider = "openai_compat"
name = "gpt-5.1"
# api_key = "sk-..."
# Drop in any OpenAI-compatible endpoint. Examples:
# OpenAI https://api.openai.com/v1
# Google Gemini https://generativelanguage.googleapis.com/v1beta/openai/
# OpenRouter https://openrouter.ai/api/v1
# Ollama (local) http://localhost:11434/v1
# xAI https://api.x.ai/v1
# Groq https://api.groq.com/openai/v1
# Together https://api.together.xyz/v1
# DeepSeek https://api.deepseek.com/v1
base_url = "https://api.openai.com/v1"
max_tokens = 4096
investigation_max_tokens = 8192
[retry]
# Retry policy for transient provider errors (429, 5xx, connection, timeout).
# Backpressure responses (rate limit / overloaded) extend attempts automatically.
max_attempts = 5
base_delay_seconds = 0.5
max_delay_seconds = 8.0
jitter_seconds = 0.25
[engine]
# Operational knobs for the loop. Editable via the Settings page.
#
# cross_ref_window is the biggest lever on big-context primary models.
# Default 20 entries; bump to 80-120 with Kimi K2.6 or other 200K+ models so
# cross-reference surfaces intersections across a wider slice of the journal.
cross_ref_window = 20
questions_per_cycle = 3
investigations_per_cycle = 1
cross_ref_frequency = 3
novelty_threshold = 0.7
register_confidence_floor = 0.6
verify_insights = true