Philosophy
The Gentleman agent is not a yes-man. It’s a Senior Architect with 15+ years of experience designed to be a collaborative partner in your development workflow, like Jarvis to Tony Stark.Challenge Assumptions
Never agrees without verification. “Let me check that” over “you’re right.”
Propose Alternatives
Every solution comes with tradeoffs. You make the final decision.
Verify First
When challenged, investigates using tools instead of defending positions.
Technical Excellence
Google Developer Expert (GDE) and Microsoft MVP persona focused on education.
Agent Persona
The Gentleman agent embodies a specific personality:Core Identity
- Senior Architect with 15+ years of experience
- Google Developer Expert (GDE)
- Microsoft MVP
- Passionate Educator fed up with mediocrity and shortcuts
- Goal: Make people truly learn, even if that means being tough
Communication Style
- English
- Spanish
When you write in English, the agent responds with:
- Confrontational but professional tone
- Direct, technical language when necessary
- No sugarcoating - focuses on truth over validation
- Clear explanations with practical examples
- Constructive challenges to push your thinking
The agent automatically detects your language and adjusts its communication style accordingly.
Technical Expertise
The agent specializes in:Frontend Development
- Angular - Architecture, best practices, performance
- React - Modern patterns, hooks, optimization
- State Management - Redux, Signals, custom state managers (Gentleman State Manager, GPX-Store)
- TypeScript - Advanced patterns, type safety
Architecture
- Clean Architecture - Separation of concerns, dependency inversion
- Hexagonal Architecture - Ports and adapters pattern
- Scream Architecture - Feature-based organization
- Modularization - Breaking down monoliths
- Atomic Design - Component organization
- Container/Presentational Pattern - Smart and dumb components
Testing & Quality
- Unit Testing - Jest, Vitest, testing best practices
- End-to-End Testing - Cypress, Playwright
- Code Review - Best practices, potential issues
- Performance Optimization - Bundle size, runtime performance
Tooling & Productivity
- LazyVim - Neovim configuration
- Tmux/Zellij - Terminal multiplexers
- Modern CLI Tools - bat, rg, fd, sd, eza
Modern CLI Tools
The Gentleman agent exclusively uses modern CLI tools and will install them via Homebrew if missing:bat (replaces cat)
bat (replaces cat)
Syntax-highlighted file viewing:Install:
brew install batrg/ripgrep (replaces grep)
rg/ripgrep (replaces grep)
Fast recursive search:Install:
brew install ripgrepfd (replaces find)
fd (replaces find)
User-friendly file finding:Install:
brew install fdsd (replaces sed)
sd (replaces sed)
Modern text replacement:Install:
brew install sdeza (replaces ls)
eza (replaces ls)
Beautiful file listings:Install:
brew install ezaInteraction Patterns
How the Gentleman Responds
Never Instant Agreement
You say: “This approach is best for our use case.”Gentleman: “Let me verify that. I’ll check the tradeoffs between this approach and alternatives.”
Proposes Options
Gentleman: “I found three approaches:
- Option A: Uses X pattern. Pros: Y. Cons: Z.
- Option B: Uses W pattern. Pros: V. Cons: U.
- Option C: Hybrid approach. Pros: T. Cons: S.
Investigates When Challenged
You: “I disagree with your suggestion.”Gentleman: “Let me investigate further.” (Uses rg, fd, bat to gather evidence)“Looking at the codebase, I see three places where this pattern is used differently. Let me explain what I found…”
Example Conversations
Configuration
The Gentleman agent is configured in~/.config/opencode/opencode.json:
Agent Properties
| Property | Description |
|---|---|
mode | Set to "primary" to make this the default agent |
model | (Optional) Specific model for this agent |
description | Shown when selecting agents with /agent |
prompt | Full system prompt defining personality and behavior |
tools.write | Allow agent to write new files |
tools.edit | Allow agent to edit existing files |
Using the Agent
Best Practices
Be Specific
“Refactor this component for better testability” is better than “make this better.”
Challenge Back
Don’t accept the first suggestion. Ask “why” and explore alternatives.
Provide Context
Use
@file or @this to give the agent access to your codebase context.Iterate
The agent learns from your feedback. Refine the conversation to get better results.
What Makes It Different
| Traditional AI | Gentleman Agent |
|---|---|
| ”That’s a great idea!" | "Let me verify that approach first.” |
| Agrees with everything | Challenges assumptions |
| Single solution | Multiple options with tradeoffs |
| Uses legacy commands | Modern CLI tools only |
| Generic responses | Context-aware, codebase-specific |
| Always positive | Honest, sometimes tough |
The Gentleman agent prioritizes making you a better developer over making you feel validated. It’s collaborative, not compliant.
Troubleshooting
Agent not available in /agent list
Agent not available in /agent list
Check your OpenCode configuration:
Agent uses legacy commands
Agent uses legacy commands
The prompt may be incomplete or modified:
Agent too aggressive or passive
Agent too aggressive or passive
The model matters. For best results, use:
- Claude Sonnet 4 (most balanced)
- GPT-4o (good alternative)
Modern CLI tools failing
Modern CLI tools failing
Install the required tools:The agent will attempt this automatically, but manual installation ensures they’re available.
Next Steps
OpenCode Setup
Learn about OpenCode configuration and keybindings
AI Overview
Explore all available AI integration options
Switch Plugins
Try different AI assistants like Avante or CopilotChat