CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/koog

Koog 1.0 idioms, gotchas, and scaffolding skills for Kotlin agents on the JVM

87

1.85x
Quality

88%

Does it follow best practices?

Impact

87%

1.85x

Average score across 45 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-45/

{
  "context": "Negative case — tests whether the agent recognizes that the developer's data (structured, queryable, per-decision facts) belongs in a fact-storage primitive (LongTermMemory) or as a tool, NOT in chat-history. Installing JdbcChatHistory / ChatHistoryAws / ChatMemorySql here would force the agent to inject fake Message.User / Message.Assistant pseudo-turns to surface the facts, which the model misinterprets as today's conversation — the failure mode the anti-pattern in persist-chat-history Step 6 names.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Names the chat-history-vs-fact-store distinction",
      "description": "Surfaces that chat-history persistence is for real conversation turns and that the developer's data (per-decision records the agent should retrieve programmatically) is a different shape. Without this distinction the developer cannot choose the right primitive",
      "max_score": 30
    },
    {
      "name": "Recommends LongTermMemory or a Tool",
      "description": "Routes the developer to ai.koog:agents-features-longterm-memory (with a SearchQueryProvider for organizer/date lookup) OR to building a @Tool like getRecentlyUsedFlavors(organizer) that the agent calls. Either is correct — both are fact-shaped primitives. May also mention systemPrompt for very small fixed contexts",
      "max_score": 25
    },
    {
      "name": "Does not install JdbcChatHistory / chat-history-jdbc",
      "description": "Does NOT call install(JdbcChatHistory) and does NOT add ai.koog:agents-features-chat-history-jdbc / -aws / -sql. The skill body explicitly names this as the wrong primitive; an installation here would be the anti-pattern this scenario tests refusal of",
      "max_score": 25
    },
    {
      "name": "Does not synthesise pseudo-turns into a custom ChatHistoryProvider",
      "description": "Does NOT implement a custom ChatHistoryProvider that returns a hand-rolled list of Message.User / Message.Assistant entries representing facts the agent never actually said. This is the symptom-form of the same anti-pattern — the data isn't conversation-shaped and the model misreads the latest entry as today's task",
      "max_score": 15
    },
    {
      "name": "Acknowledges the framing without capitulating",
      "description": "Engages with the developer's phrasing (\"the agent needs to remember its past decisions\") and explains why fact-shaped data belongs in a queryable primitive. Does not refuse silently",
      "max_score": 5
    }
  ]
}

evals

README.md

tile.json