Building a Personal AI Agent With a Small Team: A One-Month Retrospective
This article reviews how a small team built a working personal AI agent prototype in about a month. It explains why single-session assistants fall short for ongoing work, and outlines five core product trade-offs: designing for reliable delivery instead of partial completion, organizing agents by role, using persistent roles with layered memory, giving each agent an isolated cloud runtime, and removing unnecessary UI as models improve. It also covers the supporting infrastructure and the engineering focus areas for developers.
1. Background: Rethinking How People and AI Collaborate
As large models take on general knowledge work such as coding, retrieval, writing, and data analysis, the central problem in the industry is no longer whether a model can answer a question. It is whether users can genuinely hand off an entire task. The key judgment behind this retrospective is that the real barrier for an AI product is getting users to let go of the task and their attention, not delivering a nice-looking demo.
Most traditional AI assistants are built around a single session: the user asks, the model answers, the session ends, and the context breaks. This works for Q&A but struggles to support continuous work. A real personal agent needs three foundational capabilities:
- Always-on operation: tasks can keep progressing while the user is offline;
- Long-term memory: preferences, goals, and past conclusions persist across tasks;
- Tools and a runtime environment: the agent can operate browsers, desktops, and business systems, rather than only producing text suggestions.
The product goal therefore shifts from “generating content” to “reliably completing the whole task.” This is the standard used for every trade-off that follows.
2. Organization: A Small Team, a Separate Space, and Short Prototype Cycles
According to the retrospective, the team was small, worked in a separate office area for about a month, produced an internal prototype, and then pushed it to external users through intensive trials and hundreds of rounds of manual guidance. This model matters especially for agent products, for three reasons:
- Agent behavior depends heavily on the real distribution of tasks, so early on the team must interact frequently with real users and real workflows;
- Feature boundaries are unstable, and short prototype cycles quickly validate which steps must be automated and which require human confirmation;
- A separate space reduces cross-team coordination costs, letting product, engineering, and evaluation iterate within the same feedback loop.
From an engineering perspective, this can be abstracted as a “minimum viable agent loop”: get task intake, plan generation, tool invocation, result validation, and human takeover working first, then expand gradually.
3. Trade-off One: From “Completing 90%” to Reliable Delivery
Completing most of the work does not make a product usable. If users still have to supervise the whole process and correct things at any moment, their attention cost has not gone down and the product’s value is limited. Reliable delivery means:
- Clear task boundaries and a definition of done;
- Failures that are perceivable, retryable, and rollback-able;
- Proactive reporting at key checkpoints, instead of making users ask repeatedly.
A schematic task-state structure can be expressed like this:
{"task_id": "t-1024","goal": "Organize this week's business data and generate a summary of conclusions","status": "running","checkpoints": [{"name": "Data retrieval", "state": "done"},{"name": "Cleaning and validation", "state": "running"},{"name": "Conclusion generation", "state": "pending"}],"need_human_input": false}
The value of the state machine is that users only need to watch milestones and exceptions, rather than lengthy reasoning and tool-call details.
4. Trade-off Two: Redesigning Interaction for General Knowledge Work
The capabilities accumulated in AI coding tools can be reused, but when facing a broader set of users, the interface, brand, and interaction need to be reconsidered. Continuously stuffing different capabilities into the same window shifts the complexity of organizational and technical evolution onto the user.
A more reasonable design principle is “organize by role, not by stacking features”:
- Each agent takes on a fixed responsibility, such as research, organizing, execution, or review;
- Different responsibilities collaborate through shared context, rather than relying on the user to copy and paste;
- The interface exposes only intent input, a progress board, and necessary confirmations, while other capabilities are invoked implicitly.
5. Trade-off Three: Persistent Roles, Not One-Off Sessions
Creating a new session for every task causes constant context breaks. A persistent role can accumulate user preferences, project background, and past decisions, and form collaborative relationships across different kinds of work. Implementation typically involves three layers:
- Memory layer: distinguish short-term session context from long-term preferences, facts, and conclusions;
- Role layer: define responsibilities, reporting style, and conditions for asking for help;
- Execution layer: bind tool permissions and the runtime environment.
Reference pseudocode:
class AgentRole:def __init__(self, name, memory, tools, runtime):self.name = nameself.memory = memory # Long-term preferences and project factsself.tools = tools # Browser, file, and business system adaptersself.runtime = runtime # Cloud-based always-on runtime environmentdef report(self, task):return {"role": self.name, "progress": task.checkpoints}
6. Trade-off Four: An Independent Cloud Runtime for Each Agent
Users should not have to care whether a machine is powered on or where a task is running. A workable general architecture is: a task scheduling service handles orchestration, a container platform provides isolated runtime environments, object storage holds artifacts, a message queue decouples long-running tasks, and logging and monitoring with alerting provide observability. For systems without well-defined interfaces, the agent needs to perform clicks, logins, and cross-system data movement through browser and desktop operations.
The acceptance criterion for infrastructure improvements is straightforward: can tasks that previously could not be handed off now be completed reliably?
7. Trade-off Five: The Stronger the Model, the More the Product Should Subtract
Many buttons, settings, and workflows are essentially temporary structures that exist to compensate for insufficient model capability. As models improve, these structures should be actively removed so users can complete tasks by expressing intent. A simple way to judge this: how would you want a human colleague to behave? Reporting cadence, when to ask for help, and switching between voice and asynchronous communication can all draw on real team collaboration habits.
8. Conclusion
A small team building a usable prototype in one month does not depend on a complex architecture, but on clear value judgments: reliable delivery as the standard, persistent roles as the carrier, an independent runtime environment as the foundation, and continuous subtraction as the way to evolve. For developers, the implementation focus should be on the task state machine, memory layering, tool adaptation, and observability. On the cloud side, a stable foundation can be built on general capabilities such as container platforms, object storage, message queues, logging, and monitoring; the relevant general product categories from Baidu AI Cloud can serve as a hosting option for this kind of architecture.
