Skip to content

docs: add the GMI versus agent() study page - #333

Merged
jddunn merged 1 commit into
masterfrom
docs/gmi-vs-agent-study-page
Oct 12, 2026
Merged

jddunn merged 1 commit into
masterfrom
docs/gmi-vs-agent-study-page

Conversation

@jddunn

@jddunn jddunn commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

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

  • Bug fix
  • Feature
  • Performance
  • Documentation
  • Refactor
  • Tests
  • Build or CI

How this was verified

CI only; nothing was run on a workstation.

  • Every check of the repository's workflows on this pull request, among them Test & Lint, which runs the docs-alignment guard: the manifest entry, the docs index's required entries, and every relative link from a published guide to a published page.
  • Every relative link in the changed files resolves to a published page: ../GMI.md, ../API_PATHS.md and ../observability/EVALUATION.md from the page, and ./evaluation/GMI_VS_AGENT.md from the GMI guide and the docs index.
  • After the merge, the docs site's deploy is dispatched and the page is read on docs.agentos.sh; the run is added to this pull request as a comment.

Migration notes

None.

Checklist

  • Tests cover the changed behavior. No behavior changes.
  • Docs are updated.
  • The title follows Conventional Commits, with ! before the colon for a change that breaks users (feat!: or feat(api)!:).
  • No secrets or private data are included.
  • Every automated review thread is settled (how). Automated review threads are answered after the merge.
  • I have read this change and can explain every line.

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:

  • Add a published GMI versus agent() study page covering the study design, comparison arms, task families, metrics, decision rules, judging, metering, execution modes, and report interpretation.

Documentation:

  • Link the study from the GMI guide and the documentation index, and publish it under the benchmarks section of the documentation site.

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.
@jddunn
jddunn requested a review from Victor-Evogor as a code owner October 12, 2026 05:13
@sourcery-ai

sourcery-ai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Sorry @jddunn, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 5 hours and 26 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T05:16:13.211995Z 991c14f PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 4 billable files and costs up to $1.00.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: framerslab/agentos/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 37b2f954-a17d-423d-ba36-d76b49e58ff3

📥 Commits

Reviewing files that changed from the base of the PR and between 7a84e72 and 991c14f.


📒 Files selected for processing (4)
  • docs/GMI.md
  • docs/README.md
  • docs/evaluation/GMI_VS_AGENT.md
  • docs/publication-manifest.cjs

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can commit Qodo's fix in one click with committable suggestions (GitHub & GitLab)

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@sourcery-ai

sourcery-ai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Reviewer's Guide

Introduces 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 turn

sequenceDiagram
    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
Loading

Flow diagram for the study execution and validity gates

flowchart 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]
Loading

File-Level Changes

Change Details Files
Add a comprehensive study-design page for evaluating GMI runtime behavior against agent() and a bare model loop.
  • Document the study question, experimental arms, controls, task families, endpoints, statistical decision rules, judge calibration, metering, determinism requirements, record/live modes, and report-reading conventions.
  • Explicitly define status, scope limitations, cost and latency gates, validity rules, and the absence of published measurements or reports.
docs/evaluation/GMI_VS_AGENT.md
Publish and cross-link the new study documentation.
  • Register the page at the benchmarks route in the publication manifest.
  • Add links from the GMI guide and the documentation index.
docs/publication-manifest.cjs
docs/GMI.md
docs/README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Document the GMI versus agent() companion-conversation study

📝 Documentation ⚙️ Configuration changes 🕐 20-40 Minutes

Grey Divider

AI Description

• Publish the study design, comparisons, decision rules, and report-reading guidance without
 claiming measured results.
• Register the study under Benchmarks and link it from the GMI guide and documentation index.
Diagram

graph TD
  GMI["GMI guide"] -->|links| Study["Study page"] -->|registered by| Manifest["Publication manifest"] -->|publishes| Site["Benchmarks site"]
  Index["Docs index"] -->|links| Study
Loading
High-Level Assessment

Keep the study as a canonical guide registered through the existing publication manifest. This makes it discoverable without duplicating content in the docs site; no benchmark implementation or results are introduced.

Files changed (4) +199 / -0

Documentation (3) +198 / -0
GMI.mdLink the study from the GMI guide +3/-0

Link the study from the GMI guide

• Adds a contextual link beside the GMI-versus-plain-agent explanation and a link in the guide's related-reading list.

docs/GMI.md

README.mdList the study in the documentation index +1/-0

List the study in the documentation index

• Adds an index entry directing readers to the study design and future published reports.

docs/README.md

GMI_VS_AGENT.mdDocument the companion-conversation study protocol +194/-0

Document the companion-conversation study protocol

• Introduces the study question, experimental arms, tasks, endpoints, decision rules, judging controls, metering, determinism checks, run modes, and report format. States that the protocol is not yet registered and no reports or measured results are published.

docs/evaluation/GMI_VS_AGENT.md

Other (1) +1 / -0
publication-manifest.cjsPublish the study under Benchmarks +1/-0

Publish the study under Benchmarks

• Registers the canonical study guide at the Benchmarks destination /benchmarks/gmi-vs-agent.

docs/publication-manifest.cjs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jddunn
jddunn merged commit 0d2aab0 into master Oct 12, 2026
9 checks passed
@jddunn
jddunn deleted the docs/gmi-vs-agent-study-page branch October 12, 2026 05:18
github-actions Bot pushed a commit that referenced this pull request Oct 12, 2026
## [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))
@jddunn

jddunn commented Oct 12, 2026

Copy link
Copy Markdown
Member Author

Deployed: docs site run 38207381325 built from agentos 0d2aab0; the page answers at https://docs.agentos.sh/benchmarks/gmi-vs-agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant