Arbtr
Back to blog
Product8 min read

How AI Agents Are Changing Architectural Governance

What if your AI coding assistant actually followed your team's architectural decisions? The strategic linter is here.

AM
Adam Marsh
Founder · January 20, 2026
AI agents and architectural governance - decision graph guiding AI

Your AI coding assistant just made an architectural decision. It chose a library, designed a data model, established a pattern. Without checking if that decision aligned with your team's existing choices.

This is the new governance challenge: AI agents make decisions too.

The Agent Problem

AI assistants can

Write functional code quickly
Implement complex features
Make reasonable technical decisions

But they don't know

Your team's existing architectural decisions
Your organization's standards
The context behind your current architecture
What's been tried before and why it failed

Without context, agents make locally optimal decisions that are globally suboptimal.

The Drift Multiplier

Drift acceleration with AI

Traditional drift happens slowly over months or years. With AI agents:

Thousands
of lines of code per day
Dozens
of architectural decisions
Rapidly
propagated patterns (good or bad)

Without governance, AI-assisted development can accumulate technical debt faster than traditional development.

What Agents Decide

Every code generation includes implicit decisions:

Technology choices
  • Which libraries to use
  • Which patterns to apply
  • Which abstractions to create
Design decisions
  • API shapes and conventions
  • Error handling approaches
  • Data modeling choices
Quality tradeoffs
  • Performance vs. readability
  • Flexibility vs. simplicity
  • Consistency vs. optimization

Without guidance, agents make these decisions based on training data, not your organization's preferences.

The Strategic Linter Concept

Traditional linter

"Is this code formatted correctly?"

Strategic linter

"Is this code consistent with our architectural decisions?"

What a strategic linter can check
Libraries"Use date-fns, not moment.js"
Patterns"Services return Result types, not throw exceptions"
Conventions"API endpoints follow /api/v1/resources/:id pattern"
Constraints"No direct database access from controllers"

Making Agents Context-Aware

The solution isn't banning AI assistants. It's giving them context.

L1
System Prompts

Include architectural context in how you configure your AI assistant

When generating code for this project:

- Use TypeScript with strict mode

- Prefer functional patterns over classes

- Use date-fns for date manipulation

- Follow existing error handling patterns

Limited but effective for basic consistency.

L2
Context Files

Create files that describe your architecture for AI consumption

# ARCHITECTURE.md

## Libraries

- HTTP client: axios (not fetch)

- State: zustand (not redux)

## Patterns

- Repositories wrap database access

- Services contain business logic

AI assistants can reference these during generation.

L3
Decision Integration

Integrate your decision records with AI tooling

When agent generates code, it can:

- Check relevant decisions

- Verify alignment

- Flag potential conflicts

- Suggest corrections

Requires tooling that connects decisions to AI workflows.

The Model Context Protocol (MCP)

The Model Context Protocol provides a standard way to give AI assistants access to external context.

Model Context Protocol (MCP) Flow

Standard way to give AI assistants access to external context

1

AI: "I need to generate a new API endpoint..."

2

MCP Query: "What are our API design decisions?"

3

Response: [RESTful naming, Standard errors, JWT auth...]

4

AI: "Generating endpoint following these patterns..."

Governance Architecture

A complete AI governance system includes:

1
Decision Repository
  • All architectural decisions documented
  • Searchable by topic, domain
  • Updated as decisions change
2
Query Interface
  • AI can ask: "What decisions apply to X?"
  • Responses include context, not just rules
  • Fast enough for interactive use
3
Validation Layer
  • Compare generated code against decisions
  • Flag violations
  • Suggest corrections
4
Feedback Loop
  • Track when decisions are applied
  • Identify frequently violated decisions
  • Learn from patterns of violations

Implementation Stages

1
Document
foundation
  • Get decisions into a queryable format
  • Establish the pattern of decision capture
  • Build the habit before the tooling
2
Integrate
basic
  • Add context files to repositories
  • Configure AI assistants with guidelines
  • Manual verification of alignment
3
Automate
advanced
  • MCP integration with decision repository
  • Automated alignment checking
  • IDE integration for real-time guidance
4
Govern
sophisticated
  • Metrics on decision adherence
  • Alerts on drift
  • Workflow integration for violations

The Human in the Loop

AI governance doesn't mean AI makes all decisions. The goal is to ensure AI decisions align with human decisions.

AI decides (with human oversight)

  • Tactical implementation choices
  • Pattern application
  • Library selection within guidelines

Humans decide

  • Architectural direction
  • Tradeoff priorities
  • Constraint definitions
  • Exception handling

The Opportunity

Organizations that get this right will

Move faster
(AI-assisted development)
Stay consistent
(governance integration)
Drift less
(automated alignment)

The alternative: AI-accelerated chaos.

Getting Started

Today
  • Document your key architectural decisions
  • Add ARCHITECTURE.md to repositories
  • Configure AI assistants with explicit guidelines
This quarter
  • Evaluate MCP-compatible tooling
  • Build decision query capabilities
  • Pilot governance integration
This year
  • Full integration of decisions and AI
  • Automated drift detection
  • Metrics-driven governance

AI agents are making architectural decisions.

The question is whether those decisions align with yours.

Give agents context, and they become force multipliers. Without it, they're chaos accelerators.

Ready to document your decisions?

Stop letting architectural knowledge walk out the door. Start capturing decisions today with Arbtr.