-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathagentb.yaml.example
More file actions
124 lines (111 loc) · 4.19 KB
/
agentb.yaml.example
File metadata and controls
124 lines (111 loc) · 4.19 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# ─────────────────────────────────────────────
# Mnemo Cortex v0.3.0 Configuration
# "I remember everything so your agent doesn't have to."
# https://github.com/GuyMannDude/mnemo-cortex
# ─────────────────────────────────────────────
data_dir: ~/.agentb
log_level: info
# ── Reasoning Provider (with fallback chain) ──
# Used for preflight checks. If primary fails, falls through to fallbacks.
reasoning:
provider: ollama
model: qwen2.5:32b-instruct
api_base: http://localhost:11434
timeout: 30
# Circuit breaker: skip primary after N failures, retry after cooldown
circuit_breaker_threshold: 3
circuit_breaker_cooldown: 60
# Fallback chain (tried in order if primary fails)
fallbacks:
- provider: openai
model: gpt-4o-mini
api_key: ${OPENAI_API_KEY}
timeout: 15
# - provider: openrouter
# model: nousresearch/hermes-3-llama-3.1-405b:free
# api_key: ${OPENROUTER_API_KEY}
# ── Embedding Provider (with fallback chain) ──
embedding:
provider: ollama
model: nomic-embed-text
api_base: http://localhost:11434
fallbacks:
- provider: openai
model: text-embedding-3-small
api_key: ${OPENAI_API_KEY}
# - provider: google
# model: gemini-embedding-001 # NOT text-embedding-004 (dead Jan 2026)
# api_key: ${GEMINI_API_KEY}
# ── Cache Settings ──
cache:
l1_max_bundles: 50
l1_ttl_seconds: 86400
l1_similarity_threshold: 0.75
l2_similarity_threshold: 0.5
l3_similarity_threshold: 0.4
# ── Server Settings ──
server:
host: 0.0.0.0
port: 50001
cors_origins: ["*"]
# auth_token: my-secret-token # require X-API-KEY header
# ── Persona Modes ──
# Built-in: default, strict, creative
# Add custom personas here:
personas:
# Example: ultra-strict for financial/legal work
# financial:
# preflight: aggressive
# context_bias: factual
# max_confidence_for_pass: 0.95
# allow_speculative: false
# custom_system_prompt: >
# Verify all dollar amounts, dates, and contract terms.
# BLOCK any response with unverified financial claims.
# Example: brainstorm mode for product ideation
# brainstorm:
# preflight: permissive
# context_bias: associative
# max_confidence_for_pass: 0.3
# allow_speculative: true
# l1_similarity_override: 0.5
# l2_similarity_override: 0.3
# custom_system_prompt: >
# Maximum creativity. Surface unexpected connections.
# ENRICH with wild associations. Never WARN on ideas.
# ── Multi-Agent Isolation ──
# Each agent gets its own memory namespace. No data leakage.
agents:
rocky:
data_dir: ~/.agentb/agents/rocky
persona: creative
bw:
data_dir: ~/.agentb/agents/bw
persona: strict
# shared:
# data_dir: ~/.agentb/shared
# read_only: true # agents can read, writeback blocked
# ── Session Capture (The Live Wire) ──
# Sessions are captured automatically via /ingest.
# These settings control the lifecycle:
# sessions:
# hot_days: 3 # days in hot storage (instant search)
# warm_days: 30 # days in warm storage (summarized, indexed)
# max_session_gap_minutes: 60 # start new session after this gap
# auto_summarize: true # summarize sessions on archival
# max_hot_entries: 500 # safety cap per session file
# ── Mem0 Upstream Bridge (Optional) ──
# Two-tier memory: local-first, cloud-deep.
# When local search misses, Mnemo falls through to Mem0's
# semantic vector search. Results are cached locally.
# Sign up at https://app.mem0.ai for a free API key.
# mem0:
# enabled: true
# api_key: ${MEM0_API_KEY}
# api_base: https://api.mem0.ai/v1
# user_id: my-agent # Mem0 user namespace
# fallback_only: true # only hit Mem0 when local misses
# sync_writes: false # push writebacks to Mem0 (default: off)
# min_relevance: 0.3 # ignore Mem0 results below this score
# max_results: 3 # max Mem0 results per query
# timeout: 5.0 # seconds before giving up on Mem0