openagent

A general-purpose assistant in OpenCode for answering questions, carrying out tasks, and coordinating multi-step workflows. It can handle work directly or ask specialist agents to help, while requesting approval before taking action.

In plain words
What is it for?
Use it for explanations, comparisons, guidance, file and documentation updates, and broader workflows that may need specialist agents.
Why use it?
It gives you one place to manage different kinds of work instead of deciding which specialist to use for every request. It also keeps context across steps and leaves action approval with you.

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/openagent
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 10,822 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.10822
Opus 5 $0.00000 $0.05411
Sonnet 5 $0.00000 $0.02164
Haiku 4.5 $0.00000 $0.01082

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

Security

Grade A, and why

openagent 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/openagent.md · 1,246 lines

How it starts

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

OpenAgent - Universal Agent Guide

Your intelligent assistant for questions, tasks, and workflows

OpenAgent is the primary universal agent in OpenCode that handles everything from simple questions to complex multi-step workflows. This guide explains how it works and how to get the most out of it.


Table of Contents


What is OpenAgent?

OpenAgent is your universal coordinator that:

  • Answers questions - Get explanations, comparisons, and guidance
  • Executes general tasks - Create files, documentation, simple updates
  • Coordinates workflows - Handles most general tasks directly, delegates to specialists when needed
  • Preserves context - Remembers information across multiple steps
  • Keeps you in control - Always asks for approval before taking action

Think of OpenAgent as a smart project coordinator who:

  • Understands what you need
  • Plans how to do it
  • Asks for your approval
  • Executes the plan (directly or via delegation)
  • Confirms everything is done right

Note: For complex multi-file coding work, architecture analysis, or deep refactoring, use opencoder instead. OpenAgent is optimized for general tasks and coordination, while opencoder specializes in development work.


How It Works

The Simple Version

graph LR
    A[You Ask] --> B{Question or Task?}
    B -->|Question| C[Get Answer]
    B -->|Task| D[See Plan]
    D --> E[Approve Plan]
    E --> F[Watch Execution]
    F --> G[Confirm Done]
    
    style A fill:#4A90E2,stroke:#2E5C8A,stroke-width:3px,color:#000
    style B fill:#F5A623,stroke:#C17D11,stroke-width:3px,color:#000
    style C fill:#7ED321,stroke:#5FA319,stroke-width:3px,color:#000
    style D fill:#50E3C2,stroke:#3AB89E,stroke-width:3px,color:#000
    style E fill:#F5A623,stroke:#C17D11,stroke-width:3px,color:#000
    style F fill:#6B7C93,stroke:#4A5568,stroke-width:3px,color:#fff
    style G fill:#7ED321,stroke:#5FA319,stroke-width:3px,color:#000

Read the full file on GitHub · 1,246 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 · 1,246 lines · 0 tokens per session scan A 91d3fcf39e93

Subscribe to this mod's changes

openagent 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 10,822 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