Skip to content

docs(agent-sdk): summarize harness in README + provider-generalization guide#5

Merged
cognect merged 1 commit into
mainfrom
docs/agent-sdk-generalization
Jun 8, 2026
Merged

docs(agent-sdk): summarize harness in README + provider-generalization guide#5
cognect merged 1 commit into
mainfrom
docs/agent-sdk-generalization

Conversation

@cognect

@cognect cognect commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Follow-up to the Claude Agent SDK harness (#4): ensure dedicated Agent SDK documentation exists, is summarized in the README, and explains how to generalize the harness to other Agent-SDK-shaped providers.

  • README — adds the three agent-sdk-* crates to the crate table, a capability blurb, and a documentation-map link.
  • docs/agent-sdk-harness.md — new Generalizing to other providers section: the harness is provider-neutral above the AgentSdkBackend seam, so vendors that mirror Anthropic's Agent SDK structure (with small option/message deltas) plug in via a thin adapter — override _build_options + _normalize (Python) or implement a native Rust backend — with no harness changes. Includes the neutral-vs-specific layer table, a worked AcmeAgentSDKBackend subclass + registration example, the robustness helpers (_filter_kwargs, name-dispatched _normalize), and guidance on when to extend the schema instead.
  • agent-sdk-core README — notes the provider-neutral contract.

Docs-only.

🤖 Generated with Claude Code

…n guide

- README: add the three agent-sdk-* crates to the crate table, a capability
  blurb, and a documentation-map link to docs/agent-sdk-harness.md.
- docs/agent-sdk-harness.md: add a "Generalizing to other providers" section
  — the harness is provider-neutral above the AgentSdkBackend seam, so other
  vendors that mirror Anthropic's Agent SDK shape plug in via a thin adapter
  (override `_build_options` + `_normalize`, or a native Rust backend) with no
  harness changes. Documents the neutral-vs-specific layers, a worked Python
  subclass example, registration, and when to extend the schema instead.
- agent-sdk-core README: note the provider-neutral contract.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cognect cognect merged commit fe579c6 into main Jun 8, 2026
1 of 5 checks passed
@cognect cognect deleted the docs/agent-sdk-generalization branch June 8, 2026 20:08
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