This project, `autoresearch-opencode`, is an autonomous experiment loop designed for use with OpenCode. It's a port of `pi-autoresearch`, but implemented as a pure skill, eliminating the need for an MCP server and relying solely on instructions the agent follows using its built-in tools. The skill allows users to automate optimization tasks, as demonstrated by the example of optimizing the BogoSort algorithm which achieved a 7,802x speedup by leveraging Python's `bisect` module for sorted-state detection.
The system maintains state using a JSONL file, enabling resume/pause functionality and detailed experiment tracking. It provides a dashboard for monitoring progress and ensures data integrity through atomic writes and validation checks.
OpenCode is an open-source AI coding agent designed for development work. It offers two built-in agents: 'build' for full access and 'plan' for read-only analysis and code exploration. Installation is possible via curl, package managers (npm, brew, etc.), or as a desktop application for macOS, Windows, and Linux. It distinguishes itself from tools like Claude Code by being 100% open source, provider-agnostic, offering LSP support, and having a focus on a Terminal UI. OpenCode is built with a client/server architecture, allowing for remote access via mobile apps.