Skip to content

Add OpenCode CLI adapter for external agent workflows#348

Merged
Harold-lkk merged 2 commits into
InternLM:v1.0.0from
Hyperion-shuo:ss/opencode_adapter
Jun 16, 2026
Merged

Add OpenCode CLI adapter for external agent workflows#348
Harold-lkk merged 2 commits into
InternLM:v1.0.0from
Hyperion-shuo:ss/opencode_adapter

Conversation

@Hyperion-shuo

Copy link
Copy Markdown

Summary

This PR adds an OpenCodeCLIAdapter so lagent can wrap the OpenCode CLI as an async external agent.

Changes

  • Added lagent/adapters/opencode_cli.py
  • Exported OpenCodeCLIAdapter in lagent/adapters/init.py

@Harold-lkk
Harold-lkk merged commit df9fa75 into InternLM:v1.0.0 Jun 16, 2026
1 check failed
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.

2 participants