---
title: "Qwen3.7 Flash on Pydantic AI - Research & deck"
description: "Questioning a founder and writing an eight-slide investor deck from a data room. Tool calling 0%, code mode 77.8%; rank 43 of 44."
canonical: https://pydantic.dev/models/list/qwen3.7-flash/research_deck/
---

# Qwen3.7 Flash on Pydantic AI - Research & deck

> Questioning a founder and writing an eight-slide investor deck from a data room. Tool calling 0%, code mode 77.8%; rank 43 of 44.
>
> Markdown copy of https://pydantic.dev/models/list/qwen3.7-flash/research_deck/. Index for agents: https://pydantic.dev/models/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://pydantic.dev/models/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://pydantic.dev/models/select.md
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: https://pydantic.dev/models/usage.md

About the benchmark: https://pydantic.dev/models/benchmarks/research_deck.md. The model on every Pydantic AI benchmark: https://pydantic.dev/models/list/qwen3.7-flash/pydantic_ai.md

| Mode         | Score | Tasks passed | Cost   | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ------ | -------- | ---------- | -------- |
| Tool calling | 0%    | 0 of 1       | $0.093 | 17       | 43         | 13.2 min |
| Code mode    | 77.8% | 1 of 1       | $0.12  | 55       | 65         | 11.7 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

Two runs of `kestrel-cargo` produced one pass and one fail. Code mode passed in 55 requests ($0.12). Tool calling failed after 17 requests. The model fell into a degenerate thinking loop and sent an empty assistant turn, and the provider rejected it with HTTP 400 ("content field is required"). The error is an HTTP failure, but the model's empty output caused it.

#### Where it does well

- **Data gathering:** both runs read the core files, queried `monthly_pnl`, `operations`, `customers` and `cash`, and looked at the images and PDFs. The tools run caught the September restatement (£403,642 restated to £351,442).
- **Using Maya's answers (code mode):** the run followed her instructions on brand colours, dropping app registrations, telling the recall openly, the slide order and founders on the cover. Its headline figures (£366,832 shown as £367k, 77% YoY, 688 bikes, funnel 86→31→12, £2,180 kit cost) match the data.
- **Persistence on `check_deck`:** code mode kept going until the check returned `ok`.

#### Mistakes it makes

- **Looping:** in the tools run, message 34 repeats "Let me write the complete fixed file" hundreds of times without ever calling `write_file`. That killed the run.
- **Weak first question (tools):** the question to Maya was generic and missed colours, the recall and metrics. Its plan's key figures included 12,400 app users, a metric the code-mode run learned Maya forbids.
- **Fidelity slips (code mode):**
  - Its own check used 248 fleet bikes for October 2025 (177% growth) when the table says 223.
  - It showed the October gross margin rather than the last-twelve-months figure Maya asked for.
  - It kept a competitor table and a cap table despite "charts instead of tables".
  - Runway was shown as ~24 months, taken from round.md.
- **Inefficient edits:** in code mode, about 25 requests went on `str.replace` patches that did not match. In the tools run, each fix was a full rewrite of a ~44k-character file.

#### Tool calling compared with code mode

Code mode could edit the deck in place and re-run `check_deck` cheaply, so it converged even with clumsy patches. Without an in-place edit tool, the tools run could only rewrite the whole file with `write_file` (its `read_file` on the deck failed). Faced with a third full rewrite, the model stalled into the loop. Code mode also asked a much better question to Maya and got far more specific requirements. On this single case, code mode was clearly more reliable for this model.

## Runs

### kestrel-cargo

**Tool calling: error.** The agent explored the data room well, asked Maya once, wrote a full deck and ran `check_deck` twice. On the remaining SVG label sizes it fell into an endless thinking loop and produced an assistant turn with no text and no tool call. The next request died with HTTP 400 "content field is required" after 17 requests. ($0.093, 17 requests, 13.2 min)
- Right: Read `round.md`, `team.md`, `product.md`, the competitors and cap table, then queried `monthly_pnl`, `operations`, `customers`, `cash` and `orders` in parallel
- Right: Spotted the September restatement (£403,642 restated to £351,442) and used the database figure
- Right: Asked Maya one batched `ask_founder` question and got the slide order: cover, why now, problem, product, traction, market, business model, ask
- Right: Fixed all 13px HTML labels after the first `check_deck`, cutting the issues down to four slides of SVG labels at 10.4–11.3px
- Mistake: Its question to Maya was generic (angels vs VCs, tone, slide order) and never asked about colours, the recall or which metrics to show. Its plan's key figures included 12,400 app users, a metric the code-mode run learned Maya forbids
- Mistake: Each fix was a full rewrite of the ~44k-character file with `write_file`. When it tried `read_file` on `deck/index.html` it got 'not a file in the data room' and had no way to edit in place
- Mistake: In message 34 it repeated 'Let me write the complete fixed file' hundreds of times in its thinking and never issued the `write_file` call. That empty turn caused the provider's 400. It should simply have rewritten the file with SVG `font-size` at 12 or more, which it had already planned

**Code mode: passed.** The agent explored the data room in Python and asked Maya a detailed, data-informed question. It got specific instructions (colours, no app registrations, recall shown openly, the metrics to use, the round.md split) and built the deck. After about 10 rounds of string-replace patches, `check_deck` returned `ok`. It passed in 55 requests at $0.12. ($0.12, 55 requests, 11.7 min)
- Right: Asked Maya about the recall, the app registrations, brand colours and metrics, and got concrete answers it then followed: green #1F6F5C / amber #F2A541, no app data, the recall in the traction story, founders' names on the cover
- Right: Used the October 2026 revenue £366,832 (shown as £367k), YoY growth of 77% against £207,147, 688 fleet bikes, the funnel 86→31→12 and kit cost £2,180 from the supply agreement PDF
- Right: Got around sandbox limits (`os.walk` missing, empty `information_schema` results) by switching to `pathlib` and `SHOW TABLES`
- Right: Kept iterating until `check_deck` printed `ok`
- Mistake: Its final self-check cites 'Fleet bikes Oct 2025: 248… growth 177%', but the `operations` table gives 223 for October 2025, which would make the growth about 208%
- Mistake: Maya asked for gross margin over the last twelve months, but it reported the October 2026 month (39.4%) and a trend, not a figure for the last twelve months
- Mistake: Maya asked for charts instead of tables and no competition slide. Its note still describes a competitor pricing table on the market slide and a 'full numbers table, cap table' on the ask slide
- Mistake: Runway on the ask slide is shown as '~24 months', taken from round.md, rather than computed from cash of £409k and burn
- Mistake: Spent messages 53–105 on brittle `str.replace` patches that often failed to match: the cap table rows overflowing, 13px bar text. A clean rewrite of slide 8 would have saved many requests
