跪拜 Guibai
← Back to the summary

Run AI Agents Like a Company: Roles, Handbook, and Automated Acceptance

Agent Era: Your Identity Is Defined by You

Author: FengY_HYY

Tags: Game Development, Artificial Intelligence, Agent

One day, after work, I was still sitting at my computer tinkering with my own project, devoutly wishing to GPT, asking it to continue modifying the project according to my ideas. I think this period is both the happiest and most agonizing time for programmers. On one hand, we enjoy finishing projects in a few nights that used to take months; on the other, what is our sense of presence in these projects?

Recently I woke up: fellow colleagues, give up on praying. What comes out of that is not your thing. If you can do it, then your neighbor who plays guitar, little A, can do it too. He's not even from a programming background, but he used a half-baked homemade guitar tab APP to attract a girl.

This is an era of product explosion. We programmers have finally achieved the ultimate language: programming in natural language, but with it, we have no moat. You can claim your program design is flawless, able to stand firm under a million-user flash sale scenario, but no one ever comes to your site for a flash sale.

Previously, we could sell skills to make money, helping bigshots with resources build a real million-seckill APP, but now these bigshots only need one elite programmer + AI, or even they can do it all themselves.

More monks than porridge is the norm in the future. High wages in this industry are about to end, because human labor is no longer the most important resource in this industry, and our software industry is about to enter the era of "dark factory" (unmanned factory). You say you can work 996, but the computer on his desk has AI working 24 hours non-stop.

It's just the old path of manufacturing repeating itself. This is also the inevitable development of the industry. When an industry's productivity is replaced by machines, that's a blessing for this era, and a misfortune for the people in this industry.

In manufacturing, the most sought-after are not the workers on the assembly line, but the engineers who design the entire assembly line. They fiddle around, place machines in the right positions, and keep the whole system running 24/7. They are the bosses of the machines, and they also earn people's respect, because from the perspective of human society as a whole, productivity has soared.

We must also be bosses. We manage ClaudeCode, Codex, Workbuddy, etc., and let them run at full speed according to plan. When going out, your identity is given by yourself. Previously, if you told friends you manage a hundred people, they thought you were crazy. Now, you say you manage a hundred Agents, and your boss is overjoyed.

Be the Boss

Being a boss isn't easy. A boss must design an organization that can truly produce products people love, and most importantly, maintain income to support the organization and the boss.

I abstracted this organization into nine dimensions, with the relationships shown in the figure:

Screenshot

It looks complicated, but it doesn't require every dimension to be perfect. If you've been in small companies, you know that a document repository, an instant messaging tool, a code repository—that's all you need. Everything is there.

Organizations grow slowly, not designed from the start. You can never predict what will happen. Andy Grove said, "Let chaos reign, then rein in chaos." That's the meaning.

From my own experience building organizations, you only need a code repository, a document repository, and a few roles to get an organization running. Taking a game company as an example, here's how I defined it:

1. Company Handbook

I've been in many companies, and most employees rarely read the company handbook. They get information by communicating with colleagues and integrate into the company. But for an Agent organization, the company handbook is crucial. It provides the operation of strategy, organization, and production system, and is the instantiation of the organizational design in your mind.

In the handbook, I define company goals, OKR system, daily reports, delivery acceptance rules, communication rules, and organizational structure. Especially OKR and daily reports: although humans hate them, AI agents love them, and they are a very important way for the boss to understand organizational progress and control direction.

Whether OKR is better than KPI, or daily reports over weekly reports, you can design according to your own organizational vision. I think it's fine. Previously, if you started a company and had employees complete KPIs, they'd complain. Now, you can get perfect daily reports and KPI reports, as long as you ask your Agent to write them.

Organizational structure, which is the positions I define for the company, I think don't define too many positions at the beginning. If you define 100 positions right away, you'll be overwhelmed.

So I started with three positions: Designer, Lead Developer, and QA Engineer. They handle game aesthetics, code development, and quality checks. I didn't set a CodeReviewer position, because I think what Potato Sister (@poteto) said is very correct: don't use Agents for adversarial review, because they will always raise issues to complete their tasks, and another Agent will fix them. Most of the time, the issues exist, but they just slow down the iteration speed of the organization. From the boss's perspective, the key to an organization's survival is market recognition, not polishing technical details.

So the QA engineer's task is to reproduce the Lead Developer's acceptance process and ensure it executes successfully. QA is excluded from OKRs because its duties are fixed and don't need refined goals. These are some flexible considerations in organizational design; you must actually do it to discover these things.

2. Production System

The production system is actually the most important asset in this company. Because my organization is a software company, it's essentially the code repository. It provides: execution, collaboration, acceptance, and resources.

Execution: I mounted a browser MCP to the Agent and onboarded it as Lead Developer; I gave the Designer some design principle Skills and an image generation MCP. This is the execution layer, and also the concrete strategy for context management. Everyone says context is important, but how to manage it? I think it's to decompose at the role level. Giving an Agent 100 Skills makes it your personal assistant; giving an Agent precise Skills and MCPs makes its role positioning more accurate.

Collaboration: also placed within the code repository. I set up inboxes and outboxes for each role, which are just files. I haven't given roles an instant messaging Skill yet; I think it's unnecessary at this stage. Reading daily reports is enough.

Acceptance: this is the most important thing. As the boss, how do we ensure the organization is actually doing things? A real human organization usually hires a dedicated "overseer" whom the boss fully trusts, and usually it ends up as infighting between overseer and executor. We programmers have seen many such cases. So our acceptance must not trust any intelligence (including Agents). We only trust programs, because we know programs are strict and unambiguous. We can pre-design acceptance functions, configure CI, HOOKs, so that acceptance programs run automatically and Agents report results.

Resources: the products produced, the value created by the organization, and the key to keeping it running.

3. Governance, Knowledge Base, and Evolution

An organization that can quickly develop products is not rare. An organization that, while developing products forward, looks back at its path, and precipitates experiences into a knowledge base, feeding them back into future product development—that's rare. Over time, the organization accumulates more and more practical experience, and these valuable data will be the most precious thing.

How to look back and organize experience, I'm still exploring. I won't comment for now.

Real-World Results

The first generation game from this organization has been uploaded to TapTap. You can click in.

I took a screenshot of the game running: Old version demo

At that time, the organization had just been formed, and I was still doing most of the prompting. Now, the organization has entered a self-running loop. The second version hasn't been uploaded yet, but I can make a gif to see the comparison:

New version demo

The company's code is fully open source. Welcome to Star: LunarEchoes