Skip to content

docs(computeragent): add info.md — architecture + harness protocol tour#15

Merged
shreyas-lyzr merged 1 commit into
mainfrom
docs/computeragent-info
May 31, 2026
Merged

docs(computeragent): add info.md — architecture + harness protocol tour#15
shreyas-lyzr merged 1 commit into
mainfrom
docs/computeragent-info

Conversation

@shreyas-lyzr
Copy link
Copy Markdown
Contributor

Adds packages/computeragent/info.md (~350 lines, 12 sections) as the "what's actually going on under the hood" companion to the install-flavored README.md.

Covers — with an ASCII diagram or table per section — the parts that read interesting in a slide deck or talk:

  1. TL;DR four-axes diagram — IdentityLoader / EngineDriver / Substrate / SessionStore / AuditSink
  2. Git URL as identity — no registry, cross-machine dedup
  3. Substrate-agnostic agent code — Local / Bwrap / E2B / VZ
  4. Harness protocol — full SSE+HTTP wire diagram, why a separate process, the HarnessEvent discriminated union
  5. AuditSink — telemetry as a one-method protocol, gen_ai.* OTel
  6. Library-mode vs server-mode — two equally first-class modes side-by-side
  7. Cost semantics — cumulative vs delta aggregation (the subtle bit, tied to the new chat-handle.test.ts tests)
  8. JSONL session replay — audit-friendly by accident
  9. SessionStore — swap memory / file / mongo / sqlite with one arg
  10. IRSA + Bedrock without static keys — references the 9-env-var allow-list fixed in PR fix: 3 regressions from PR #10 merge — Bedrock env passthrough + health route #14
  11. Permission protocol audit — full diagram, SIEM integration story
  12. Conformance suite@computeragent/testing for plug-in authors
  13. OTLP everywhere, vendor nowhere
  14. End-to-end flow — single chat turn against E2B substrate

Plus a "See also" block linking to the relevant packages + the de-risk spike report.

No code changes.

352-line companion to the README focused on what's architecturally
interesting under the hood. Twelve numbered sections, each with an
ASCII diagram or table where it helps.

Contents:
  - TL;DR: four orthogonal ports diagram (IdentityLoader / EngineDriver
    / Substrate / SessionStore / AuditSink)
  - 1. Git URL as agent identity (no registry, no UUIDs)
  - 2. Substrate-agnostic agent code (Local / Bwrap / E2B / VZ)
  - 3. Harness protocol — full SSE+HTTP wire diagram + why a separate
    process + the HarnessEvent type
  - 4. AuditSink: telemetry as a one-method protocol; gen_ai.* OTel
  - 5. Library-mode vs server-mode side-by-side
  - 6. Cost semantics: cumulative vs delta aggregation (the subtle bit)
  - 7. JSONL session replay (audit-friendly by accident)
  - 8. SessionStore swap (memory / file / mongo / sqlite)
  - 9. IRSA + Bedrock without static keys (the 9-env-var allow-list)
  - 10. Permission protocol audit diagram + SIEM integration
  - 11. Conformance suite for third-party plug-ins
  - 12. OTLP everywhere, vendor nowhere
  - End-to-end flow: single chat turn diagram
  - See also: links to README, protocol package, sdk, harness, etc.

Designed for: slide decks, talks, HN comments, customer architecture
reviews. Pairs with README.md which is the install + quickstart.
@shreyas-lyzr shreyas-lyzr merged commit 9ce4fe2 into main May 31, 2026
@shreyas-lyzr shreyas-lyzr deleted the docs/computeragent-info branch May 31, 2026 09:17
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