Skip to content

V-Agent 1.1.3

Choose a tag to compare

@IsValorum IsValorum released this 17 Nov 18:36
· 6 commits to main since this release

V-Agent 1.1.3

Release making long autonomous runs survive provider errors and full context windows, letting the agent ask the user mid-task, and strengthening the code checker.

Changes & Updates Since v1.1.2

Ask the user mid-task

  • New agent__ask_user tool (agent/ask_user.py, agent/agent.py, agent/ui/app/shell.js, agent/ui/app/chat.js): Available to every engine — local models and API providers — when the request comes from the interface. The model asks one short question with up to 4 options; the user picks one, types an answer, or lets the agent decide.
  • Bounded: At most 3 questions per turn. After 15 minutes without an answer the agent continues on its own judgment and states its assumptions. Requests from external API clients never receive the tool, so nothing waits for an answer nobody can give.
  • Languages: Tool instructions are in English; the dialog and cards are translated into en, pt, fr and de.

Long autonomous runs that keep going

  • Automatic retries (agent/agent_resilience.py, agent/agent.py): Transient engine/provider failures in the middle of a turn (HTTP 408/429/5xx/529, dropped connections, replies cut before their end mark) repeat the round up to 3 times (2, 6 and 15 s), shown as an "Automatic retry" card. Authentication, bad-request and missing-model errors still stop the turn.
  • Context kept within the window: Past 60 % of the model's window, old tool batches are archived to the chat's context/ folder and old outputs are shortened. When the engine still refuses a prompt as too long, the history is shortened further and the round repeated. Shown as a "Context trimmed" card.

Stronger code_check

  • Python (agent/code_insight.py, agent/verify.py): pyflakes static analysis reports undefined names, locals used before assignment and unused imports; imported modules missing from the user's Python are flagged.
  • HTML, CSS, JavaScript: Missing local scripts, stylesheets and frames are errors; duplicate ids, script lookups of ids the page lacks, missing url(...) files and relative import/require targets that do not exist are reported.
  • On write (agent/pc_mcp.py): The same analysis runs when a file is saved, so the model sees the problem immediately.

Dependencies

  • pyflakes 3.4.0 (MIT) bundled.

Installer & verification

  • Clean-worktree NSIS installer V-Agent_1.1.3_x64-setup.exe (260,444,915 bytes, SHA-256 98c0ea8078919c8e7ec7ca7f510a850d8f15d9d8aa70d248c3f8ca2a7427053e), verified free of personal data or development artifacts, with Ed25519-signed v-agent-update.json and v-agent-update.json.sig.
  • Tested: full Python unittest suite (357 tests passed, including new tests/test_agent_resilience.py and tests/test_code_insight.py), all 8 Node .cjs UI suites, ruff (0 findings), tests/smoke/agent_autonomy_ui.py (real interface against a scripted local provider: question with options, "let the agent decide", a mid-turn 503, a context overflow — 10/10), MCP recovery (30/30), profile × access × permission matrix (19/19), a real local model on llama.cpp (20/20, including an automatic context trim on an 8K window, and a real agent__ask_user round trip), the packaged core's code_check, and scripts/clean_release_build.py (Clean release verification passed).