Repository navigation
docs: add the GMI versus agent() study page - #333
Conversation
Describes the study that compares a GMI on the full runtime with agent() and a bare model loop on companion conversation, publishes it under Benchmarks at /benchmarks/gmi-vs-agent, and links it from the GMI guide and the docs index.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reached
This review includes 4 billable files and costs up to $1.00.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 44 minutes for your next included review. View limit details
Comment |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can commit Qodo's fix in one click with committable suggestions (GitHub & GitLab) |
Reviewer's GuideIntroduces and publishes a detailed documentation page describing the planned GMI-versus-agent() companion-conversation study, including its methodology, controls, metrics, validity and decision criteria, operational safeguards, and reporting format; the page is cross-linked from existing documentation and mapped to /benchmarks/gmi-vs-agent. Sequence diagram for a metered live study turnsequenceDiagram
participant Runner
participant Arm as Study arm
participant Proxy as Metering proxy
participant Model as Subject model
participant Ledger as Spend ledger
Runner->>Ledger: reserveRun()
Arm->>Proxy: send model or memory call
Proxy->>Ledger: record call cost
Proxy->>Model: forward request
Model-->>Proxy: streamed reply
Proxy-->>Arm: metered response
Arm-->>Runner: turn result or failure
Proxy-->>Ledger: close call at deadline
Flow diagram for the study execution and validity gatesflowchart TD
R[Define protocol and task tranches] --> D[Determinism gate]
D -->|pass| M[Run record mode with local stub]
D -->|fail| F[Fix harness; no live run]
M --> S[Check harness mechanics and network safety]
S --> L[Run live arms through metering proxy]
L --> J[Blind judging and calibration]
J --> V{Validity gates pass?}
V -->|no| NV[NO VERDICT]
V -->|yes| E[Analyze paired endpoints, cost and latency]
E --> O{Decision rules}
O --> GO[GO]
O --> GC[GO-COST]
O --> P[PORT]
O --> K[KILL]
O --> N[NOT SHOWN]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
PR Summary by QodoDocument the GMI versus agent() companion-conversation study
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 991c14f8d7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| ## Metering and the spend ledger | ||
|
|
||
| Every model, embedding, rerank and guard call leaves the arms' process only through a local stub (record mode) or a metering proxy (live mode). The proxy prices each call from the day's price table, with cached and reasoning tokens, reserves the call's worst case before forwarding it, and closes it at 60 seconds. An arm's cost per turn includes every call its turn causes: the main call, sentiment scoring, metaprompts, memory calls, embeddings, reranks and the output guard. The one exception is a call that a turn cut at its deadline leaves running and that arrives during a later turn: it is charged to the arm whose turn runs when it arrives. Judging is not in the spend figures: the judge clients run at a flat rate, outside the ledger. |
There was a problem hiding this comment.
Charge late calls to their originating arm
When a timed-out vendor call completes while a later turn—potentially for another arm—is running, charging it to the currently active arm transfers cost across treatments. Because the decision rule compares C's mean cost per turn with B's ceiling, these misattributed calls can change a result between GO and GO-COST/KILL; retain the originating arm/turn on the in-flight call and charge it there even after its deadline.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Answered, with a wording fix in b2957fa (#339). The proxy records a call's arm when the call reaches it, before forwarding, so a call in flight when its turn is cut at the deadline stays charged to the arm whose turn sent it, also when it completes during a later turn. The exception the page names is narrower: a call that a cut turn's unfinished work sends after the deadline, and that reaches the proxy during a later turn, is charged to the arm whose turn runs then. The earlier sentence also admitted the reading in this comment, so #339 rewords it to name that case.
## [0.13.64](v0.13.63...v0.13.64) (2026-10-12) ### feat * **meetings:** a meeting-participant channel: types, provider interface, stores and signing (#327) ([1fe6ad6](1fe6ad6)) ### docs * add the GMI versus agent() study page (#333) ([0d2aab0](0d2aab0)) * correct claims in the files #319 changed (bus retries, HITL, API types) (#331) ([be2e82f](be2e82f))
|
Deployed: docs site run 38207381325 built from agentos 0d2aab0; the page answers at https://docs.agentos.sh/benchmarks/gmi-vs-agent. |
Summary
Adds a docs page that describes the study comparing a GMI on the full runtime, agent() and a bare model loop on companion conversation: the arms, task families, metrics and decision rules, judges and calibration, metering, the determinism gate, record mode, live runs, and how to read a report. The page states no measured number; the reports it lists are added as they are published. Publishes the page at /benchmarks/gmi-vs-agent and links it from the GMI guide and the docs index.
Linked issues
None.
Type of change
How this was verified
CI only; nothing was run on a workstation.
../GMI.md,../API_PATHS.mdand../observability/EVALUATION.mdfrom the page, and./evaluation/GMI_VS_AGENT.mdfrom the GMI guide and the docs index.Migration notes
None.
Checklist
!before the colon for a change that breaks users (feat!:orfeat(api)!:).Summary by Sourcery
Document the planned study evaluating whether full-runtime GMIs improve companion conversation compared with agent() and a bare model loop.
New Features:
Documentation: