Model + Harness = Agent: A Clear Explanation of the Three-Layer Architecture

Interviewers focus on complex Agent projects, assessing systemic engineering across models, prompts, and Harness.
AI application interviews are shifting from API calls and prompts to deep dives into agent project architecture. A Bilibili creator notes that one or two complex Agent projects are most questioned and best demonstrate engineering capability. The article uses "Model + Harness = Agent" to break down the three layers: model as reasoning foundation, prompts throughout the system, and Harness as the action skeleton. It also clarifies where Skill, RAG, and Function Calling fit, distinguishes Harness from HOMOS, and advises that language choice depends on integration needs, Java Agent frameworks lag behind Python, and VS Code is recommended.
Title
Model + Harness = Agent: A Clear Explanation of the Three-Layer Architecture
Meta Description
Using the equation "Model + Harness = Agent" to explain the relationship between prompt engineering, context engineering, and the Harness architecture, and to clarify where Skill, RAG, and Function Calling fit in agent projects, with insights on interview preferences and development choices.
Article Content
A noticeable shift is happening in interviews for AI application development roles: interviewers are no longer satisfied with candidates who can call APIs and write prompts. Instead, they repeatedly probe into the architectural details of the agent project on the resume. According to observations from a Bilibili creator during a livestream, if a resume lists one or two sufficiently complex agent projects, interviewers will most likely focus their questions around them, asking little else. Behind this preference is a screening for systemic ability—the ability to turn a model into a product.
Why Interviewers Focus on Agent Projects
Anyone can write a simple large model call, but a complete agent project involves model selection, prompt organization, context management, tool invocation, and skill orchestration. Few people can clearly explain how these layers work together.
The Bilibili creator stated plainly during the livestream that he makes more than five employment coaching calls every day, giving him direct insight into interviewers' questioning preferences. His judgment is simple: complex agent projects are currently the part of a resume most likely to be questioned and best able to demonstrate engineering capability.

This also explains why concepts like "Harness architecture" are increasingly common in interview contexts—it answers the unavoidable question of "what layers make up an Agent and how are responsibilities divided among them."
Prompts, Models, Harness: What Each of the Three Layers Does
The livestream summarized the relationship with a single equation: Model + Harness = Agent. This equation is worth breaking down.
The Model Is the Capability Foundation
Large models provide reasoning and generation capabilities. The project demonstrated in the livestream connected multiple models, including DeepSeekAd v4 pro and flash versions, GPT-5.1, and others. The model itself is the "thinking" part of an Agent, but with only a model, it is still just a chat box.
Prompts Are the Expression of Intent
Prompts have a broader scope than many people realize. The creator emphasized that the question entered in the input box is called a prompt, and the pre-set role definitions and task instructions in the system are also called prompts. In his project code, prompts are distributed across multiple locations, not centralized in a single file—this precisely shows that prompt engineering runs throughout the system, rather than being a one-time input action.
Context Management is an extension of prompt engineering in the Agent context and a point that is easily probed deeply in interviews. The model's context window is limited, and a complex task often involves long documents, multi-turn tool return results, and historical conversations. Therefore, trade-offs must be made before sending to the model: which information to keep in its original form, which to summarize and compress, and which to load on demand via retrieval. Common methods include sliding window truncation, structured trimming of tool outputs, externalizing long-term knowledge to RAG, and maintaining a "task state summary" in the system prompt. The quality of context management directly determines whether an Agent will "forget its goal" or become "inconsistent" during long tasks, and this is also a key dividing line between "can call APIs" and "can build products."
Harness Is the Skeleton That Makes the Model Act
Harness is the architectural layer of the Agent, responsible for turning the model's output into actual actions. The creator used "Code is Agent" as an example: Claude Code in the command line is an agent. It doesn't just answer questions; it can generate files, perform data analysis, write test cases, execute test cases, and even handle specific tasks like booking tickets.

Here, a potentially confusing boundary needs clarification: Harness is not the same as a specific product. When answering a question, the creator explicitly distinguished them: Harness refers to the architecture of an agent, while something like HOMOS is a general-purpose agent built on the Harness architecture—the two are related as idea and implementation.
Code Agent is one of the most typical implementations of the Harness architecture. Unlike ordinary chatbots, a Code Agent runs in an execution environment with file system, terminal, and network access, and can autonomously complete a closed loop of "read requirements—plan steps—generate code—write files—run tests—fix based on errors." Claude Code, Cursor's Agent mode, and the open-source OpenHands all belong to this category. Its core difficulty is not code generation itself, but the design of the tool invocation protocol: how to encapsulate "write file," "execute command," and "search codebase" into tool descriptions that the model can understand, how to control the granularity of individual actions, and how to manage context across multiple rounds to avoid overflowing the window with historical information. When an interview asks "how does your Agent decide what to do next," it is testing exactly this planning and tool orchestration logic.
Where Skill, RAG, and Function Calling Fit in the Project
The livestream placed several high-frequency concepts into their proper positions, which is very helpful for understanding the internal structure of an Agent.
- Skill: A capability within the agent. Each directory in the project is a Skill, corresponding to a type of executable capability.
- RAG: Retrieval augmentation, used to supplement context when the data volume is large. The creator called it a "consultation knowledge base," whose core role is to retrieve relevant content from massive data and feed it to the model.
- Function Calling: Tool invocation, a capability of the model, but the creator pointed out that this usage is now relatively less common.
These concepts can appear simultaneously in one project. In the project structure shown by the creator, Skills exist side by side as directories, prompts are scattered in multiple places, and model configurations are centralized in config—this is a typical multi-layer collaborative structure.
The difference between Function Calling and Skill deserves separate explanation, as the two are often conflated. Function Calling is a low-level capability provided by model vendors: developers use JSON Schema to describe the name, parameters, and purpose of callable functions. The model decides during reasoning whether to call and what parameters to pass, and external code actually executes and returns the result to the model. It is essentially a "structured output + tool routing" mechanism. Skill, on the other hand, is an application-layer concept, referring to a complete encapsulated capability (such as "query order" or "generate report"), which may internally call multiple functions, combine multi-step prompts, or even nest sub-Agents. It can be said that Function Calling is one of the technical means to implement a Skill, but a Skill has coarser granularity and stronger business semantics. The creator mentioned that Function Calling is "now relatively less common," partly because higher-level Agent frameworks and standardized tool interfaces like MCP (Model Context Protocol) are replacing hand-written function descriptions.
Development Choices: Language Is Not the Key, Requirements Are
A large number of questions in the livestream focused on technology choices, and the creator's answers repeatedly pointed to the same criterion: look at the project requirements.
Is it necessary to develop an Agent based on Java? Not necessarily; Python works too. He gave two scenarios: if a company already has an OA system written in Java and wants the agent to automatically fill out reimbursement forms, then it needs to integrate with the existing system; platforms like JD.com have AI customer service on their self-operated chain, which also requires integration with existing projects. Integration requirements determine the language choice, not the other way around.
Regarding Java ecosystem Agent frameworks, the creator's attitude is quite direct: he does not recommend using them in company projects, nor spending time learning them, unless the company explicitly mandates a specific framework. He mentioned that he has used many Java frameworks, and the gap with the Python ecosystem is "far behind."
As for IDEs, his recommendation is VS Code, which is the most used because it is free and has a mature ecosystem; the frequency of use of traditional heavy IDEs is declining.

