pentagi icon indicating copy to clipboard operation
pentagi copied to clipboard

docs: add tool and model fallback RFC

Open mason5052 opened this issue 5 months ago • 0 comments

Summary

Adds a docs-only RFC for configurable fallback when tools, missing CLI commands, or model/tool-call generation fail.

Problem

Issue #341 asks for broader fallback behavior, including similar-tool fallback, optional safe tool installation, and model/provider fallback. PentAGI already has retries, tool-call fixing, reflector recovery, mentor monitoring, planner support, Installer Agent concepts, and tool-call limits. Jumping straight to runtime fallback would risk hidden automation, unsafe installation behavior, or silent provider switches.

Solution

Add examples/proposals/tool_model_fallback.md as a conservative design proposal. The RFC defines goals, non-goals, current recovery behavior, problem cases, v1 design principles, tool fallback, missing CLI handling, model fallback, operator approval, visibility, configuration sketch, failure bounds, security considerations, open questions, and incremental milestones.

The proposal keeps fallback disabled or policy-limited by default, requires visible bounded decisions, requires explicit operator approval for installs by default, rejects untrusted install commands such as curl-pipe-shell, and calls out that this should not reintroduce hidden queue or lifecycle state risks.

Refs #341

User Impact

Users and maintainers get a focused design surface before any runtime fallback code lands. This should make future implementation safer to review and easier to split into small milestones.

Test Plan

  • git diff --check
  • git diff --check upstream/main...HEAD
  • git diff --name-status upstream/main...HEAD
  • Verified the branch changes only examples/proposals/tool_model_fallback.md

mason5052 avatar Jun 10 '26 00:06 mason5052