Gemini 3.1 Pro in Multi-Agent Systems: High Design Quality, 20% Tool-Call Failure Rate

Architecture and Testing Context
The team behind Bobr, an AI presentation generator, tested Gemini 3.1 Pro within a two-level agent system. The architecture consists of:
- Orchestrator Agent: Handles conversation, understands user intent, plans structure, and dispatches work via tool calls.
- Creative Agent (Gemini 3.1 Pro in this test): Receives slide descriptions, generates images, builds templates (1920x1080), and returns results via a
submit_slidetool call.
The creative agent has tools including generate_image, search_images, and submit_slide. The submit_slide call is critical—it returns a 'submit' signal, terminates the agent loop, and extracts slide data. Both agents run through the same loop with streaming, parallel tool execution, and iteration limits.
Strengths: Design and Aesthetic Output
When Gemini 3.1 Pro works correctly, it produces superior design output compared to other models tested (Claude Sonnet 4.6 and GPT-5.2). Specific strengths include:
- Aesthetic intuition: Better color theory and visual hierarchy.
- Layout creativity: Experiments with asymmetric compositions, overlapping elements, and modern UI styles like dark-mode/glassmorphism.
- Vibe interpretation: Effectively handles vague prompts like "make it feel premium" or "tech startup vibes."
- Code quality: Generates modern, structural HTML/CSS.
Critical Problems in Production
The team encountered two major reliability issues with Gemini 3.1 Pro in their agentic pipeline:
1. ~20% Tool-Call Failure Rate
In approximately 20% of requests, Gemini 3.1 Pro fails to call the required submit_slide tool. Instead, it exhibits several failure patterns:
- Outputs raw HTML template as plain text, describing what it "would" create rather than triggering the tool.
- Generates images correctly but stops without submitting, hitting iteration limits.
- Calls image generation tools but writes natural language summaries ("Here is your beautiful slide...") instead of the final tool call.
- Enters loops refining design descriptions in text without committing to action.
Since submit_slide is the hard exit path, failures result in no data returned to the orchestrator and failed user generations.
2. Garbled/Corrupted Output
The model frequently returns corrupted text in responses—random character sequences, broken Unicode, half-encoded strings. This corruption sometimes bleeds into slide content (variable values, template markup), meaning even successful submissions might display gibberish text in presentations.
Comparison with Other Models
- Claude Sonnet 4.6: Near-zero failure rate on
submit_slidecalls in the same creative agent role, described as "boringly reliable" with no garbled output. - GPT-5.2: Moderate tool reliability between Gemini and Claude, but doesn't suffer from encoding/gibberish issues.
Attempted Mitigations
The team tried several approaches without significant improvement:
- Adding aggressive explicit instructions in system prompts: "You MUST call submit_slide. Do not output the template as text."
- Injecting few-shot examples showing exact expected tool-call patterns.
- Reducing iteration limits to force faster convergence.
- Stripping down and simplifying tool schemas.
Despite these issues, Gemini 3.1 Pro remains live in their system due to its superior design capabilities when it functions correctly.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Paper Lantern MCP Server Connects Claude Code to Research Papers
Paper Lantern is an MCP server built with Claude Code that connects coding agents to over 2 million CS and 43 million biomedical research papers, enabling them to find benchmarked methods instead of defaulting to training data.

Agent Image Skills: Simple Image Hosting for Claude Code Agents
A developer built a simple image hosting service at https://images.labnocturne.com to solve the problem of Claude Code agents generating images with nowhere to store them. The service provides instant test keys via curl, auto-deletes files after 7 days, and includes Claude Code MCP skills for upload, file listing, and deletion.

Gemma 4 26B vs Qwen 3.5 27B: Local Business Workflow Benchmark on RTX 4090
A developer tested Gemma 4 26B and Qwen 3.5 27B on an RTX 4090 workstation for 18 real business operator tasks. Gemma won 13-5, showing faster speed and better discipline for daily execution work, while Qwen excelled at broader strategic thinking.

Claude Code Studio: Open-Source Desktop App for Managing Multiple Claude Coding Sessions
Claude Code Studio v0.9.3 is an open-source desktop application that provides a multi-pane interface for managing multiple Claude Code CLI sessions. It addresses common workflow issues like juggling terminal tabs, session persistence, and instruction repetition.