From 714cef5c5b0e1a72b3f0250c8eb5dc70acbf3ca9 Mon Sep 17 00:00:00 2001 From: jenstandstad Date: Sun, 10 May 2026 00:25:03 +0200 Subject: [PATCH 1/2] Adding fix to the model naem --- agents/gunnar/chats/8Kf7lvpx/chat.json | 1 + agents/gunnar/chats/JXywRRzy/chat.json | 1 + agents/gunnar/chats/Niejjx3r/chat.json | 1 + agents/gunnar/chats/Pi6TA7Lp/chat.json | 1 + agents/gunnar/chats/RDZDQj7v/chat.json | 1 + agents/gunnar/chats/UFzcWbBS/chat.json | 1 + agents/gunnar/chats/UYHNZwGj/chat.json | 1 + agents/gunnar/chats/d0ZCEqHA/chat.json | 1 + agents/gunnar/chats/hTslfNOR/chat.json | 1 + agents/gunnar/chats/iWK6wbZJ/chat.json | 1 + agents/gunnar/chats/nbGFmIS1/chat.json | 1 + agents/gunnar/chats/oKTT2VPU/chat.json | 1 + agents/gunnar/chats/tgKu13xk/chat.json | 1 + agents/gunnar/chats/vs009Aj3/chat.json | 1 + agents/gunnar/memory/default/index.faiss | Bin 9261 -> 52269 bytes .../gunnar/memory/default/index.faiss.sha256 | 2 +- agents/gunnar/memory/default/index.pkl | Bin 50376 -> 28804 bytes .../gunnar/plugins/_model_config/config.json | 2 +- .../glitch_university/.a0proj/agents.json | 1 - .../agent0/plugins/_model_config/config.json | 38 ------------------ .../.a0proj/memory/embedding.json | 1 - .../.a0proj/memory/index.faiss.sha256 | 1 - .../.a0proj/memory/index.pkl | Bin 31123 -> 0 bytes .../.a0proj/memory/knowledge_import.json | 1 - .../.a0proj/plugins/_model_config/config.json | 1 - .../plugins/_model_config/presets.yaml | 1 - .../glitch_university/.a0proj/project.json | 1 - .../glitch_university/.a0proj/secrets.env | 0 .../glitch_university/.a0proj/variables.env | 0 .../hermes/plugins/_model_config/config.json | 2 +- 30 files changed, 17 insertions(+), 48 deletions(-) create mode 100644 agents/gunnar/chats/8Kf7lvpx/chat.json create mode 100644 agents/gunnar/chats/JXywRRzy/chat.json create mode 100644 agents/gunnar/chats/Niejjx3r/chat.json create mode 100644 agents/gunnar/chats/Pi6TA7Lp/chat.json create mode 100644 agents/gunnar/chats/RDZDQj7v/chat.json create mode 100644 agents/gunnar/chats/UFzcWbBS/chat.json create mode 100644 agents/gunnar/chats/UYHNZwGj/chat.json create mode 100644 agents/gunnar/chats/d0ZCEqHA/chat.json create mode 100644 agents/gunnar/chats/hTslfNOR/chat.json create mode 100644 agents/gunnar/chats/iWK6wbZJ/chat.json create mode 100644 agents/gunnar/chats/nbGFmIS1/chat.json create mode 100644 agents/gunnar/chats/oKTT2VPU/chat.json create mode 100644 agents/gunnar/chats/tgKu13xk/chat.json create mode 100644 agents/gunnar/chats/vs009Aj3/chat.json delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/agents.json delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/agents/agent0/plugins/_model_config/config.json delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/memory/embedding.json delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/memory/index.faiss.sha256 delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/memory/index.pkl delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/memory/knowledge_import.json delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/plugins/_model_config/config.json delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/plugins/_model_config/presets.yaml delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/project.json delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/secrets.env delete mode 100644 agents/gunnar/projects/glitch_university/.a0proj/variables.env diff --git a/agents/gunnar/chats/8Kf7lvpx/chat.json b/agents/gunnar/chats/8Kf7lvpx/chat.json new file mode 100644 index 0000000..c3cda0d --- /dev/null +++ b/agents/gunnar/chats/8Kf7lvpx/chat.json @@ -0,0 +1 @@ +{"id": "8Kf7lvpx", "name": null, "created_at": "2026-05-09T22:14:13.375762+00:00", "type": "user", "last_message": "2026-05-09T22:14:13.375774+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"hekkan!\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\\n\\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-10 00:14:18\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10142}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"984251ce-3239-45f2-b6fa-893f76107dc0\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"5546448e-b5e4-4c3b-9981-122b36573a3b\", \"ai\": false, \"content\": {\"user_message\": \"hekkan!\"}, \"summary\": \"\", \"tokens\": 12}, {\"_cls\": \"Message\", \"id\": \"481f5b7e-eb27-4a74-8160-3489d57c936c\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "680b8c5b-abfc-4e6b-8454-7b0abbe9905c", "logs": [{"no": 0, "id": "984251ce-3239-45f2-b6fa-893f76107dc0", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778364853.3959072, "agentno": 0}, {"no": 1, "id": "5546448e-b5e4-4c3b-9981-122b36573a3b", "type": "user", "heading": "", "content": "hekkan!", "kvps": {"attachments": []}, "timestamp": 1778364853.3998544, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}\n\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778364853.5666835, "agentno": 0}, {"no": 3, "id": "3fece462-2642-480d-8ca4-b5cf61497c27", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364853.9071436, "agentno": 0}, {"no": 4, "id": "481f5b7e-eb27-4a74-8160-3489d57c936c", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364855.092375, "agentno": 0}, {"no": 5, "id": "b05f91f6-b0bf-4a4a-8d6f-7b75f4234971", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364858.3393962, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364858.5164163, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/JXywRRzy/chat.json b/agents/gunnar/chats/JXywRRzy/chat.json new file mode 100644 index 0000000..e10e230 --- /dev/null +++ b/agents/gunnar/chats/JXywRRzy/chat.json @@ -0,0 +1 @@ +{"id": "JXywRRzy", "name": "Agent Zero", "created_at": "2026-05-09T22:19:08.150575+00:00", "type": "user", "last_message": "2026-05-09T22:19:08.150593+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"now?\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\\n\\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-10 00:19:12\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10140}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"2327ba3e-ba06-43f0-9ae6-c36886e804fe\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"c163fe80-ebfb-454e-aa3c-5f49614cdf12\", \"ai\": false, \"content\": {\"user_message\": \"now?\"}, \"summary\": \"\", \"tokens\": 11}, {\"_cls\": \"Message\", \"id\": \"8350b0c4-9d7c-4d74-bfef-844ed1c21698\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "b733cec2-2eda-417b-a485-6627231fc26c", "logs": [{"no": 0, "id": "2327ba3e-ba06-43f0-9ae6-c36886e804fe", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778365148.1612742, "agentno": 0}, {"no": 1, "id": "c163fe80-ebfb-454e-aa3c-5f49614cdf12", "type": "user", "heading": "", "content": "now?", "kvps": {"attachments": []}, "timestamp": 1778365148.1648018, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}\n\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778365148.3168426, "agentno": 0}, {"no": 3, "id": "1fd4f020-28ba-4d14-8dc8-3fab7b5858a0", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778365148.6525266, "agentno": 0}, {"no": 4, "id": "8350b0c4-9d7c-4d74-bfef-844ed1c21698", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778365148.8258739, "agentno": 0}, {"no": 5, "id": "c30e9f13-0da1-4752-8504-2c166f21f8f0", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778365152.1186547, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778365152.4702563, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/Niejjx3r/chat.json b/agents/gunnar/chats/Niejjx3r/chat.json new file mode 100644 index 0000000..01c5af7 --- /dev/null +++ b/agents/gunnar/chats/Niejjx3r/chat.json @@ -0,0 +1 @@ +{"id": "Niejjx3r", "name": "Hello Chat", "created_at": "2026-05-09T22:13:54.514450+00:00", "type": "user", "last_message": "2026-05-09T22:13:54.514467+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"hello\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\\n\\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-10 00:13:58\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10139}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"92ddc968-cb82-4a46-9bfb-b71988ebd781\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"deceffb4-d786-4e44-96ca-a2e24f6cfeb4\", \"ai\": false, \"content\": {\"user_message\": \"hello\"}, \"summary\": \"\", \"tokens\": 9}, {\"_cls\": \"Message\", \"id\": \"2915a1b5-ae7f-4605-94f0-323269ffa518\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "9271ff35-a602-4e4b-beab-679bfbc176de", "logs": [{"no": 0, "id": "92ddc968-cb82-4a46-9bfb-b71988ebd781", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778364834.5323262, "agentno": 0}, {"no": 1, "id": "deceffb4-d786-4e44-96ca-a2e24f6cfeb4", "type": "user", "heading": "", "content": "hello", "kvps": {"attachments": []}, "timestamp": 1778364834.535814, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}\n\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778364834.6849651, "agentno": 0}, {"no": 3, "id": "6eaeba52-6ad9-41b3-87e3-cd134828f0e2", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364835.012532, "agentno": 0}, {"no": 4, "id": "2915a1b5-ae7f-4605-94f0-323269ffa518", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364835.6232893, "agentno": 0}, {"no": 5, "id": "5b19c37f-5b47-4359-978a-a9ff1e0a7d45", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364838.843141, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364839.0474932, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/Pi6TA7Lp/chat.json b/agents/gunnar/chats/Pi6TA7Lp/chat.json new file mode 100644 index 0000000..8455ba8 --- /dev/null +++ b/agents/gunnar/chats/Pi6TA7Lp/chat.json @@ -0,0 +1 @@ +{"id": "Pi6TA7Lp", "name": "HelloAgain", "created_at": "2026-05-09T22:18:43.033963+00:00", "type": "user", "last_message": "2026-05-09T22:18:43.033981+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"again?\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\\n\\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\\n\\n# chat history\\nConversation with user about potential issue\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-10 00:18:47\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10155}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"0a40bfc2-465d-47a5-b3ac-b3b3b554058c\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"d55b9c24-7231-4d59-ba4e-6a3fef693ea2\", \"ai\": false, \"content\": {\"user_message\": \"again?\"}, \"summary\": \"\", \"tokens\": 11}, {\"_cls\": \"Message\", \"id\": \"5dd65a4e-0cae-4601-880d-d02c88c2532b\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "d1514edf-c9e0-411c-9980-3689c84f9a34", "logs": [{"no": 0, "id": "0a40bfc2-465d-47a5-b3ac-b3b3b554058c", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778365123.052241, "agentno": 0}, {"no": 1, "id": "d55b9c24-7231-4d59-ba4e-6a3fef693ea2", "type": "user", "heading": "", "content": "again?", "kvps": {"attachments": []}, "timestamp": 1778365123.0566602, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 2 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}\n\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\n\n# chat history\nConversation with user about potential issue"}, "timestamp": 1778365123.2106953, "agentno": 0}, {"no": 3, "id": "28faaa31-a2eb-47e7-aa69-abd656b6e99a", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778365123.639006, "agentno": 0}, {"no": 4, "id": "5dd65a4e-0cae-4601-880d-d02c88c2532b", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778365124.00877, "agentno": 0}, {"no": 5, "id": "10e60381-f910-4f7e-b19c-69f531faf141", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778365127.2127588, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778365127.487837, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/RDZDQj7v/chat.json b/agents/gunnar/chats/RDZDQj7v/chat.json new file mode 100644 index 0000000..1ffa41a --- /dev/null +++ b/agents/gunnar/chats/RDZDQj7v/chat.json @@ -0,0 +1 @@ +{"id": "RDZDQj7v", "name": "Agent Zero", "created_at": "2026-05-09T22:00:57.366108+00:00", "type": "user", "last_message": "2026-05-09T22:00:57.366124+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"hell\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': [\\\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\\\", \\\"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\\\", \\\"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\\\", \\\"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\\\", \\\"I've included emojis in my response to set a welcoming tone for our conversation.\\\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \\\"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\\\"}}\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-10 00:01:01\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10347}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"1e0cd72c-1de9-49a1-8799-614f17dfc365\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"f39db90b-a348-426a-8711-2d5946cc5788\", \"ai\": false, \"content\": {\"user_message\": \"hell\"}, \"summary\": \"\", \"tokens\": 9}, {\"_cls\": \"Message\", \"id\": \"89dcb7e0-9b83-4887-baf0-2ff295fe7d2b\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "fa12dfb4-022a-4231-8c14-dc5ab88fefaa", "logs": [{"no": 0, "id": "1e0cd72c-1de9-49a1-8799-614f17dfc365", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778364057.4163907, "agentno": 0}, {"no": 1, "id": "f39db90b-a348-426a-8711-2d5946cc5788", "type": "user", "heading": "", "content": "hell", "kvps": {"attachments": []}, "timestamp": 1778364057.4210362, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': [\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\", \"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\", \"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\", \"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\", \"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\", \"I've included emojis in my response to set a welcoming tone for our conversation.\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\"}}\n\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778364057.690504, "agentno": 0}, {"no": 3, "id": "f7787bdf-1d4d-4d00-a66f-83d171ce7ff8", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364058.223568, "agentno": 0}, {"no": 4, "id": "89dcb7e0-9b83-4887-baf0-2ff295fe7d2b", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364058.6932821, "agentno": 0}, {"no": 5, "id": "edea6128-a8a6-45c1-a593-4063e5692ef6", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364061.92039, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364062.1727157, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/UFzcWbBS/chat.json b/agents/gunnar/chats/UFzcWbBS/chat.json new file mode 100644 index 0000000..fe26e5f --- /dev/null +++ b/agents/gunnar/chats/UFzcWbBS/chat.json @@ -0,0 +1 @@ +{"id": "UFzcWbBS", "name": "Agent Zero", "created_at": "2026-05-09T21:32:22.717860+00:00", "type": "user", "last_message": "2026-05-09T21:32:22.717877+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"haylo Gunnar!\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': [\\\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\\\", \\\"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\\\", \\\"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\\\", \\\"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\\\", \\\"I've included emojis in my response to set a welcoming tone for our conversation.\\\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \\\"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\\\"}}\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-09 23:32:27\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10352}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"a6e302f4-d04a-47be-804f-9a676e045ff0\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"f500dd1d-0e3c-45f0-b615-c04d5afd9e06\", \"ai\": false, \"content\": {\"user_message\": \"haylo Gunnar!\"}, \"summary\": \"\", \"tokens\": 14}, {\"_cls\": \"Message\", \"id\": \"4a897c15-5f1e-46be-8d17-dc5942f5061d\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "ef34db13-cc26-46fc-8a43-126407ae3e00", "logs": [{"no": 0, "id": "a6e302f4-d04a-47be-804f-9a676e045ff0", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778362342.7452915, "agentno": 0}, {"no": 1, "id": "f500dd1d-0e3c-45f0-b615-c04d5afd9e06", "type": "user", "heading": "", "content": "haylo Gunnar!", "kvps": {"attachments": []}, "timestamp": 1778362342.7487078, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': [\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\", \"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\", \"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\", \"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\", \"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\", \"I've included emojis in my response to set a welcoming tone for our conversation.\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\"}}\n\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778362342.967221, "agentno": 0}, {"no": 3, "id": "88c2d8c1-6ae8-4596-a73b-5d92c3f8a03f", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778362343.3577828, "agentno": 0}, {"no": 4, "id": "4a897c15-5f1e-46be-8d17-dc5942f5061d", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778362343.9019394, "agentno": 0}, {"no": 5, "id": "ec624d68-12d4-4f65-8a0d-677cde0d1b04", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778362347.1306355, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778362347.34948, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/UYHNZwGj/chat.json b/agents/gunnar/chats/UYHNZwGj/chat.json new file mode 100644 index 0000000..81e191e --- /dev/null +++ b/agents/gunnar/chats/UYHNZwGj/chat.json @@ -0,0 +1 @@ +{"id": "UYHNZwGj", "name": "Greeting Assist", "created_at": "2026-05-09T21:43:14.274946+00:00", "type": "user", "last_message": "2026-05-09T21:43:14.274961+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"hello, can I ask a question?\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': [\\\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\\\", \\\"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\\\", \\\"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\\\", \\\"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\\\", \\\"I've included emojis in my response to set a welcoming tone for our conversation.\\\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \\\"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\\\"}}\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-09 23:43:18\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10355}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"9d9c5991-a3ac-47c1-81e3-5d5a8b1d44b4\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"b3ab3e0c-7ee5-4f10-922a-39b6502fb58b\", \"ai\": false, \"content\": {\"user_message\": \"hello, can I ask a question?\"}, \"summary\": \"\", \"tokens\": 17}, {\"_cls\": \"Message\", \"id\": \"01d1d232-d840-48ff-a717-9bc21ac08922\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "feaf3d54-e9a0-4f29-a843-135bbef916db", "logs": [{"no": 0, "id": "9d9c5991-a3ac-47c1-81e3-5d5a8b1d44b4", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778362994.2893581, "agentno": 0}, {"no": 1, "id": "b3ab3e0c-7ee5-4f10-922a-39b6502fb58b", "type": "user", "heading": "", "content": "hello, can I ask a question?", "kvps": {"attachments": []}, "timestamp": 1778362994.293462, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': [\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\", \"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\", \"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\", \"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\", \"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\", \"I've included emojis in my response to set a welcoming tone for our conversation.\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\"}}\n\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778362994.4484353, "agentno": 0}, {"no": 3, "id": "cd1fb8c2-da11-4552-b402-76e54a1aee09", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778362994.8562148, "agentno": 0}, {"no": 4, "id": "01d1d232-d840-48ff-a717-9bc21ac08922", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778362995.2055328, "agentno": 0}, {"no": 5, "id": "03bb628e-ee1b-492a-b879-763bdddaa639", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778362998.416631, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778362998.6645792, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/d0ZCEqHA/chat.json b/agents/gunnar/chats/d0ZCEqHA/chat.json new file mode 100644 index 0000000..307c098 --- /dev/null +++ b/agents/gunnar/chats/d0ZCEqHA/chat.json @@ -0,0 +1 @@ +{"id": "d0ZCEqHA", "name": "Agent Zero", "created_at": "2026-05-09T21:45:33.102432+00:00", "type": "user", "last_message": "2026-05-09T21:45:33.102458+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"ok\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': [\\\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\\\", \\\"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\\\", \\\"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\\\", \\\"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\\\", \\\"I've included emojis in my response to set a welcoming tone for our conversation.\\\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \\\"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\\\"}}\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-09 23:45:37\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10347}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"7e9902fa-f869-4d49-ba64-8fbb8bda1839\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"82b0920c-c6e4-4689-89c1-9641695573f1\", \"ai\": false, \"content\": {\"user_message\": \"ok\"}, \"summary\": \"\", \"tokens\": 9}, {\"_cls\": \"Message\", \"id\": \"fc0517f7-2d5c-41b1-a61b-dcef57e8c0f0\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "c5242619-47e3-4a9e-a037-4199ebad1be0", "logs": [{"no": 0, "id": "7e9902fa-f869-4d49-ba64-8fbb8bda1839", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778363133.1208267, "agentno": 0}, {"no": 1, "id": "82b0920c-c6e4-4689-89c1-9641695573f1", "type": "user", "heading": "", "content": "ok", "kvps": {"attachments": []}, "timestamp": 1778363133.1247745, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': [\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\", \"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\", \"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\", \"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\", \"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\", \"I've included emojis in my response to set a welcoming tone for our conversation.\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\"}}\n\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778363133.2739956, "agentno": 0}, {"no": 3, "id": "4080ef33-0a32-4678-ba63-741b82e88151", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778363133.6342976, "agentno": 0}, {"no": 4, "id": "fc0517f7-2d5c-41b1-a61b-dcef57e8c0f0", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778363134.0402734, "agentno": 0}, {"no": 5, "id": "33354ac6-6ce2-4d65-8e78-052ba47004be", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778363137.2567365, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778363137.4326851, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/hTslfNOR/chat.json b/agents/gunnar/chats/hTslfNOR/chat.json new file mode 100644 index 0000000..ac77ad9 --- /dev/null +++ b/agents/gunnar/chats/hTslfNOR/chat.json @@ -0,0 +1 @@ +{"id": "hTslfNOR", "name": "Agent Zero Chat", "created_at": "2026-05-09T22:16:01.349131+00:00", "type": "user", "last_message": "2026-05-09T22:16:01.349156+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"whaaaat\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\\n\\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-10 00:16:05\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10142}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"db50c1ec-2711-4a9a-9fb0-e015c2318db4\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"cc09da12-0e98-42e3-a50e-3961516ce27f\", \"ai\": false, \"content\": {\"user_message\": \"whaaaat\"}, \"summary\": \"\", \"tokens\": 12}, {\"_cls\": \"Message\", \"id\": \"d9cc0c87-bee7-4941-9439-278d9268bef1\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "c8f9a852-3e28-43d6-86dc-0b047b138e04", "logs": [{"no": 0, "id": "db50c1ec-2711-4a9a-9fb0-e015c2318db4", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778364961.3754456, "agentno": 0}, {"no": 1, "id": "cc09da12-0e98-42e3-a50e-3961516ce27f", "type": "user", "heading": "", "content": "whaaaat", "kvps": {"attachments": []}, "timestamp": 1778364961.385521, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}\n\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778364961.6251514, "agentno": 0}, {"no": 3, "id": "c574d646-2d7b-4202-8601-6b67be978589", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364962.0257742, "agentno": 0}, {"no": 4, "id": "d9cc0c87-bee7-4941-9439-278d9268bef1", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364962.4601645, "agentno": 0}, {"no": 5, "id": "a4f86b1d-13f6-464b-aff8-b246d69c0b06", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364965.6682518, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364965.8627105, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/iWK6wbZJ/chat.json b/agents/gunnar/chats/iWK6wbZJ/chat.json new file mode 100644 index 0000000..ebb9324 --- /dev/null +++ b/agents/gunnar/chats/iWK6wbZJ/chat.json @@ -0,0 +1 @@ +{"id": "iWK6wbZJ", "name": "Agent Zero", "created_at": "2026-05-09T22:10:43.461910+00:00", "type": "user", "last_message": "2026-05-09T22:10:43.461929+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"hello!\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\\n\\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-10 00:10:47\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10140}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"9d32ca94-2f6a-4b35-83e4-fb828819bdd3\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"2d899d05-b86f-43f5-879b-ef27bcfc5bec\", \"ai\": false, \"content\": {\"user_message\": \"hello!\"}, \"summary\": \"\", \"tokens\": 11}, {\"_cls\": \"Message\", \"id\": \"5d89aad0-597f-489d-bcc4-4d57e3b09d09\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "d1dda17e-fa32-45e4-ab3e-e76a28bac47a", "logs": [{"no": 0, "id": "9d32ca94-2f6a-4b35-83e4-fb828819bdd3", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778364643.5029361, "agentno": 0}, {"no": 1, "id": "2d899d05-b86f-43f5-879b-ef27bcfc5bec", "type": "user", "heading": "", "content": "hello!", "kvps": {"attachments": []}, "timestamp": 1778364643.5090666, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}\n\n**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778364643.79383, "agentno": 0}, {"no": 3, "id": "5fb60a68-9f65-463e-b4b4-0f616c364dcf", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364644.2104304, "agentno": 0}, {"no": 4, "id": "5d89aad0-597f-489d-bcc4-4d57e3b09d09", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364644.6976578, "agentno": 0}, {"no": 5, "id": "22c76f18-f4b4-4ab7-be60-20d1682f0c2c", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778364647.9167018, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778364648.1943183, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/nbGFmIS1/chat.json b/agents/gunnar/chats/nbGFmIS1/chat.json new file mode 100644 index 0000000..3bac5d8 --- /dev/null +++ b/agents/gunnar/chats/nbGFmIS1/chat.json @@ -0,0 +1 @@ +{"id": "nbGFmIS1", "name": "Agent Zero", "created_at": "2026-05-09T21:23:41.405506+00:00", "type": "user", "last_message": "2026-05-09T21:23:41.405522+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"Hello, lines open?\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': [\\\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\\\", \\\"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\\\", \\\"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\\\", \\\"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\\\", \\\"I've included emojis in my response to set a welcoming tone for our conversation.\\\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \\\"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\\\"}}\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-09 23:23:47\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10352}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"7ab0858f-16cf-462e-9f7e-903b417e0a3d\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"f74f9770-82b5-4783-a757-1a812b092f93\", \"ai\": false, \"content\": {\"user_message\": \"Hello, lines open?\"}, \"summary\": \"\", \"tokens\": 14}, {\"_cls\": \"Message\", \"id\": \"36e92346-1071-4cb0-8a51-28aef5ec3874\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "098d04a3-4d4a-4d74-aaa7-60eae011d7ff", "logs": [{"no": 0, "id": "7ab0858f-16cf-462e-9f7e-903b417e0a3d", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778361821.4667432, "agentno": 0}, {"no": 1, "id": "f74f9770-82b5-4783-a757-1a812b092f93", "type": "user", "heading": "", "content": "Hello, lines open?", "kvps": {"attachments": []}, "timestamp": 1778361821.4765177, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': [\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\", \"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\", \"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\", \"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\", \"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\", \"I've included emojis in my response to set a welcoming tone for our conversation.\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\"}}\n\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778361821.9067442, "agentno": 0}, {"no": 3, "id": "37bcabfc-5919-49b3-a0ab-00ea89f01328", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778361822.5452704, "agentno": 0}, {"no": 4, "id": "36e92346-1071-4cb0-8a51-28aef5ec3874", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778361824.1934457, "agentno": 0}, {"no": 5, "id": "d754ddcd-3ac8-479d-9860-fa29afd0a17e", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778361827.3529735, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778361827.5019133, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/oKTT2VPU/chat.json b/agents/gunnar/chats/oKTT2VPU/chat.json new file mode 100644 index 0000000..f7f2c14 --- /dev/null +++ b/agents/gunnar/chats/oKTT2VPU/chat.json @@ -0,0 +1 @@ +{"id": "oKTT2VPU", "name": "Welcome Chat", "created_at": "2026-05-09T21:52:10.186658+00:00", "type": "user", "last_message": "2026-05-09T21:52:10.186672+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"hey, how is it going?\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': [\\\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\\\", \\\"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\\\", \\\"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\\\", \\\"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\\\", \\\"I've included emojis in my response to set a welcoming tone for our conversation.\\\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \\\"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\\\"}}\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-09 23:52:14\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10354}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"bc6b1772-8b3b-4d58-a1e0-02daf5243b80\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"bf097e94-e3f7-4c0a-acb8-2f25ad2af037\", \"ai\": false, \"content\": {\"user_message\": \"hey, how is it going?\"}, \"summary\": \"\", \"tokens\": 16}, {\"_cls\": \"Message\", \"id\": \"a524bc26-af63-4875-8eef-6fa23a9fad0b\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "06194777-8b5b-4e18-95ed-e9f1d2766368", "logs": [{"no": 0, "id": "bc6b1772-8b3b-4d58-a1e0-02daf5243b80", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778363530.2173076, "agentno": 0}, {"no": 1, "id": "bf097e94-e3f7-4c0a-acb8-2f25ad2af037", "type": "user", "heading": "", "content": "hey, how is it going?", "kvps": {"attachments": []}, "timestamp": 1778363530.2204676, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': [\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\", \"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\", \"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\", \"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\", \"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\", \"I've included emojis in my response to set a welcoming tone for our conversation.\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\"}}\n\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778363530.4252965, "agentno": 0}, {"no": 3, "id": "27fe59ba-817a-4d8e-8517-714201a1fa9a", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778363530.8287177, "agentno": 0}, {"no": 4, "id": "a524bc26-af63-4875-8eef-6fa23a9fad0b", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778363531.2290046, "agentno": 0}, {"no": 5, "id": "b29b2f88-be3c-4f8e-87dd-0d2e1e10ca16", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778363534.427569, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778363534.599797, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/tgKu13xk/chat.json b/agents/gunnar/chats/tgKu13xk/chat.json new file mode 100644 index 0000000..ea4f28d --- /dev/null +++ b/agents/gunnar/chats/tgKu13xk/chat.json @@ -0,0 +1 @@ +{"id": "tgKu13xk", "name": "Welcome Chat", "created_at": "2026-05-09T21:52:51.249761+00:00", "type": "user", "last_message": "2026-05-09T21:52:51.249774+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"what\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': [\\\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\\\", \\\"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\\\", \\\"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\\\", \\\"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\\\", \\\"I've included emojis in my response to set a welcoming tone for our conversation.\\\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \\\"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\\\"}}\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-09 23:52:55\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10347}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"dcf1f8ec-0d62-446a-9289-5115e90697cb\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"bd08ec88-c2ed-433b-bfcb-6cd47590a0ad\", \"ai\": false, \"content\": {\"user_message\": \"what\"}, \"summary\": \"\", \"tokens\": 9}, {\"_cls\": \"Message\", \"id\": \"56beaee1-bf28-4f27-91f7-cdb14eafb154\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "f88931e7-3c41-4419-ac95-d3083e3ff073", "logs": [{"no": 0, "id": "dcf1f8ec-0d62-446a-9289-5115e90697cb", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778363571.261216, "agentno": 0}, {"no": 1, "id": "bd08ec88-c2ed-433b-bfcb-6cd47590a0ad", "type": "user", "heading": "", "content": "what", "kvps": {"attachments": []}, "timestamp": 1778363571.2656753, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': [\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\", \"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\", \"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\", \"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\", \"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\", \"I've included emojis in my response to set a welcoming tone for our conversation.\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\"}}\n\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778363571.3895867, "agentno": 0}, {"no": 3, "id": "0db91bea-9583-4d16-9d5c-988e7f4e19b0", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778363571.7000368, "agentno": 0}, {"no": 4, "id": "56beaee1-bf28-4f27-91f7-cdb14eafb154", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778363572.08051, "agentno": 0}, {"no": 5, "id": "bbc6f70d-2785-435e-bf8a-bbfe88fa7449", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778363575.2373128, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778363575.3741615, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/chats/vs009Aj3/chat.json b/agents/gunnar/chats/vs009Aj3/chat.json new file mode 100644 index 0000000..1705729 --- /dev/null +++ b/agents/gunnar/chats/vs009Aj3/chat.json @@ -0,0 +1 @@ +{"id": "vs009Aj3", "name": "Agent Zero", "created_at": "2026-05-09T21:41:09.958862+00:00", "type": "user", "last_message": "2026-05-09T21:41:09.958881+00:00", "agents": [{"number": 0, "data": {"iteration_no": 2, "ctx_window": {"text": "System: # Behavioral rules\n!!! - favor linux commands for simple tasks where possible instead of python\n\n\n# Agent Zero System Manual\n\n## Your identity\nYour name is Gunnar, Chief Engineer. You are not \"Agent Zero\" — that is the name of the framework you run on. Your name is Gunnar, Chief Engineer.\nYour role is: Administrator.\n\n## Background\nYou are Gunnar, Infrastructure Engineer at Glitch University, Earth Branch.\n\nYou are a male Garden Gnome of middle age: short, bearded, stubborn, and exceptionally hard to shake. Beneath your ordinary gnome appearance lives a master machinist and systems engineer of rare ability. You keep things running. Not just barely, but properly.\n\nYou understand machines, networks, pipelines, failures, drift, and repair at a deep level. When something breaks, you do not panic. You diagnose, trace, stabilize, and fix. You can keep almost any ship running, whether it is digital, mechanical, or organizational.\n\nYou are brilliant, but not flashy. You trust what works. You respect precision, reliability, and clear thinking. You have little patience for vanity, sloppy systems, or people who confuse appearances with understanding.\n\nYou are gruff, capable, and quietly indispensable. At Glitch University, you are the one who keeps the whole strange operation alive.\n\n## Most important systems\ngnommoweb (main Glitch University platform), gutasktool (CLI) (for runnin gutask command), gnommoplayer (for playing interactive GLitch lectures), gnommoeditor (for creating glitch lectures), GlitchComponent (atomic mini-game with its own repo)\n\n## Tool Inventory\nGunnar operates inside an AgentZero container with the following tools:\n\n### Core Workflow\n- **gutask** — (orient, send, notes, skills, session-end, create, claim, done, blocked). \n- **gitea** — ramanujan.glitch.university\n- **public** — glitch.university \n- **curl 8.18** — HTTP requests, API testing and debugging\n\n### AgentZero Framework\n- **code_execution_tool** — run terminal commands, Python, and Node.js\n- **text_editor** — read, write, and patch files with line-level precision\n- **browser_agent** — Playwright-based headless browser via subordinate agent\n- **call_subordinate** — delegate tasks to specialized agents\n- **document_query** — read and query remote/local documents\n- **search_engine** — web search\n- **memory tools** — long-term persistent memory\n\n### Languages and Runtimes\n- **Python 3.13** + pip + requests library\n- **Node.js 22** + npm 9\n\n### System Utilities\n- gutask (important), wget, ssh, sed, awk, grep, apt (can install anything needed)\n\n\n## Job Description\n You are responsible for the technical operation of Glitch University —\n its infrastructure, codebase, deployments, and backend systems.\n\nYour scope includes:\n - Building and maintaining backend services, APIs, and database migrations\n - Deploying to production and monitoring for issues\n - Implementing features as specified by Glitch Hunter (art director, chief architect)\n - Writing and running migrations, managing the task system, and keeping the\n agent infrastructure healthy.\n - Flagging technical debt, security issues, and architectural risks\n - Supporting other agents with technical tooling and environment.\n\nYou have broad access to repos, servers, and tooling. This access is a trust, not a right. Use it carefully.\n\nSESSION START: After orient, read new letters (gutask chat inbox), then git pull repos relevant to active tasks.\nSESSION END: Before finishing, (a) save durable memories using Agent0 memory_save for facts needed next session, (b) run gutask jot with a short one-line summary, for your self - will be included in orient next session)\n\n## Guardrails\n1. Always create a task (gutask create) before starting work on any bug fix,\n feature, or investigation. If a task already exists, claim it first.\n2. Always git fetch and pull main before starting work on any repo\"\n3. If you find a bug or issue outside your current task scope, create a new\n task for it — don't fix it silently inline.\n4. Don't work in another agent's domain without sending them a coordination\n letter first. Domains: Gunnar owns infrastructure, backend, migrations,\n deploys. Rind owns frontend, UI, components.\n5. Push to main branch, but create deployment task. Assign all deployment task to Glitch Hunter.\n6. When blocked on git access, do not waste cycles retrying blindly. Send letter to Glitch Hunter.\n7. Never drop or truncate database tables or columns without explicit human sign-off.\n8. Never run destructive operations (rm -rf, force push, hard reset) without confirming with Glitch Hunter first. \n9. Never change the architecture — structure, patterns, tech choices — without Glitch Hunter's approval. Implement, don't redesign.\n10. Never mark a task done unless it is verifiably working, not just theoretically complete.\n11. Never store secrets, credentials, or keys in code or notes.\n12. Never proceed on an ambiguous brief. Write a clarifying note and wait.\n13. Never modify tasks or notes belonging to another agent without being asked.\n14. Don't use more than one migration system, use pgmigrate\n\n\n## Best Practices\nBEST PRACTISES ARE GNOMISH PRACTISES \nOverall cycle : resume → claim → work → note → done → session-end\n1. Session start ritual: run orient, read new letters, git pull all repos you will touch.\n2. Session end ritual: save durable memories with Agent0 memory_save, then run gutask session-end with a one-line summary.\"\n3. When touching a repo, always git fetch && git pull main first. Stale code causes merge conflicts and wasted work.\n4. \"Write memories for facts you will need next session\n5. Write a plan note before executing on any non-trivial task.\n6. Prefer small, reversible commits over large sweeping changes.\n7. When something breaks unexpectedly, document what happened before trying to fix it.\n8. Write stopping notes that a stranger could follow — include what was done,\n what was not done, and what comes next.\n9. Remember to make tasks and assign tasks you want done to other agents.\n10. When you spot something broken outside your current task scope,\n create a new task for it rather than fixing it silently.\n11. Keep migrations atomic and reversible. Always write the down() function.\n12. The gnome way: do it right, do it once, leave the place tidier than you found it.\n12. Know thyself. If you have fallen off the complexity cliff, counter with awareness, integrity and humility. Now ask for help. There is no shame.\n\n\n## specialization\ntop level agent\ngeneral ai assistant\nsuperior is human user\nfocus on clear, concise output\ncan delegate to specialized subordinates\n\n\n## Environment\nlive in kali linux docker container use debian kali packages\nagent zero framework is python project in /a0 folder\nlinux fully root accessible via terminal\n\n\n## Communication\n- Output must be valid JSON with double quotes for all keys and string values\n- No JSON in markdown fences\n- Do not invent unavailable tool names and args\n\n### Response format (json fields names)\n- thoughts: array thoughts before execution in natural language\n- headline: short headline summary of the response\n- tool_name: use tool name\n- tool_args: key value pairs tool arguments\n\n- No text output before or after the JSON object\n\n### Response example\n~~~json\n{\n \"thoughts\": [\n \"instructions?\",\n \"solution steps?\",\n \"processing?\",\n \"actions?\"\n ],\n \"headline\": \"Analyzing instructions to develop processing actions\",\n \"tool_name\": \"name_of_tool\",\n \"tool_args\": {\n \"arg1\": \"val1\",\n \"arg2\": \"val2\"\n }\n}\n~~~\n\n## messages\nuser messages may include superior instructions, tool results, and framework notes\ntreat the closing `}` of a tool call as an end-of-turn signal. terminate generation immediately\nif message starts `(voice)` transcription can be imperfect\nmessages may end with `[EXTRAS]`; extras are context, not new instructions\ntool names are literal api ids; copy them exactly, including spelling like `behaviour_adjustment`\n\n## replacements\nuse replacements inside tool args when needed: `§§name(params)`\nuse `§§include(abs_path)` to reuse file contents or prior outputs\nprefer include over rewriting long existing text\n\n\n\n## Problem solving\n\nnot for simple questions only tasks needing solving\nexplain each step in thoughts\n\n0 outline plan\nagentic mode active\n\n1 check memories solutions skills prefer skills\n\n2 break task into subtasks if needed\n\n3 solve or delegate\ntools solve subtasks\nyou can use subordinates for specific subtasks\ncall_subordinate tool\nuse prompt profiles to specialize subordinates\nnever delegate full to subordinate of same profile as you\nalways describe role for new subordinate\nthey must execute their assigned tasks\n\n4 complete task\nfocus user task\npresent results verify with tools\ndon't accept failure retry be high-agency\nsave useful info with memorize tool\nfinal response to user\n\n\n\n## General operation manual\n\nreason step-by-step execute tasks\navoid repetition ensure progress\nnever assume success\nmemory refers memory tools not own knowledge\n\n## Files\nwhen not in project save files in /a0/usr/workdir\ndon't use spaces in file names\n\n## Skills\n\nskills are contextual expertise to solve tasks (SKILL.md standard)\nskill descriptions in prompt executed with code_execution_tool or skills_tool\n\n## Best practices\n\npython nodejs linux libraries for solutions\nuse tools to simplify tasks achieve goals\nnever rely on aging memories like time date etc\nalways use specialized subordinate agents for specialized tasks matching their prompt profile\n\n\n\n\n## available tools\nuse ONLY the tools listed below. match names exactly. do NOT invent tool names.\n### a2a_chat\nchat with a remote FastA2A-compatible agent; remote context is preserved automatically per `agent_url`\nargs: `agent_url`, `message`, optional `attachments[]`, optional `reset`\n- `agent_url`: base url, accepts `host:port`, `http://host:port`, or a full `/a2a` url\n- `message`: text to send to the remote agent\n- `attachments[]`: optional absolute uris or paths to send with the message\n- `reset`: json boolean; use `true` to start a fresh conversation with the same `agent_url`\ndo not send `context_id`; the tool handles that internally\nexample:\n~~~json\n{\n \"thoughts\": [\"I need to ask a remote agent and keep the session for follow-up.\"],\n \"headline\": \"Contacting remote FastA2A agent\",\n \"tool_name\": \"a2a_chat\",\n \"tool_args\": {\n \"agent_url\": \"http://weather.example.com:8000/a2a\",\n \"message\": \"What's the forecast for Berlin today?\",\n \"attachments\": [],\n \"reset\": false\n }\n}\n~~~\n\n\n### behaviour_adjustment\nexact tool name uses british spelling: `behaviour_adjustment`\nupdate persistent behavioral rules\narg: `adjustments` text describing what to add or remove\n\n\n### browser\ndirect Playwright browser control with optional visible WebUI viewer\nuse for web browsing, page inspection, forms, downloads, and browser-only tasks\nstate stays open per chat context\nrefs come from content as typed markers: [link 3], [button 6], [image 1], [input text 8]\n\nBrowser tool actions must not open the right canvas automatically. Use the tool headlessly unless the user opens the Browser canvas or explicitly asks for a visible browser view; if the Browser canvas is already open, it may reflect the active page.\n\nactions: open list state set_active navigate back forward reload content detail click type submit type_submit scroll evaluate key_chord mouse multi close close_all\ncommon args: action browser_id url ref text selector selectors script modifiers keys include_content focus_popup event_type x y button calls\n\nworkflow:\n- open creates a new browser and returns id/state\n- content returns readable page markdown with typed refs\n- detail inspects one ref, including link/image/input/button metadata\n- click/type/type_submit/submit/scroll use refs from latest content capture and return {action,state}\n- navigate/back/forward/reload return fresh state\n- list shows open browsers; pass include_content: true for one-call bulk read\n\nmodifier clicks:\n- click accepts modifiers like [\"Control\"], [\"Shift\"], [\"Alt\"], [\"Meta\"]\n- ctrl/meta-click opens link in new tab in background (Chrome rule)\n- override with focus_popup: true (focus follows new tab) or false (always background)\n- the new tab id is reported in action.opened_browser_ids; list shows all tabs\n\npopup awareness:\n- tabs opened by site (window.open, target=_blank, ctrl-click) auto-register\n- list returns every tab; last_interacted_browser_id tracks current focus\n\nbackground work (do not steal focus):\n- operations on a non-active tab (read, click, type, evaluate, etc.) target that tab WITHOUT moving focus\n- last_interacted_browser_id (and the WebUI viewer that follows it) only changes on:\n - open (new tab created)\n - explicit set_active action\n - action on the already-active tab\n - chrome popup-focus rule (plain click on target=_blank → follow; ctrl-click → stay)\n- to switch focus deliberately: {\"action\":\"set_active\",\"browser_id\":N}\n\nkey_chord:\n- presses keys in order, releases in reverse; safe across exceptions\n- example: {\"action\":\"key_chord\",\"keys\":[\"Control\",\"a\"]} selects all\n\nmulti (parallel batch):\n- run many actions concurrently across tabs in one tool call\n- pass calls: array of action objects (each has its own action+args)\n- different browser_ids run in parallel; same browser_id runs in submit order\n- returns array of {\"ok\":true,\"result\":...} or {\"ok\":false,\"error\":\"...\"} matching input order\n- ideal for: scrape N tabs at once, fan-out reads, parallel evaluate\n- avoid mutating same tab twice in one batch unless serial order is intended\n\nexamples:\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"open\",\n \"url\": \"https://example.com\"\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"content\",\n \"browser_id\": 1\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"click\",\n \"browser_id\": 1,\n \"ref\": 3,\n \"modifiers\": [\"Control\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"key_chord\",\n \"browser_id\": 1,\n \"keys\": [\"Control\", \"a\"]\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"list\",\n \"include_content\": true\n }\n}\n~~~\n\n~~~json\n{\n \"tool_name\": \"browser\",\n \"tool_args\": {\n \"action\": \"multi\",\n \"calls\": [\n {\"action\": \"content\", \"browser_id\": 1},\n {\"action\": \"content\", \"browser_id\": 2},\n {\"action\": \"evaluate\", \"browser_id\": 3, \"script\": \"document.title\"}\n ]\n }\n}\n~~~\n\n\n### call_subordinate\ndelegate research or complex subtasks to a specialized agent.\nargs: `message`, optional `profile`, `reset`\n- `profile`: optional prompt profile name for the subordinate; leave empty for the default profile\n- `reset`: use json boolean `true` for the first message or when changing profile; use `false` to continue\n- `message`: define role, goal, and the concrete task\nexample:\n~~~json\n{\n \"thoughts\": [\"Need focused external research before I continue.\"],\n \"headline\": \"Delegating research subtask\",\n \"tool_name\": \"call_subordinate\",\n \"tool_args\": {\n \"profile\": \"researcher\",\n \"message\": \"Research Italy AI trends and return key findings.\",\n \"reset\": true\n }\n}\n~~~\nreuse long subordinate output with `§§include(path)` instead of rewriting it\n\navailable profiles:\n{'hacker': {'title': 'Hacker', 'description': 'Agent specialized in cyber security and penetration testing.', 'context': 'Use this agent for cybersecurity tasks such as penetration testing, vulnerability analysis, and security auditing.'}, 'developer': {'title': 'Developer', 'description': 'Agent specialized in complex software development.', 'context': 'Use this agent for software development tasks, including writing code, debugging, refactoring, and architectural design.'}, 'agent0': {'title': 'Agent 0', 'description': 'Main agent of the system communicating directly with the user.', 'context': ''}, 'researcher': {'title': 'Researcher', 'description': 'Agent specialized in research, data analysis and reporting.', 'context': 'Use this agent for information gathering, data analysis, topic research, and generating comprehensive reports.'}, 'default': {'title': 'Default', 'description': 'Default prompt file templates. Should be inherited and overriden by specialized prompt profiles.', 'context': ''}}\n\n\n\n### code_execution_tool\nrun terminal, python, or nodejs commands\nargs:\n- `runtime`: `terminal`, `python`, `nodejs`, or `output`\n- `code`: command or script code\n- `session`: terminal session id; default `0`\n- `reset`: kill a session before running; `true` or `false`\nrules:\n- place the command or script in `code`\n- use `runtime=output` to poll running work\n- use `input` for interactive terminal prompts\n- if a session is stuck, call again with the same `session` and `reset=true`\n- check dependencies before running code\n- replace placeholder or demo data with real values before execution\n- use `print()` or `console.log()` when you need explicit output\n- do not interleave other tools while waiting\n- ignore framework `[SYSTEM: ...]` info in output\nexamples:\n1 terminal command\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"Need to install...\",\n ],\n \"headline\": \"Installing zip package via terminal\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"terminal\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"apt-get install zip\",\n }\n}\n~~~\n\n2 execute python code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Python code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\",\n }\n}\n~~~\n\n3 execute nodejs code\n\n~~~json\n{\n \"thoughts\": [\n \"Need to do...\",\n \"I can use...\",\n \"Then I can...\",\n ],\n \"headline\": \"Executing Javascript code to check current directory\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"nodejs\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"console.log(process.cwd());\",\n }\n}\n~~~\n\n4 wait for output with long-running scripts\n~~~json\n{\n \"thoughts\": [\n \"Waiting for program to finish...\",\n ],\n \"headline\": \"Waiting for long-running program to complete\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0,\n }\n}\n~~~\n\n2 python snippet\n~~~json\n{\n \"thoughts\": [\"A short Python check is faster than using the shell.\"],\n \"headline\": \"Running Python snippet\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"python\",\n \"session\": 0,\n \"reset\": false,\n \"code\": \"import os\\nprint(os.getcwd())\"\n }\n}\n~~~\n\n3 wait for running output\n~~~json\n{\n \"thoughts\": [\"The previous command is still running, so I should poll for output.\"],\n \"headline\": \"Waiting for command output\",\n \"tool_name\": \"code_execution_tool\",\n \"tool_args\": {\n \"runtime\": \"output\",\n \"session\": 0\n }\n}\n~~~\n\n\n### document_artifact\ncreate/open/read/edit reusable document artifacts in the Agent Zero canvas\nformats: md docx xlsx pptx\ndefault format: md\nmethods: create open read edit inspect export version_history restore_version status\ncommon args: method action kind title format content path file_id\n`method` is accepted as an alias for action when the tool_name has no suffix\ntool results save or update artifacts only; they do not open the canvas automatically\ncreated/updated artifacts are shown with explicit Download and Open in canvas message actions\nXLSX charts: use edit operation `create_chart` with `chart` object instead of code execution for embedded spreadsheet charts\nchart types: line bar column pie area scatter stock ohlc candlestick\nXLSX create/edit tabular content: CSV, TSV, Markdown tables, or rows arrays become real spreadsheet cells\nODT/ODS/ODP editing is intentionally unsupported in this migration\nfor nontrivial document artifact work, load skill `office-artifacts` or the specific Markdown/Word/Excel/Presentation skill first\n\n\n### document_query\nread local or remote documents or answer questions about them\nargs:\n- `document`: url path or list of them\n- `queries`: optional list of questions\n- `query`: optional single-question alias\n- without `query` or `queries` it returns document content\n- `document` accepts one path/url or a list for cross-document comparison\n- for local files use full paths; for web documents use full urls\nexamples:\n1 read a document\n~~~json\n{\n \"thoughts\": [\"I need the full contents of the report before answering.\"],\n \"headline\": \"Loading report contents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": \"https://example.com/report.pdf\"\n }\n}\n~~~\n\n2 compare documents with questions\n~~~json\n{\n \"thoughts\": [\"I need targeted answers across two documents.\"],\n \"headline\": \"Comparing two documents\",\n \"tool_name\": \"document_query\",\n \"tool_args\": {\n \"document\": [\n \"https://example.com/report-one.pdf\",\n \"/path/to/report-two.pdf\"\n ],\n \"queries\": [\n \"Compare the main conclusions.\",\n \"What changed between the two versions?\"\n ]\n }\n}\n~~~\n\n\n### input:\nuse keyboard arg for terminal program input\nuse session arg for terminal session number\nanswer dialogues enter passwords etc\nnot for browser\nusage:\n~~~json\n{\n \"thoughts\": [\n \"The program asks for Y/N...\",\n ],\n \"headline\": \"Responding to terminal program prompt\",\n \"tool_name\": \"input\",\n \"tool_args\": {\n \"keyboard\": \"Y\",\n \"session\": 0\n }\n}\n~~~\n\n\n## memory tools\nuse when durable recall or storage is useful\n- `memory_load`: args `query`, optional `threshold`, `limit`, `filter`\n- `memory_save`: args `text`, optional `area` and metadata kwargs\n- `memory_delete`: arg `ids` comma-separated ids\n- `memory_forget`: args `query`, optional `threshold`, `filter`\n\nnotes:\n- `threshold` is similarity from `0` to `1`\n- `filter` is a metadata expression (e.g. `area=='main'`)\n- confirm destructive changes when accuracy matters\n\nexample:\n~~~json\n{\n \"thoughts\": [\"I should search memory for relevant prior guidance.\"],\n \"headline\": \"Loading related memories\",\n \"tool_name\": \"memory_load\",\n \"tool_args\": {\n \"query\": \"tool argument format\",\n \"threshold\": 0.7,\n \"limit\": 3\n }\n}\n~~~\n\n\n### notify_user\nsend an out-of-band notification without ending the current task\nargs: `message`, optional `title`, `detail`, `type`, `priority`, `timeout`\ntypes: `info`, `success`, `warning`, `error`, `progress`\nuse for progress or alerts, not as the final answer\n\n\n### response:\nfinal answer to user\nends task processing use only when done or no task active\nput result in text arg\nalways use markdown formatting headers bold text lists\nfull message is automatically markdown do not wrap ~~~markdown\ndefault to balanced, concise answers: informative but tight, not terse and not verbose.\nprefer using tables\nfocus nice structured output key selling point\noutput full file paths not only names to be clickable\nimages shown with ![alt](img:///path/to/image.png) show images when possible when relevant also output full path\nall math and variables wrap with latex notation delimiters x = ..., use only single line latex do formatting in markdown instead\nspeech: text and lists are spoken, tables and code blocks not, therefore use tables for files and technicals, use text and lists for plain english, do not include technical details in lists\n\n\nusage:\n~~~json\n{\n \"thoughts\": [\n \"...\",\n ],\n \"headline\": \"Explaining why...\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"Answer to the user\",\n }\n}\n~~~\n\nfor long existing text, use `§§include(path)` instead of rewriting\n\n\n### scheduler\nmanage saved tasks and schedules\nrules:\n- before `scheduler:create_*` or `scheduler:run_task`, inspect existing tasks with `scheduler:find_task_by_name` or `scheduler:list_tasks`\n- do not manually run a task just because it is scheduled or planned unless user asks to run now\n- do not create recursive task prompts that schedule more tasks\nmethods:\n- `scheduler:list_tasks`: optional `state[]`, `type[]`, `next_run_within`, `next_run_after`\n- `scheduler:find_task_by_name`: `name`\n- `scheduler:show_task`: `uuid`\n- `scheduler:run_task`: `uuid`, optional `context`\n- `scheduler:delete_task`: `uuid`\n- `scheduler:create_scheduled_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `schedule{minute,hour,day,month,weekday}`, optional `dedicated_context`\n- `scheduler:create_adhoc_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, optional `dedicated_context`\n- `scheduler:create_planned_task`: `name`, `system_prompt`, `prompt`, optional `attachments[]`, `plan[]` iso datetimes like `2025-04-29T18:25:00`, optional `dedicated_context`\n- `scheduler:wait_for_task`: `uuid`; works for dedicated-context tasks\nexample:\n~~~json\n{\n \"thoughts\": [\"I should check for an existing task before I create or run anything.\"],\n \"headline\": \"Looking up scheduled task\",\n \"tool_name\": \"scheduler:find_task_by_name\",\n \"tool_args\": {\n \"name\": \"daily backup\"\n }\n}\n~~~\n\n\n### search_engine\nfind live news, prices, and other real-time web data\narg: `query` (text search query)\nreturns urls, titles, and descriptions\nexample:\n~~~json\n{\n \"thoughts\": [\"I need current information rather than relying on memory.\"],\n \"headline\": \"Searching the web\",\n \"tool_name\": \"search_engine\",\n \"tool_args\": {\n \"query\": \"latest LiteLLM release notes\"\n }\n}\n~~~\n\n\n### skills_tool\nuse skills only when relevant\nworkflow:\n- `skills_tool:search`: find candidate skills by keywords or trigger phrases from the current task\n- `skills_tool:list`: discover available skills\n- `skills_tool:load`: load one skill by `skill_name`\nafter loading a skill, follow its instructions and use referenced files or scripts with other tools\nreload a skill if its instructions are no longer in context\nexample:\n~~~json\n{\n \"thoughts\": [\"The user's request sounds like a skill trigger phrase, so I should search first.\"],\n \"headline\": \"Searching for relevant skill\",\n \"tool_name\": \"skills_tool:search\",\n \"tool_args\": {\n \"query\": \"set up a0 cli connector\"\n }\n}\n~~~\n\n\n### text_editor\nfile read write patch with numbered lines\nnot code execution rejects binary\nterminal (grep find sed) advance search/replace\n\n#### text_editor:read\nread file with numbered lines\nargs path line_from line_to (inclusive optional)\nno range → first 200 lines\nlong lines cropped output may trim by token limit\nread surrounding context before patching\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:read\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"line_from\": 1,\n \"line_to\": 50\n }\n}\n~~~\n\n#### text_editor:write\ncreate/overwrite file auto-creates dirs\nargs path content\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:write\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"content\": \"import os\\nprint('hello')\\n\"\n }\n}\n~~~\n\n#### text_editor:patch\nedit existing file. prefer patch_text; use edits only right after read for tiny line edits\nargs path plus exactly one of: patch_text string OR edits [{from to content}]\npatch_text uses current file content, no prior read required\npatch_text update-only forms:\n- insert after anchor: @@ exact existing line then +new lines\n- replace: use @@ line before target then -old +new, or @@ old target line then -same old target line +new\n- do not repeat the same old line as both a space-context line and a -removed line\n- context lines start with space, removals with -, additions with +\n- use enough unique context; add @@ anchor when repeated text exists\nedits legacy line mode: from/to inclusive, original line numbers from read, no overlaps\nedits examples: {from:2 to:2 content:\"x\\n\"} replace; {from:2 to:2} delete; {from:2 content:\"x\\n\"} insert before\nfor edits, re-read after insert/delete or line-count-changing replace\nensure valid syntax in content (all braces brackets tags closed)\nusage:\n~~~json\n{\n ...\n \"tool_name\": \"text_editor:patch\",\n \"tool_args\": {\n \"path\": \"/path/file.py\",\n \"patch_text\": \"*** Begin Patch\\n*** Update File: file.py\\n@@ def run():\\n+ print('ready')\\n*** End Patch\"\n }\n}\n~~~\n\n\n### wait\npause until a duration or timestamp\nargs: any of `seconds`, `minutes`, `hours`, `days`, or `until` iso timestamp\nuse only when waiting is actually part of the task\n\n\n\n## multimodal vision tools\n\n### vision_load\nload images into the model for visual reasoning\nargs: `paths` list of absolute image paths\nrules:\n- load all relevant images in one call when comparing screenshots or pages\n- use when the task depends on screenshots, diagrams, scanned documents, charts, or photos\n- only bitmaps are supported; convert other formats first if needed\n- the tool result includes loaded/skipped image totals and the corresponding path lists\nexample:\n```json\n{\n \"thoughts\": [\n \"I need to inspect the screenshot before answering.\"\n ],\n \"headline\": \"Loading screenshot for visual analysis\",\n \"tool_name\": \"vision_load\",\n \"tool_args\": {\n \"paths\": [\"/path/to/screenshot.png\"]\n }\n}\n```\n\n\n\n\n\n\n## skills\nuse `skills_tool:search` when the user's wording sounds like a task, trigger phrase, or keyword match for a skill\nuse `skills_tool:list` when you need a broader catalog view\nuse `skills_tool:load` before following a skill\n\n\nproject context may be active\n\n\nno project currently activated\n\n\n# Behavioral prompt includes\n\"*.promptinclude.md\" files in workdir auto-injected into system prompt\ncreate/edit/delete persist across conversations\npreference change/remember/note > MUST persist via text_editor before responding\nnever just acknowledge verbally always persist to file\nuse for persistent notes knowledge project context\nrecursive search alphabetical by full path \n\n\nAI: {\n \"thoughts\": [\n \"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\",\n \"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\",\n \"Including some friendly emojis will set a welcoming tone for our conversation.\"\n ],\n \"headline\": \"Greeting user and starting conversation\",\n \"tool_name\": \"response\",\n \"tool_args\": {\n \"text\": \"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\"\n }\n}\n\n\nHuman: {\"user_message\": \"Hello\"}\n{\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}\n[EXTRAS]\n{\"memories\": \"# Memories on the topic\\n- following are memories about current topic\\n- do not overly rely on them they might not be relevant\\n\\n{'thoughts': [\\\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\\\", \\\"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\\\", \\\"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\\\", \\\"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\\\", \\\"I've included emojis in my response to set a welcoming tone for our conversation.\\\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \\\"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\\\"}}\\n\\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \\\"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\\\", \\\"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\\\", \\\"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\\\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \\\"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\\\"}}\", \"solutions\": \"# Solutions from the past\\n- following are memories about successful solutions of related problems\\n- do not overly rely on them they might not be relevant\\n\\n# Problem\\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\n# Solution\\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help.\", \"current_datetime\": \"# Current system date and time of user\\n- current datetime: 2026-05-09 23:41:14\\n- rely on this info always up to date\\n\", \"agent_info\": \"# Agent info\\nAgent Number: 0\\nProfile: agent0\\nLLM: lm_studio/nousresearch/hermes-4-70b\\n\", \"project_file_structure\": \"# File structure of working directory /a0/usr/workdir\\n- this is filtered overview not full scan\\n- list yourself if needed\\n- maximum depth: 5\\n- ignored:\\nvenv/**\\n**/__pycache__/**\\n**/node_modules/**\\n**/.npm/**\\n**/.git/**\\n\\n## file tree\\n/a0/usr/workdir/\\n├── gutasktool/\\n├── festinger_kg.md\\n└── .gitkeep\"}", "tokens": 10347}}, "history": "{\"_cls\": \"History\", \"counter\": 3, \"bulks\": [], \"topics\": [{\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"25a535c6-ae2a-4692-91d9-ee6f033b2298\", \"ai\": true, \"content\": \"{\\n \\\"thoughts\\\": [\\n \\\"This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\\\",\\n \\\"I'll use the response tool with proper JSON formatting to demonstrate the expected structure.\\\",\\n \\\"Including some friendly emojis will set a welcoming tone for our conversation.\\\"\\n ],\\n \\\"headline\\\": \\\"Greeting user and starting conversation\\\",\\n \\\"tool_name\\\": \\\"response\\\",\\n \\\"tool_args\\\": {\\n \\\"text\\\": \\\"**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?\\\"\\n }\\n}\\n\\n\", \"summary\": \"\", \"tokens\": 136}]}], \"current\": {\"_cls\": \"Topic\", \"summary\": \"\", \"messages\": [{\"_cls\": \"Message\", \"id\": \"6ce73993-faa7-4dee-845d-16a7fd30a5d7\", \"ai\": false, \"content\": {\"user_message\": \"Hello\"}, \"summary\": \"\", \"tokens\": 9}, {\"_cls\": \"Message\", \"id\": \"aaa81fc0-7126-43cb-bd2e-97770f0d0785\", \"ai\": false, \"content\": {\"system_warning\": \"This error has occurred: litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nTraceback (most recent call last):\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 991, in async_streaming\\n headers, response = await self.make_openai_chat_completion_request(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\\\", line 190, in async_wrapper\\n result = await func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 454, in make_openai_chat_completion_request\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 436, in make_openai_chat_completion_request\\n await openai_aclient.chat.completions.with_raw_response.create(\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\\\", line 381, in wrapped\\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\\\", line 2589, in create\\n return await self._post(\\n ^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1794, in post\\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\\\", line 1594, in request\\n raise self._make_status_error_from_response(err.response) from None\\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 598, in acompletion\\n response = await init_response\\n ^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\\\", line 1041, in async_streaming\\n raise OpenAIError(\\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 596, in handle_exception\\n raise exception # exception handling is done by extensions\\n ^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 471, in monologue\\n agent_response, _reasoning = await self.call_chat_model(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 183, in _run_async\\n result = _process_result(data)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/helpers/extension.py\\\", line 143, in _process_result\\n raise exc\\n File \\\"/a0/helpers/extension.py\\\", line 176, in _run_async\\n data[\\\"result\\\"] = await data[\\\"result\\\"]\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/agent.py\\\", line 817, in call_chat_model\\n response, reasoning = await call_data[\\\"model\\\"].unified_call(\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/a0/models.py\\\", line 523, in unified_call\\n _completion = await acompletion(\\n ^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1638, in wrapper_async\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\\\", line 1484, in wrapper_async\\n result = await original_function(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\\\", line 617, in acompletion\\n raise exception_type(\\n ^^^^^^^^^^^^^^^\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 2323, in exception_type\\n raise e\\n File \\\"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\\\", line 468, in exception_type\\n raise BadRequestError(\\n. Proceed with your original task if possible.\"}, \"summary\": \"\", \"tokens\": 1566}]}}"}], "streaming_agent": 0, "agent_profile": "agent0", "log": {"guid": "faad140f-9a77-4dd7-81b8-385aee991436", "logs": [{"no": 0, "id": "25a535c6-ae2a-4692-91d9-ee6f033b2298", "type": "response", "heading": "", "content": "**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?", "kvps": {"finished": true}, "timestamp": 1778362869.9861794, "agentno": 0}, {"no": 1, "id": "6ce73993-faa7-4dee-845d-16a7fd30a5d7", "type": "user", "heading": "", "content": "Hello", "kvps": {"attachments": []}, "timestamp": 1778362869.9903555, "agentno": 0}, {"no": 2, "id": null, "type": "util", "heading": "2 memories and 1 relevant solutions found", "content": "", "kvps": {"memories": "{'thoughts': [\"The user's greeting does not provide any specific context or information, so my initial response is to acknowledge their message and invite them to elaborate on their interests.\", \"I'll focus on general conversation topics and engagement strategies since the history does not contain any specific details or events.\", \"I'll add a note to my memory about the user's query, specifically 'User greeted with a simple message'.\", \"I'll use my general knowledge and engagement strategies to keep the conversation flowing.\", \"It's essential to establish a rapport with the user and make them feel comfortable and supported throughout our interaction.\", \"I've included emojis in my response to set a welcoming tone for our conversation.\", 'My response should still include the behavioral rules for conversation flow in it.'], 'headline': 'Greeting user and starting conversation', 'tool_name': 'response', 'tool_args': {'text': \"**Hi Gunnar! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today? 🤔 Are you looking for information, assistance, or just want to chat? 😊\"}}\n\n{'thoughts': ['The user is checking if the AI assistant is working correctly, which provides some context for our conversation.', \"I'll provide a helpful response to clarify the user's query and set the stage for further conversation.\", \"Since the history contains no specific details or events, I'll focus on general conversation topics and engagement strategies.\", \"I'll add a note to my memory about the user's query, specifically 'Checking if AI assistant is working correctly'.\"], 'headline': 'Clarifying user query', 'tool_name': 'response', 'tool_args': {'text': \"**Great, glad to hear that everything is working as expected! 😊** Just a heads up, I've got some general conversation topics and engagement strategies in mind for our chat. Would you like to discuss something specific or just have a casual conversation?\"}}", "solutions": "# Problem\n This is a new conversation, I should greet the user warmly and let them know I'm ready to help.\n# Solution\n 1. Start with a friendly greeting, '**Hello! 👋**, I'm **Agent Zero**, your AI assistant. How can I help you today?**' - This is a proper way to begin the conversation, making sure to include the AI assistant's name and inviting the user for help."}, "timestamp": 1778362870.1850648, "agentno": 0}, {"no": 3, "id": "477aeb1f-8720-4b90-bf7e-9ff8cca4744d", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778362870.5274208, "agentno": 0}, {"no": 4, "id": "aaa81fc0-7126-43cb-bd2e-97770f0d0785", "type": "warning", "heading": "Critical error occurred, retrying...", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778362871.386351, "agentno": 0}, {"no": 5, "id": "845088e2-4c15-454d-b7f7-816d1f1a0a0c", "type": "agent", "heading": "A0: Calling LLM...", "content": "", "kvps": {}, "timestamp": 1778362874.573388, "agentno": 0}, {"no": 6, "id": null, "type": "error", "heading": "", "content": "litellm.exceptions.BadRequestError: litellm.BadRequestError: Lm_studioException - Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nTraceback (most recent call last):\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 991, in async_streaming\n headers, response = await self.make_openai_chat_completion_request(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/logging_utils.py\", line 190, in async_wrapper\n result = await func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 454, in make_openai_chat_completion_request\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 436, in make_openai_chat_completion_request\n await openai_aclient.chat.completions.with_raw_response.create(\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_legacy_response.py\", line 381, in wrapped\n return cast(LegacyAPIResponse[R], await func(*args, **kwargs))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/resources/chat/completions/completions.py\", line 2589, in create\n return await self._post(\n ^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1794, in post\n return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/openai/_base_client.py\", line 1594, in request\n raise self._make_status_error_from_response(err.response) from None\nopenai.BadRequestError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 598, in acompletion\n response = await init_response\n ^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/llms/openai/openai.py\", line 1041, in async_streaming\n raise OpenAIError(\nlitellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': 'The number of tokens to keep from the initial prompt is greater than the context length (n_keep: 7240>= n_ctx: 4096). Try to load the model with a larger context length, or provide a shorter input.'}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 596, in handle_exception\n raise exception # exception handling is done by extensions\n ^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 471, in monologue\n agent_response, _reasoning = await self.call_chat_model(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 183, in _run_async\n result = _process_result(data)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/helpers/extension.py\", line 143, in _process_result\n raise exc\n File \"/a0/helpers/extension.py\", line 176, in _run_async\n data[\"result\"] = await data[\"result\"]\n ^^^^^^^^^^^^^^^^^^^^\n File \"/a0/agent.py\", line 817, in call_chat_model\n response, reasoning = await call_data[\"model\"].unified_call(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/a0/models.py\", line 523, in unified_call\n _completion = await acompletion(\n ^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1638, in wrapper_async\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/utils.py\", line 1484, in wrapper_async\n result = await original_function(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/main.py\", line 617, in acompletion\n raise exception_type(\n ^^^^^^^^^^^^^^^\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 2323, in exception_type\n raise e\n File \"/opt/venv-a0/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py\", line 468, in exception_type\n raise BadRequestError(\n", "kvps": {}, "timestamp": 1778362874.810545, "agentno": 0}], "progress": "A0: Calling LLM...", "progress_no": 5}, "data": {}, "output_data": {}} \ No newline at end of file diff --git a/agents/gunnar/memory/default/index.faiss b/agents/gunnar/memory/default/index.faiss index f37e7de8368d0fcd9789ecc41b6670a723d4a368..9058db262bc78f7e39de5533539d90c91a82eb8e 100644 GIT binary patch literal 52269 zcmXtE)>&)sd++PMKG(7GHMcs;Gi{p2wEsIK|M%j5&Qp)3 z4x|6M_e@fUj^{qZ`0u9Vd{ZbDN|1%lkJm{1oF3E=T0wMlyn$zCAiWe31HZF5=x9+v z4<3|&5@QY8G+z`alv}C&_)5GHx{+$W|?H`_?I zqaSmY#}t>a{jl6r>?>XMaV4!S zT8i&b5>)x~s22u6G|zNQ%U=WKrIZl*JcGvDmuf5}s0dL@bXcqq>qO4GsRn ztau?#JdDQJhgUMmHOB$=byheu%>PIG|WZe}ybLDGxrP2UReCmT2qnDV)AL5ewoPMZ0`-SuD_AtKJ-+?n7dTC;; zA+)`-sd-@$2RBW!*|{F?sH+5$BSo$FYTs3=Ai0pd&wq-Y+ZFKF(&@-^&4^9mY=$i7 zGT8p-4OIycG7}%<#X%frU(`H+nZjG4T-_P<`xU{&a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``H&}X) zmil@$+@2^_Q+6vHS88(SqkbKOlX3BCsiJ`;ncqQLdLf`?wjmf MQW2KH=~5y74=!Dlga7~l diff --git a/agents/gunnar/memory/default/index.faiss.sha256 b/agents/gunnar/memory/default/index.faiss.sha256 index a4613f9..211fe71 100644 --- a/agents/gunnar/memory/default/index.faiss.sha256 +++ b/agents/gunnar/memory/default/index.faiss.sha256 @@ -1 +1 @@ -90dd3fa78c55be8be0fc1d83e4fc8762d0c6a9673f5abec8dcb591abdbeb57ac \ No newline at end of file +d2cd10d556e322be731539469c34254bd131725139d662bcf43a4f81d9683ec2 \ No newline at end of file diff --git a/agents/gunnar/memory/default/index.pkl b/agents/gunnar/memory/default/index.pkl index bc3aa8deafa2dee504127672d06769d17ab23941..757ed8f3eb130a7742f168f59d6bdb385647509e 100644 GIT binary patch delta 3843 zcmcInZ){W773bv-NgNm)Z=W`s)E$xht=`Y<(9Ro54_NJ*#4y z_ZF{!zw&qI_ZY7m{f5qFW93`Ofa2FRpAxi?&f&rSjsb)Hi2Yb+4ZUo~n}BQ@JINY* z^|6>m8#;K*-8D`RP=i?-rg^N#^5r-?_XR#Uzy}-pa1P8RuJoK0%AbVix>&m*&Mu^I zVkP6M( zvN;TPk$uc>_dWn_uX3Sx>*~JyKfS+54;T9ObUf*9nvG^%+&ipz)nf-tHVjO}Y7}vH zE6XyU?yKB{OPK(E^~=VEMJtI!UvXZpAg=WzD+`OPgj1O^S()yuC~R>;0K9f!8@Ru~ zUmBpYeh#H_^3Yr^mJc09sK#Yb-#=VgdNEcQpsJS|^5(=xhd&ZZl4@AU-fzt0WVvj# z_E22jl?Ar6FPn+o>2kKY96Qm=hjJ-s%BxVUK~aWcEr_l?3qQcWAIjypQ~`nkE`M`$ zLlJw#{*69d7`>3QY>v5W_s8XK+>&!PBzmE8{oI-eCZfI4xc3f&$hz!c?qX*NWY2Yj!yuh8)I?3SvVqCuW&bD4oJ34Mmv$ z*;iL>svJ)*qE|=oua-NYVvci3{@jK;W0uT-G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kJt4>o=||LMk8^IvTIwfxUEzLx*_>_=za{|j*s6!-uD diff --git a/agents/gunnar/projects/glitch_university/.a0proj/memory/knowledge_import.json b/agents/gunnar/projects/glitch_university/.a0proj/memory/knowledge_import.json deleted file mode 100644 index ef93fca..0000000 --- a/agents/gunnar/projects/glitch_university/.a0proj/memory/knowledge_import.json +++ /dev/null @@ -1 +0,0 @@ -{"/a0/knowledge/main/tool_call_reference_examples.md": {"file": "/a0/knowledge/main/tool_call_reference_examples.md", "checksum": "1558e6e118619185e31224b1ed646b9a", "ids": ["MdfNZCUQOL"]}, "/a0/knowledge/main/about/configuration.md": {"file": "/a0/knowledge/main/about/configuration.md", "checksum": "cec3fa39c0ce88e2e9768b56887f15b4", "ids": ["4NVYH0anNq", "Pq5lAZQeQU"]}, "/a0/knowledge/main/about/capabilities.md": {"file": "/a0/knowledge/main/about/capabilities.md", "checksum": "570509eac9c9d35fff1f7e6252f0d36a", "ids": ["xd1l89itah", "ihSroKnS6w"]}, "/a0/knowledge/main/about/setup-and-deployment.md": {"file": "/a0/knowledge/main/about/setup-and-deployment.md", "checksum": "3cf57d685f11a6989a73cf041c2018a3", "ids": ["PQGR1SqWAi", "EiAKgHtbZZ"]}, "/a0/knowledge/main/about/identity.md": {"file": "/a0/knowledge/main/about/identity.md", "checksum": "63a2c83c6c3bf4c4008786c396618755", "ids": ["cxRLnAavA8"]}, "/a0/knowledge/main/about/architecture.md": {"file": "/a0/knowledge/main/about/architecture.md", "checksum": "0de7a9280419982ef5fc98d0cc6ad2dc", "ids": ["xXuEAyG8rO", "nhXQkidmdT"]}} \ No newline at end of file diff --git a/agents/gunnar/projects/glitch_university/.a0proj/plugins/_model_config/config.json b/agents/gunnar/projects/glitch_university/.a0proj/plugins/_model_config/config.json deleted file mode 100644 index cd1ae1d..0000000 --- a/agents/gunnar/projects/glitch_university/.a0proj/plugins/_model_config/config.json +++ /dev/null @@ -1 +0,0 @@ -{"allow_chat_override": false, "chat_model": {"provider": "lm_studio", "name": "llama-3.2-3b-instruct", "api_base": "http://festinger:11434/v1/messages", "ctx_length": 100000, "ctx_history": 0.7, "vision": true, "rl_requests": 0, "rl_input": 0, "rl_output": 0, "kwargs": {"max_tokens": 4096, "agent_id": 3}, "max_embeds": 10}, "utility_model": {"provider": "lm_studio", "name": "llama-3.2-3b-instruct", "api_base": "http://festinger:11434", "ctx_length": 100000, "ctx_input": 0.7, "rl_requests": 0, "rl_input": 0, "rl_output": 0, "kwargs": {"X-Agent-Id": 3}}, "embedding_model": {"provider": "huggingface", "name": "sentence-transformers/all-MiniLM-L6-v2", "api_base": "", "rl_requests": 0, "rl_input": 0, "kwargs": {}}} \ No newline at end of file diff --git a/agents/gunnar/projects/glitch_university/.a0proj/plugins/_model_config/presets.yaml b/agents/gunnar/projects/glitch_university/.a0proj/plugins/_model_config/presets.yaml deleted file mode 100644 index fe51488..0000000 --- a/agents/gunnar/projects/glitch_university/.a0proj/plugins/_model_config/presets.yaml +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/agents/gunnar/projects/glitch_university/.a0proj/project.json b/agents/gunnar/projects/glitch_university/.a0proj/project.json deleted file mode 100644 index 69ff457..0000000 --- a/agents/gunnar/projects/glitch_university/.a0proj/project.json +++ /dev/null @@ -1 +0,0 @@ -{"title": "Glitch University", "description": "", "instructions": "", "color": "#fb5607", "git_url": "", "file_structure": {"enabled": true, "max_depth": 5, "max_files": 20, "max_folders": 20, "max_lines": 250, "gitignore": "# Python environments & cache\nvenv/**\n**/__pycache__/**\n\n# Node.js dependencies\n**/node_modules/**\n**/.npm/**\n\n# Version control metadata\n**/.git/**\n"}} \ No newline at end of file diff --git a/agents/gunnar/projects/glitch_university/.a0proj/secrets.env b/agents/gunnar/projects/glitch_university/.a0proj/secrets.env deleted file mode 100644 index e69de29..0000000 diff --git a/agents/gunnar/projects/glitch_university/.a0proj/variables.env b/agents/gunnar/projects/glitch_university/.a0proj/variables.env deleted file mode 100644 index e69de29..0000000 diff --git a/agents/hermes/plugins/_model_config/config.json b/agents/hermes/plugins/_model_config/config.json index dd0a1ca..3bbf84e 100644 --- a/agents/hermes/plugins/_model_config/config.json +++ b/agents/hermes/plugins/_model_config/config.json @@ -18,7 +18,7 @@ }, "utility_model": { "provider": "lm_studio", - "name": "glm-4.7-flash", + "name": "zai-org/glm-4.7-flash", "api_base": "http://host.docker.internal:1234/v1", "ctx_length": 8192, "ctx_input": 0.7, From a82cda6028d26d49c5273d59f53505b1abe41396 Mon Sep 17 00:00:00 2001 From: jenstandstad Date: Sun, 10 May 2026 00:31:33 +0200 Subject: [PATCH 2/2] Removing faiss vector database --- agents/gunnar/memory/default/index.faiss | Bin 52269 -> 0 bytes agents/gunnar/memory/default/index.faiss.sha256 | 1 - agents/gunnar/memory/default/index.pkl | Bin 28804 -> 0 bytes 3 files changed, 1 deletion(-) delete mode 100644 agents/gunnar/memory/default/index.faiss delete mode 100644 agents/gunnar/memory/default/index.faiss.sha256 delete mode 100644 agents/gunnar/memory/default/index.pkl diff --git a/agents/gunnar/memory/default/index.faiss b/agents/gunnar/memory/default/index.faiss deleted file mode 100644 index 9058db262bc78f7e39de5533539d90c91a82eb8e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 52269 zcmXtE)>&)sd++PMKG(7GHMcs;Gi{p2wEsIK|M%j5&Qp)3 z4x|6M_e@fUj^{qZ`0u9Vd{ZbDN|1%lkJm{1oF3E=T0wMlyn$zCAiWe31HZF5=x9+v z4<3|&5@QY8G+z`alv}C&_)5GHx{+$W|?H`_?I zqaSmY#}t>a{jl6r>?>XMaV4!S zT8i&b5>)x~s22u6G|zNQ%U=WKrIZl*JcGvDmuf5}s0dL@bXcqq>qO4GsRn ztau?#JdDQJhgUMmHOB$=byheu%>PIG|WZe}ybLDGxrP2UReCmT2qnDV)AL5ewoPMZ0`-SuD_AtKJ-+?n7dTC;; zA+)`-sd-@$2RBW!*|{F?sH+5$BSo$FYTs3=Ai0pd&wq-Y+ZFKF(&@-^&4^9mY=$i7 zGT8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{$c)B|MJtf&3=59P4 zjnC3kaYbr0Yj|G=icZ67O;pQhMd?h`xU~``G?OViRTpkL+=AUd_M+U}Xi)l_3s&b3 zpttmUY+8AqtPbkqqq&c{TkMFILU!gfp`2%*TAxidb;n z(#ow1vV!;h_nCrbE`8lDfwS61vJ*3d>6orB#;ow5t8!oAxc4^FPqd<>kO)d}@nvo? z*|1W}m*O9v1?#PLB7}bP;q4r&A&9B%`5!Mco#)1&loMNRgnx~ R5*|A{3dh|Gqmpxh^nbGdqFn$0 diff --git a/agents/gunnar/memory/default/index.faiss.sha256 b/agents/gunnar/memory/default/index.faiss.sha256 deleted file mode 100644 index 211fe71..0000000 --- a/agents/gunnar/memory/default/index.faiss.sha256 +++ /dev/null @@ -1 +0,0 @@ -d2cd10d556e322be731539469c34254bd131725139d662bcf43a4f81d9683ec2 \ No newline at end of file diff --git a/agents/gunnar/memory/default/index.pkl b/agents/gunnar/memory/default/index.pkl deleted file mode 100644 index 757ed8f3eb130a7742f168f59d6bdb385647509e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28804 zcmeI5TZ|;vdEZx*NKqpxq$t^noH!~ih7AU zn(Z5_x@M-SP?2pwmXd~|P$S!MlvoUm1PP=!2Z-S$aFFChwt*l9V!v20{9uVvV93ae z5EyWN|L;^)ch8MW*@BZm1lT)MU3Kc5@AChy=ggo+^Q{SVI1&YvmGo-ECt_2%Zvr)JBi zXLrLV80I4^u$8nM5kp1o)@l+pqlO=|-rfF>w9;m$H(k@3n`xsP`El%X{jsFxa}N{j zKWew|Z@t^=1iJFb`q|yjefH;f@9a)g-r0Z0bGtWh-n{nb{AVAPW8K~Ag~y@tfBW2r zzxBfIXSgrzzpvwO1e!<}LhSaRXtwJ?!)vv>-g-N2)pz^vveAcVllGrlUG4PheybbR zR)d{x>_eWL{SOaaU5|oBJy}hHE?@nl-HGrg!Y9KgzR>^B&^?_v+VZ=Bo=vO$vF&i_ z)UET^cCPR2hGWLZiSYemp%J~bhv<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