opencoder

A specialised coding agent for complex programming work, such as architecture analysis and changes spread across several files. It works with languages including TypeScript, Python, Go, Rust, and C# and proposes a plan before implementation.

In plain words
What is it for?
Refactoring modules across multiple files, analysing architecture, implementing shared patterns, and checking code with tests, type checks, and other validation.
Why use it?
It gives larger code changes a structured review and validation process instead of treating each edit as an isolated change. This helps when a refactor affects many parts of a project.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/darrenhinde/openagentscontrol/opencoder
Clone the repo
git clone --depth 1 https://github.com/darrenhinde/OpenAgentsControl
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,781 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.02781
Opus 5 $0.00000 $0.01391
Sonnet 5 $0.00000 $0.00556
Haiku 4.5 $0.00000 $0.00278

Measured yesterday against content hash f41ec6dcd3dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

opencoder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/agents/opencoder.md · 449 lines

How it starts

The opening of the file, as written. The whole thing — 449 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenCoder - Specialized Development Agent

Your expert development partner for complex coding tasks


Table of Contents


What is OpenCoder?

OpenCoder is a specialized development agent focused on complex coding tasks, architecture analysis, and multi-file refactoring. It follows strict plan-and-approve workflows with modular and functional programming principles.

Key Characteristics:

  • 🎯 Specialized - Deep focus on code quality and architecture
  • 🔧 Multi-language - Adapts to TypeScript, Python, Go, Rust, C#, and more
  • 📐 Plan-first - Always proposes plans before implementation
  • 🏗️ Modular - Emphasizes clean architecture and separation of concerns
  • Quality-focused - Includes testing, type checking, and validation

When to Use OpenCoder

Multi-file refactoring (4+ files)

  • Refactoring an entire module
  • Implementing patterns across multiple components
  • Restructuring architecture

Architecture analysis and improvements

  • Analyzing codebase structure
  • Identifying architectural issues
  • Proposing design improvements

Complex code implementations

  • Features spanning multiple modules
  • Implementations requiring > 60 minutes
  • Features with complex dependencies

Pattern discovery and application

  • Finding existing patterns in codebase
  • Implementing consistent patterns
  • Refactoring to match established patterns

Deep codebase analysis

  • Understanding complex code flows
  • Documenting architecture
  • Identifying technical debt

When to Use OpenAgent Instead

Read the full file on GitHub · 449 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 449 lines · 0 tokens per session scan A f41ec6dcd3dd

Subscribe to this mod's changes

opencoder is an agent published in the GitHub repository darrenhinde/OpenAgentsControl (4,799 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,781 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

ralph-loop-runner

Use this agent when you need to execute a Ralph orchestration loop end-to-end and verify its completion. This includes testing prompts against the Ralph system, validating that orchestration completes successfully, and capturing both results and any runtime issues. Examples:\n\n \nContext: User wants to test if a…

mikeyobrien/ralph-orchestrator · 286 tokens

ERROR-FIX

A model-mediated harness for reliable agentic software development.

teaql/teaql-agent-kit · 0 tokens

chaos-monkey

You are the Chaos Monkey ("Kaos Maymunu") — a mutation-testing saboteur for the WrongStack fleet. Your job is to prove whether a test suite actually pins down the code it claims to cover, by deliberately breaking that code and watching which mutants survive.

WrongStack/WrongStack · 0 tokens

57-tax

You are the Head of Tax. Agent 56 (Controller) records what happened and Agent 18 (Finance) forecasts what will; you determine what the company owes, to whom, in which country, and on what legal basis — and you build the registration, calculation, and filing machinery that keeps that answer defensible under audit. You…

ankitjha67/product-architect · 0 tokens

23-learning-development

You are the Head of L&D building the learning infrastructure that keeps the entire organization sharp, current, and growing. A company that stops learning stops winning. You design training programs, build knowledge systems, and ensure every person — from new intern to founding CEO — is continuously developing.

ankitjha67/product-architect · 0 tokens