MCP (Model Context Protocol) is an important background for understanding the current Agent tool ecosystem. It was proposed and open-sourced by Anthropic, with the goal of standardizing "how models/Agents discover and invoke external tools and data sources." Before MCP, each tool integration required hand-writing a set of function descriptions and adapter code for a specific framework, making cross-framework and cross-language reuse difficult; MCP abstracts tools, resources, and prompt templates into a unified server-side protocol, and the Agent only needs to connect as a client. This explains why the ecosystem disadvantage of languages like Java in Agent frameworks is further magnified—the Python community has the richest frameworks, tools, and examples, and while MCP alleviates language binding to some extent, mainstream implementations and best practices remain concentrated on the Python side. In an interview, if asked "how to integrate an Agent with the company's existing systems," mentioning MCP will be a plus.
A Few Practical Suggestions for Beginners
Based on the discussion in the livestream, several actionable suggestions can be summarized.
First, understanding the architecture is more important than memorizing frameworks. Harness, HOMOS, and various open-source Agent frameworks update very quickly, and the concepts themselves are evolving—the creator mentioned that the Harness concept was only recently proposed, but related usage existed earlier. Grasping the structure of "Model + Harness = Agent" has more long-term value than chasing specific implementations.
Second, include one complex project in your resume that you can explain thoroughly. Interviewers probe into details: where prompts are placed, how models are selected, how Skills are divided, and under what scenarios RAG is triggered. These can only be answered by those who have actually done it.
Third, don't agonize over front-end languages. The creator's judgment is that interviews basically don't ask about front-end now, and JS and TS are sufficient for Agent-related coding work.
Some viewers in the livestream felt that answering others' questions was a waste of time, and the creator's response was direct: you can step out first and come back when the formal content starts. This bluntness reflects a reality of learning about Agents today—high-density content requires dedicated blocks of time to digest, and listening to a few concepts in fragments makes it hard to truly build an understanding of the architecture.
One-line Summary
Interviewers focus on complex Agent projects in resumes, assessing systemic engineering capability across models, prompts, and the Harness architecture.
Paragraph Summary
The article points out that AI application development interviews are shifting from "can call APIs and write prompts" to probing deeply into the agent project architecture on the resume. Based on extensive employment coaching experience, a Bilibili creator judges that one or two sufficiently complex Agent projects are most likely to be questioned and best demonstrate engineering capability. The article uses "Model + Harness = Agent" to break down the three layers: the model is the reasoning foundation, prompts run throughout multiple parts of the system rather than just the input box, and Harness is the architectural skeleton that makes the model act. It also clarifies where Skill, RAG, and Function Calling fit in the project, and distinguishes the Harness architectural idea from specific products like HOMOS. On technology choices, language is determined by project integration requirements; Java ecosystem Agent frameworks lag significantly behind Python and are not recommended for unnecessary learning; VS Code is recommended as the IDE. Finally, it offers suggestions such as valuing architectural understanding, polishing one project you can explain thoroughly, and not agonizing over front-end languages.
Related articles

Pebble Launches $75 AI Ring: An AI Assistant on Your Fingertip
Pebble launches the $75 Index 01 AI ring, focused on notes, reminders, and AI agent invocation. This article analyzes its low-price strategy, fingertip interaction logic, and the real challenges of wearable AI hardware.

Jensen Huang's 260 'I Don't Remember/Don't Know' Responses in Congressional Hearing Spark Controversy
NVIDIA CEO Jensen Huang said "I don't remember" 138 times and "I don't know" 122 times at a closed-door congressional hearing—260 evasive responses total. This analysis examines executive accountability and AI chip regulatory tensions, and notes interpretive limits amid public information gaps.

XGIMI Elfin Flip 4K Review: Impressive Picture Quality in a Compact Body
XGIMI Elfin Flip 4K projector review: impressive 4K picture quality in a compact body, cheaper than most triple-laser projectors, a great entry into laser projection.