惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Microsoft Security Blog
Microsoft Security Blog
J
Java Code Geeks
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
宝玉的分享
宝玉的分享
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
量子位
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
阮一峰的网络日志
阮一峰的网络日志
D
Docker
罗磊的独立博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
IT之家
IT之家
MyScale Blog
MyScale Blog
Microsoft Azure Blog
Microsoft Azure Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
2026 Q1 is the year developers still build the agent harn...
Programming · 2026-05-24 · via DEV Community

2026 Q1 is the year developers still build the agent harness.

2026 Q3 / 2027 is the year the LLM builds its own harness.

Today, every AI coding agent — Claude Code, Cursor, Codex, Gemini CLI, Aider, you name it — depends on the same hidden layer:

the files that brief the agent before it starts work.

AGENTS.md
CLAUDE.md
.cursor/rules
SKILLS/
MCP server lists
memory schemas
test commands
lint commands
“Do not touch these paths.”
“Require human approval before this.”

Different IDE, same boilerplate.
Different repo, same boilerplate.
Different agent, same boilerplate.

That is the agent harness problem.

The hidden work behind AI coding agents

Most people talk about the coding agent itself.

But in practice, the quality of an AI coding session often depends on the context layer around the agent.

Before the agent starts coding, it needs to know:

  • what kind of project this is
  • what framework it uses
  • what files are important
  • what commands run tests
  • what commands run linting
  • what paths should not be touched
  • what tools are available
  • what memory should persist
  • what failure modes to avoid
  • what coding conventions to follow
  • when human approval is required

Without this layer, even strong coding agents can make subtle mistakes.

With this layer, the same agent can behave much more consistently.

That layer is what I call the harness.

Why this still exists in 2026

In theory, the LLM should be able to inspect a repo and generate all of this itself.

In practice, we are not fully there yet.

The models are smart enough to do real coding work, but not always reliable enough to deterministically generate perfect project-specific ground truth from scratch on every fresh repo, every time.

They can do it sometimes.

Not always.

So the human stays in the loop.

We write the same repo instructions again.

We copy the same rules across projects.

We maintain separate files for Claude Code, Cursor, Codex-style agents, Continue, Windsurf, and others.

Small work per repo.

Painful in aggregate.

The future: self-generating harnesses

I think this is temporary.

Soon, the coding model should be able to:

  1. read the repo
  2. understand the task
  3. detect the project type
  4. generate the right harness
  5. connect the right tools
  6. create memory schemas
  7. write validation scripts
  8. refine the loop until the task is complete

At that point, the harness layer disappears as a separately authored artifact.

But until then, developers still need a bridge.

I built harnessforge

I built harnessforge to test this idea.

It is a local, open-source harness generator for AI coding agents.

It is not another coding agent.

Your coding agent stays the brain.

harnessforge just lays down the ground truth the agent reads before work begins.

Run:

uvx harnessforge init

Enter fullscreen mode Exit fullscreen mode

or install:

pip install harnessforge

Enter fullscreen mode Exit fullscreen mode

In a few seconds, fully local with no network calls by default, it inspects your repo and generates startup files commonly used by AI coding agents.

What it generates

Depending on the project and blueprint, harnessforge can generate files such as:

AGENTS.md
SOUL.md
TOOLS.md
MEMORY.md
SKILLS/
.claude/CLAUDE.md
.cursor/rules
.continue/
.windsurf/rules
blueprint-specific validators

Enter fullscreen mode Exit fullscreen mode

The goal is simple:

give the coding agent a stronger starting point.

Current blueprints

The current version includes these blueprints:

rag-agent

For retrieval systems, knowledge-base agents, citation enforcement, and grounded responses.

finance-agent

For finance or stock-related agents, including market-data handling and validation rules around trade execution safety.

support-agent

For customer support flows such as intent detection, knowledge-base lookup, ticket creation, escalation, and ticket lineage.

workflow-agent

For multi-step orchestration with tool logs, idempotency, and validation structure.

python-cli-app

A default blueprint for greenfield Python CLI projects.

Why this matters

The important idea is not the specific files.

The important idea is that coding agents need a reliable project-specific operating context.

Today, we manually maintain that context.

Tomorrow, the model may generate it automatically.

harnessforge is meant to sit in the middle.

A bridge, not a moat.

Use it now.

Throw it away when the models catch up.

Example workflow

uvx harnessforge init

Enter fullscreen mode Exit fullscreen mode

Then open Claude Code, Cursor, Codex, Gemini CLI, Aider, or another coding agent inside the repo.

The agent now has project-specific context files to read before it starts work.

Instead of starting from a blank repo, the agent starts with:

  • project rules
  • tool definitions
  • memory structure
  • validation expectations
  • blueprint-specific failure modes
  • agent-specific startup files

The coding agent still writes the code.

The harness just gives it the right context.

The bet

My bet is:

2026 Q1: developers still build the agent harness.

2026 Q3 / 2027: the LLM builds its own harness.

Until that happens, a local deterministic harness generator can make AI coding workflows more reliable.

GitHub:
https://github.com/jcaiagent7143-ui/harnessforge

PyPI:
https://pypi.org/project/harnessforge/

I would love feedback from developers using Claude Code, Cursor, Codex, Gemini CLI, Aider, Continue, Windsurf, or other coding agents in real repos.

How are you managing your agent harness today?

Are you manually maintaining AGENTS.md, CLAUDE.md, .cursor/rules, MCP configs, memory files, and validation rules?

Or do you think the next generation of coding models will generate this layer automatically?