# anomalyco/opencode

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/anomalyco-opencode).**

175,152 stars · 21,241 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/anomalyco/opencode
- Homepage: https://opencode.ai
- awesome-repositories: https://awesome-repositories.com/repository/anomalyco-opencode.md

## Description

OpenCode is a framework for orchestrating autonomous AI agents within development environments. It provides a multi-tiered architecture where primary assistants manage user interaction while specialized subagents handle specific tasks like planning, research, and code generation. The system includes a comprehensive command-line interface for managing these workflows, configuring agent behavior, and defining custom tools or commands through metadata-rich files.

The platform features a modular plugin system and extensive integration support, including standardized protocols for connecting local and remote tool servers. It incorporates a security-focused architecture with granular permission controls, allowing users to define access policies for file operations, shell commands, and web access. These security measures are complemented by enterprise-grade infrastructure options, such as centralized authentication and private registry integration.

For developers, the project offers a type-safe SDK for building custom integrations and a RESTful API for programmatic system management. Configuration is handled through a schema-validated system that supports variable injection and multi-file organization. The interface is fully customizable, featuring a theme system for terminal displays and interactive commands for managing model selection and session history.

## Tags

### Artificial Intelligence & ML

- [Agent Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/autonomous-agents/agent-configurations.md) — Defines agent behaviors, response parameters, and resource execution limits through structured configuration files. ([source](https://opencode.ai/docs/agents/))
- [MCP Server Controls](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-protocols-interoperability/mcp-server-controls.md) — Regulates tool availability for agents using pattern-based filtering and specific execution settings. ([source](https://opencode.ai/docs/mcp-servers/))
- [Model Selection Strategies](https://awesome-repositories.com/f/artificial-intelligence-ml/language-model-orchestration/language-model-interaction-patterns/language-model-tooling/model-selection-strategies.md) — Selects the optimal model for a task by evaluating a hierarchy of command-line flags, configuration files, and historical usage. ([source](https://opencode.ai/docs/models/))

### Security & Cryptography

- [Action Resolution Policies](https://awesome-repositories.com/f/security-cryptography/identity-access-management/access-control/policy-enforcement-engines/action-resolution-policies.md) — Enforces granular permission rules that determine whether specific agent actions are allowed, blocked, or require manual validation. ([source](https://opencode.ai/docs/permissions/))

### Part of an Awesome List

- [AI Agents and Frameworks](https://awesome-repositories.com/f/awesome-lists/ai/ai-agents-and-frameworks.md) — Open-source framework for building and running coding agents.
- [AI & Machine Learning](https://awesome-repositories.com/f/awesome-lists/ai/ai-machine-learning.md) — Open-source coding agent supporting local models.
- [Agent Plugins](https://awesome-repositories.com/f/awesome-lists/devtools/agent-plugins.md) — The core agent framework for terminal-based AI coding.
- [Coding Assistants](https://awesome-repositories.com/f/awesome-lists/devtools/coding-assistants.md) — AI-driven coding environment for developers.
- [Official SDKs](https://awesome-repositories.com/f/awesome-lists/devtools/official-sdks.md) — The primary AI coding agent for terminal environments.

### DevOps & Infrastructure

- [Data Security Architectures](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/private-enterprise-management/administration-access-control/data-security-architectures.md) — Prioritizes data privacy by routing requests to trusted providers and processing context locally without persistent storage. ([source](https://opencode.ai/docs/enterprise/))

### Development Tools & Productivity

- [Command Configurations](https://awesome-repositories.com/f/development-tools-productivity/terminal-shell-cli/cli-tooling-frameworks/cli-tooling/argument-configuration-management/command-configurations.md) — Enables customization of command behavior, including model overrides, agent assignments, and automated subtask triggering. ([source](https://opencode.ai/docs/commands))
- [Structured Output Handlers](https://awesome-repositories.com/f/development-tools-productivity/api-development-sdks/software-development-kits/structured-output-handlers.md) — Validates structured data from models with built-in retry logic and robust error handling. ([source](https://opencode.ai/docs/sdk/))
