Why
Most people already have an agent. They don't want to port it to ClawLoop idioms to try the learning loop — they want to wrap what they have and see rewards start climbing. clawloop.wrap() already does this for plain LLM clients; the next step is first-class adapters for the major agent frameworks so the wrap is a one-liner regardless of how the agent was built.
Each item below is a self-contained adapter — natural entry point for first-time contributors who already know one of these frameworks.
Adapters
Contract
Each adapter should:
- Be an optional extra:
uv sync --extra langchain, etc. Core stays dependency-light.
- Expose a single entry point —
clawloop.integrations.langchain.wrap(agent, collector) or similar — mirroring the existing clawloop.wrap() API.
- Ship with a minimal working example under
examples/integrations/<framework>/ and a one-paragraph README section.
- Include an end-to-end smoke test that does not require the framework's heavy dependencies to be present at import time.
Why an umbrella?
Each adapter is ~a day of work and independent of the others. Tracking them together makes the direction visible; splitting them off keeps PRs reviewable and lets different contributors take different frameworks.
Contributor notes
If you want to contribute one, comment on the relevant sub-item before starting. The existing clawloop.wrap() implementation in clawloop/live/ is the reference shape.
Why
Most people already have an agent. They don't want to port it to ClawLoop idioms to try the learning loop — they want to wrap what they have and see rewards start climbing.
clawloop.wrap()already does this for plain LLM clients; the next step is first-class adapters for the major agent frameworks so the wrap is a one-liner regardless of how the agent was built.Each item below is a self-contained adapter — natural entry point for first-time contributors who already know one of these frameworks.
Adapters
Episodemessages. Playbook injection via system-prompt hook.Contract
Each adapter should:
uv sync --extra langchain, etc. Core stays dependency-light.clawloop.integrations.langchain.wrap(agent, collector)or similar — mirroring the existingclawloop.wrap()API.examples/integrations/<framework>/and a one-paragraph README section.Why an umbrella?
Each adapter is ~a day of work and independent of the others. Tracking them together makes the direction visible; splitting them off keeps PRs reviewable and lets different contributors take different frameworks.
Contributor notes
If you want to contribute one, comment on the relevant sub-item before starting. The existing
clawloop.wrap()implementation inclawloop/live/is the reference shape.