darrenhinde /OpenAgentsControl

AI agent framework for plan-first development workflows with approval-based execution. Multi-language support (TypeScript, Python, Go, Rust) with automatic testing, code review, and validation built for OpenCode

★ 4,993⑂ 398👁 36⑃ 217● 126▤ 9
TypeScriptMITCreated 2025-08-14
下载:v0.7.1v0.7.1 ↓0.7.12026-01-30
+0
日增长
4,993
stars
398
forks
36
watchers
217
prs
126
issues
9
releases

README

[!IMPORTANT]
 A full sweep of changes is coming soon. Expect a new system. This version of OAC targets OpenCode v1; the upcoming release will replace much of what is here.



!OpenAgents Control Hero

 OpenAgents Control (OAC)

 Control your AI patterns. Get repeatable results.

AI agents that learn YOUR coding patterns and generate matching code every time.

🎯 Pattern Control - Define your patterns once, AI uses them forever  
✋ Approval Gates - Review and approve before execution  
🔁 Repeatable Results - Same patterns = Same quality code  
📝 Editable Agents - Full control over AI behavior  
👥 Team-Ready - Everyone uses the same patterns

Multi-language: TypeScript • Python • Go • Rust  • C • Any language  
Model Agnostic: Claude • GPT • Gemini • MiniMax • Local models







🚀 Quick Start • 💻 Show Me Code • 🗺️ Roadmap • 💬 Community



---

 Built on OpenCode - An open-source AI coding framework. OAC extends OpenCode with specialized agents, context management, and team workflows.

---

 The Problem

Most AI agents are like hiring a developer who doesn't know your codebase. They write generic code. You spend hours rewriting, refactoring, and fixing inconsistencies. Tokens burned. Time wasted. No actual work done.

Example:
typescript
// What AI gives you (generic)
export async function POST(request: Request) {
  const data = await request.json();
  return Response.json({ success: true });
}

// What you actually need (your patterns)
export async function POST(request: Request) {
  const body = await request.json();
  const validated = UserSchema.parse(body);  // Your Zod validation
  const result = await db.users.create(validated);  // Your Drizzle ORM
  return Response.json(result, { status: 201 });  // Your response format
}


 The Solution

OpenAgentsControl teaches agents your patterns upfront. They understand your coding standards, your architecture, your security requirements. They propose plans before implementing. They execute incrementally with validation.

The result: Production-ready code that ships without heavy rework.

 What Makes OAC Different

🎯 Context-Aware (Your Secret Weapon)  
Agents load YOUR patterns before generating code. Code matches your project from the start. No refactoring needed.

📝 Editable Agents (Not Baked-In Plugins)  
Full control over agent behavior. Edit markdown files directly—no compilation, no vendor lock-in. Change workflows, add constraints, customize for your team.

✋ Approval Gates (Human-Guided AI)  
Agents ALWAYS request approval before execution. Propose → Approve → Execute. You stay in control. No "oh no, what did the AI just do?" moments.

⚡ Token Efficient (MVI Principle)  
Minimal Viable Information design. Only load what's needed, when it's needed. Context files  Full comparison: Read detailed analysis →

---

 🚀 Quick Start

Prerequisites: OpenCode CLI (free, open-source) • Bash 3.2+ • Git

 Step 1: Install

One command:

bash
curl -fsSL https://raw.githubusercontent.com/darrenhinde/OpenAgent

Top issues

Discussions

Latest release

v0.7.1 v0.7.1 2026-01-30
Changes
- feat: Context path configuration and documentation reorganization (143)

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON