Discover and explore top open-source AI tools and projects—updated daily.
kdcokennyAsynchronous background agents for OpenCode enhance research and context persistence
Top 96.8% on SourcePulse
This plugin introduces asynchronous background delegation for research tasks within OpenCode, solving the problem of context window limitations and information loss due to compaction. It targets OpenCode users who perform extensive research or complex tasks, enabling them to continue working without interruption while delegating demanding operations. The primary benefit is the persistence of research results, ensuring that valuable information is retained across sessions and compaction events, thereby improving AI recall and user productivity.
How It Works
This plugin enables asynchronous delegation of research tasks within OpenCode, addressing context window limitations. Users initiate tasks via the delegate tool, allowing them to continue coding or brainstorming. Results are automatically persisted to disk as tagged markdown files (~/.local/share/opencode/delegations/) and are retrievable via delegation_read(id). This mechanism ensures that research survives context compaction, session restarts, and crashes, providing a persistent knowledge base for the AI. The plugin mirrors Claude Code-style background-agent lifecycle behavior, including stable delegation IDs and explicit state transitions.
Quick Start & Requirements
ocx add kdco/background-agents --from https://registry.kdco.devocx add kdco/workspace --from https://registry.kdco.devunique-names-generator.Highlighted Details
Maintenance & Community
This facade is maintained from the main OCX monorepo. For issues and pull requests, refer to the OCX repository.
Licensing & Compatibility
Limitations & Caveats
delegate tool is restricted to read-only sub-agents. Write-capable agents must use the native task tool due to the inability to track background session changes within OpenCode's undo/branching system.2 weeks ago
Inactive
hmans