# Agent Learning Profiles Configuration Fragment

[[elements]]
border_top = true
border_bottom = false
name = "learning_header"
title = "📈 Learning-Based Agent Selection"
type = "section_header"

[[elements]]
default = true
help = "Enable learning profile persistence from execution history"
name = "learning_enabled"
nickel_path = ["vapora", "agents", "learning", "enabled"]
prompt = "Enable Learning Profiles"
required = true
type = "bool"

[[elements]]
default = 7
help = "Number of days for recency bias calculation"
max = 90
min = 1
name = "recency_window_days"
nickel_path = ["vapora", "agents", "learning", "recency_window_days"]
prompt = "Recency Window (days)"
required = true
type = "number"

[[elements]]
default = 3.0
help = "Recency multiplier for recent executions (3x weight for recent tasks)"
max = 10.0
min = 1.0
name = "recency_multiplier"
nickel_path = ["vapora", "agents", "learning", "recency_multiplier"]
prompt = "Recency Multiplier"
required = true
type = "number"

[[elements]]
default = 0.3
help = "Load factor weight in scoring formula (0.0-1.0)"
max = 1.0
min = 0.0
name = "scoring_load_weight"
nickel_path = ["vapora", "agents", "learning", "scoring", "load_weight"]
prompt = "Load Factor Weight"
required = true
type = "number"

[[elements]]
default = 0.5
help = "Expertise weight in scoring formula (0.0-1.0)"
max = 1.0
min = 0.0
name = "scoring_expertise_weight"
nickel_path = ["vapora", "agents", "learning", "scoring", "expertise_weight"]
prompt = "Expertise Weight"
required = true
type = "number"

[[elements]]
default = 0.2
help = "Confidence weight in scoring formula (prevents overfitting)"
max = 1.0
min = 0.0
name = "scoring_confidence_weight"
nickel_path = ["vapora", "agents", "learning", "scoring", "confidence_weight"]
prompt = "Confidence Weight"
required = true
type = "number"

[[elements]]
border_top = true
border_bottom = false
name = "knowledge_graph_header"
title = "🧠 Knowledge Graph"
type = "section_header"

[[elements]]
default = true
help = "Enable knowledge graph for temporal execution history"
name = "kg_enabled"
nickel_path = ["vapora", "agents", "knowledge_graph", "enabled"]
prompt = "Enable Knowledge Graph"
required = true
type = "bool"

[[elements]]
default = 7
help = "Days to retain execution history"
max = 365
min = 1
name = "kg_retention_days"
nickel_path = ["vapora", "agents", "knowledge_graph", "retention_days"]
prompt = "History Retention (days)"
required = true
type = "number"

[[elements]]
default = true
help = "Enable causal reasoning for task relationships"
name = "kg_causal_reasoning"
nickel_path = ["vapora", "agents", "knowledge_graph", "causal_reasoning"]
prompt = "Enable Causal Reasoning"
required = false
type = "bool"

[[elements]]
default = true
help = "Enable similarity search for recommending solutions"
name = "kg_similarity_search"
nickel_path = ["vapora", "agents", "knowledge_graph", "similarity_search"]
prompt = "Enable Similarity Search"
required = false
type = "bool"
