[{"data":1,"prerenderedAt":185},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fconsole":3},{"id":4,"title":5,"body":6,"description":177,"extension":178,"meta":179,"navigation":180,"path":181,"seo":182,"stem":183,"__hash__":184},"docs\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fconsole.md","The Console",{"type":7,"value":8,"toc":169},"minimark",[9,13,22,25,30,35,42,46,52,56,62,66,72,76,88,92,99,103,106,110,113,116,119,123,127,142,145,149,156,159,162],[10,11,5],"h1",{"id":12},"the-console",[14,15,16,17,21],"p",{},"A session is a ",[18,19,20],"code",{},".jsonl"," file — every request, every engine call, every command, every\npolicy decision, in one order. Everything you need is already on disk. Reading it by hand\nis the problem.",[14,23,24],{},"The Axon Console is that file, rendered.",[26,27],"terminal-image",{"alt":28,"src":29},"The Axon Console panel showing the Logs, Events, Trace and Engine tabs over one run","\u002Ffleet\u002Fconsole-overview.png",[31,32,34],"h2",{"id":33},"four-panes","Four panes",[14,36,37,41],{},[38,39,40],"strong",{},"Logs"," — what it said while running.",[26,43],{"alt":44,"src":45},"The Logs pane showing the agent's output as it runs","\u002Ffleet\u002Fpane-logs.png",[14,47,48,51],{},[38,49,50],{},"Events"," — what happened, in order.",[26,53],{"alt":54,"src":55},"The Events pane showing the classified runtime stream","\u002Ffleet\u002Fpane-events.png",[14,57,58,61],{},[38,59,60],{},"Trace"," — where the time went.",[26,63],{"alt":64,"src":65},"The Trace pane showing a flame graph of the run's spans","\u002Ffleet\u002Fpane-trace.png",[14,67,68,71],{},[38,69,70],{},"Engine"," — what the model actually saw.",[26,73],{"alt":74,"src":75},"The Engine pane showing the rendered document sent to the model","\u002Ffleet\u002Fpane-engine.png",[14,77,78,83,84,87],{},[79,80,82],"a",{"href":81},"\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Ftrace","Trace & Events"," find where a run went wrong.\n",[79,85,70],{"href":86},"\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fengine"," finds why.",[31,89,91],{"id":90},"live-and-finished-are-the-same-interface","Live and finished are the same interface",[14,93,94,95,98],{},"Every pane reads from a ",[38,96,97],{},"source",": a running instance, or a session file on disk.",[26,100],{"alt":101,"src":102},"The instances group above the sessions group, both feeding the same console panes","\u002Ffleet\u002Flive-vs-session.png",[14,104,105],{},"Watch a run happen:",[107,108],"terminal-video",{"src":109},"\u002Ffleet\u002Fconsole-live.mp4",[14,111,112],{},"Or open one that finished last week and read it through the identical panes:",[107,114],{"src":115},"\u002Ffleet\u002Fconsole-replay.mp4",[14,117,118],{},"A finished session is not a lesser view. It is the same file the live view was tailing,\nwhich stopped appending. A run you missed is as debuggable as one you are watching.",[31,120,122],{"id":121},"three-things-to-point-it-at","Three things to point it at",[26,124],{"alt":125,"src":126},"An instance, a session, and an agent as the three console subjects","\u002Ffleet\u002Fconsole-subjects.png",[14,128,129,130,133,134,137,138,141],{},"An ",[38,131,132],{},"instance"," tails live. A ",[38,135,136],{},"session"," replays. An ",[38,139,140],{},"agent"," is the stable subject —\nits Sessions tab lists every past run, so you pick one and inspect it without re-targeting\nthe console.",[107,143],{"src":144},"\u002Ffleet\u002Fagent-sessions.mp4",[31,146,148],{"id":147},"it-works-for-any-agent","It works for any agent",[14,150,151,152,155],{},"The panes read ",[18,153,154],{},"kernel:*"," telemetry — the runtime's own meter around every engine call,\ntool, and command. Nothing from inside a cognet.",[14,157,158],{},"So a custom cognet gets the same Trace and the same Engine view as a stock one, and never\nneeds to know a debugger exists.",[160,161],"hr",{},[14,163,164,165,168],{},"Next: ",[79,166,167],{"href":86},"The Engine Pane"," — the one view you cannot get any\nother way.",{"title":170,"searchDepth":171,"depth":171,"links":172},"",2,[173,174,175,176],{"id":33,"depth":171,"text":34},{"id":90,"depth":171,"text":91},{"id":121,"depth":171,"text":122},{"id":147,"depth":171,"text":148},"A session is a .jsonl file — every request, every engine call, every command, every\npolicy decision, in one order. Everything you need is already on disk. Reading it by hand\nis the problem.","md",{},true,"\u002Fdocs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fconsole",{"title":5,"description":177},"docs\u002Fv2\u002Ffleet\u002Fdebugging\u002Fconsole","Da21RPRiuOQAGC1dYH4QbTDQw3bcHh9bh_kFsP5eUyQ",1786104360916]