Konkyo docs

The agents and their trace

Who does what, with which model, and how to read the trace.

AgentDoesModel
PlannerStand-alone question, 1–3 searches, comparison flag; reads H-MEM corrections firstgpt-6-luna (low reasoning)
RetrieverHybrid search: pgvector and Postgres full text, fused by Reciprocal Rank Fusiontext-embedding-3-small
WriterCited draft, one finding per sentence; rewrites rejected sentencesgpt-6-luna
VerifierCode check, one Zetaris statement, support judgement; at most two rewrite roundsgpt-6-luna (low)
AnalystClaims × sources with stances, quotes checked in Zetaris, World Modelgpt-6-luna (low)
ScoutDeep search over OpenAlex and the web, screened in Markovian stepsgpt-5-nano
TutorPractice items; every answer key checked by the Verifier, every quote in Zetarisgpt-6-luna

Every role has a fallback model for outages and malformed replies; the switch is logged as escalated_to_fallback. The models were chosen by a measured cost and quality benchmark per role.

Reading a trace

Every run writes logs/<runId>.jsonl, one JSON line per step:

{"ts":"2026-10-17T12:31:04.118Z","runId":"…","agent":"verifier","step":"verify_0","action":"queried_zetaris","sqlHash":"0cc394679bad","rowsReturned":2,"verdict":"2/2 quotes found","latencyMs":3317}
FieldMeaning
agent, step, actionWho did what: planned, hybrid_search, queried_zetaris, drafted_answer, rejected_to_writer, revised_sentences, approved, asserted_world_model, read_hmem
model, tokens, latencyMsWhich model, at what cost and speed
sqlHash, rowsReturnedWhich Zetaris statement (by hash) and what came back
verdict, detailThe decision, and its reasons

The app shows the same run as the answer's receipt.

On this page