Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
chore(agents): raise auto-triage max_tokens 512 -> 2048 (#1558)
alexmateescu34d6b1d4623b
diff --git a/scripts/measure_triage_reliability.py b/scripts/measure_triage_reliability.pyindex 2a64b813e..a32ad17e8 100644--- a/scripts/measure_triage_reliability.py+++ b/scripts/measure_triage_reliability.py@@ -71,8 +71,14 @@ CORPUS = AGENTS_ROOT / "tests" / "eval_data" / "synthetic_incidents.json"# Production values, read from the call site in auto_triage_agent.run_auto_triage.# If these drift from production the measurement stops describing production,# so they are asserted against it in tests/test_triage_reliability_harness.py.+#+# MAX_TOKENS moved 512 → 2048 with production (#1558): 512 clipped JSON+# verdicts carrying a long rationale, forcing re-asks or the deterministic+# fallback. The published 44/50 → 50/50 figures were measured at 512 and+# remain true statements about that run (none of the prose names the+# ceiling); the next harness run grades the 2048 configuration.TEMPERATURE = 0.0-MAX_TOKENS = 512+MAX_TOKENS = 2048DEFAULT_BASE_URL = "http://localhost:11434"DEFAULT_MODEL = "llama3.2:3b-instruct-q4_K_M"diff --git a/services/agents/app/agents/auto_triage_agent.py b/services/agents/app/agents/auto_triage_agent.pyindex 450a1862e..7e43387d5 100644--- a/services/agents/app/agents/auto_triage_agent.py+++ b/services/agents/app/agents/auto_triage_agent.py@@ -508,7 +508,7 @@ async def run_auto_triage(state: InvestigationState) -> InvestigationState:# and auto_triage_node catches AutoTriageError specifically — so# constructing outside would have failed the whole graph run over a# configuration problem the deterministic path handles fine.- llm = make_chat_model("triage", temperature=0.0, max_tokens=512, json_output=True)+ llm = make_chat_model("triage", temperature=0.0, max_tokens=2048, json_output=True)system_prompt = prompt_text("triage.system") + "\n\n" + system_rule(nonce)response = await safe_ainvoke(llm,