Should Ordinary Developers Build Their Own General-Purpose Agent?

    This article argues that building a general-purpose coding agent is a competition for capital and model vendors, while ordinary developers should instead rent that capability through a subscription and invest their time in small, private, vertical systems. It breaks the decision down into four engineering-economics accounts (cost, time, opportunity, and risk), clarifies the boundaries between LLMs, workflows, agents, RAG, tool calling, and context management with sample Python pseudocode, outlines a six-step path for building self-use systems on generic cloud building blocks, and closes with three governance red lines: least privilege, data compliance, and verifiable output.

    1. The Conclusion First: General-Purpose Agents Are Not an Ordinary Developer’s Battlefield

    Over the past two years, “should I build my own general-purpose AI coding assistant?” has become a recurring question in technical communities. The question actually contains two completely different propositions: “Can I build a general-purpose agent?” and “How should I obtain the productivity an agent provides?” The first is a contest between capital and model vendors. The second is the engineering question that the vast majority of developers actually need to answer.

    A clear curve can be observed in the public record of technical evolution. In the early stage, dominated by text generation and code completion, the main contributors to open source projects were almost all human engineers. Then AI coding tools began to appear in the commit history and contributor lists of open source projects. In the current stage, the primary mode of contribution in leading projects has become “humans define the problem and the acceptance criteria, while agents handle retrieval, modification, testing, and cleanup.” This curve does not mean “programmers are being replaced.” It means the marginal value of hand-writing every single line of code is falling fast.

    Given that, investing repeatedly in a general-purpose agent is essentially building a low-spec copy on a track already covered by massive capital. The more rational positioning is to treat general-purpose agents as infrastructure, like water and electricity, and to spend your energy on the vertical, small-scale systems that only you need.

    2. Four Accounts: Engineering Economics Instead of Idealism

    2.1 The Cost Account

    The supply model for general-purpose agents has shifted from “build your own cluster” to “subscribe monthly.” For a subscription on the order of one to two hundred dollars per month, an individual developer can obtain code understanding, modification, and review capabilities close to the current state of the art. By comparison, training or fine-tuning a model with general code capability yourself requires compute, data cleaning, an evaluation system, and long-term operations, at a cost at least three to four orders of magnitude higher. The conclusion is direct: general capability is rented, not built.

    2.2 The Time Account

    The hidden cost of a usable general-purpose agent goes far beyond the model itself. It includes an entire engineering stack: context management, tool-calling protocols, sandboxed execution, permission isolation, retry on failure, observability, and more. Each of these parts could be written up as a paper on its own. Two hours of an individual’s spare time advances only a tiny corner of it, while a subscription has already amortized this cost to the point of being negligible.

    2.3 The Opportunity Account

    The same time invested in business modeling, data governance, and domain rule abstraction produces an asset that accumulates. The same time invested in rebuilding an agent produces something that depreciates quickly as platforms iterate. The test is simple: will this still be part of your differentiating advantage two years from now?

    2.4 The Risk Account

    Building general capability yourself means you alone carry model upgrades, API changes, security vulnerabilities, and compliance pressure. When you use a mature service, the supplier carries those risks, and you only manage your own business logic and data boundaries.

    3. Get the Concepts Right Before You Spend

    Before paying for anything, get clear on the capability boundaries of a few high-frequency concepts. Otherwise it is easy to buy a tool and get no results from it.

    • Large language model: provides reasoning and generation. It is stateless, has no memory, and does not touch your systems.
    • Workflow: explicitly orchestrates steps into a fixed process. It is highly controllable and fits scenarios with clear rules.
    • Agent: the model autonomously decides the next action and interacts with the environment through tool calls. It fits tasks where the path is uncertain.
    • RAG: retrieves external knowledge and injects it into the context, solving the problem of “the model does not know your private information.”
    • Tool calling: lets the model trigger external capabilities with structured parameters. It is the key piece for making agents work in practice.
    • Context and memory management: determines whether information is correctly retained and compressed during long tasks.

    Illustrative pseudocode helps show the difference between an agent and a workflow:

    1. # Workflow: fixed path, suited to deterministic tasks
    2. def release_flow(repo):
    3. lint(repo)
    4. tests = run_tests(repo)
    5. if tests.failed:
    6. return report(tests)
    7. return deploy(repo)
    8. # Agent: path decided by the model, tools as optional actions
    9. def agent_loop(goal, tools, max_steps=20):
    10. ctx = init_context(goal)
    11. for _ in range(max_steps):
    12. action = model.decide(ctx, tools) # structured output: tool name + arguments
    13. if action.type == "tool":
    14. result = tools[action.name](**action.args)
    15. ctx.append(result)
    16. else:
    17. return action.answer
    18. return ctx.summarize()

    The more robust engineering approach is “a workflow on the outside constraining, an agent free on the inside”: use a fixed process to hold the quality gates, and use the agent to handle the uncertain judgment steps inside that process.

    4. The Real Dividend: Build Small Self-Use Systems on a General-Purpose Agent

    A small system meets three criteria: the user is you or a very small team; the data and rules are highly private; and the cost of failure is controllable. General-purpose products do these poorly, and building your own general model is unnecessary, which makes them exactly the right landing spot for a subscription-based agent.

    A practical path:

    1. Inventory the repetitive work: log triage, report generation, script migration, filling in unit tests, keeping docs in sync.
    2. Define acceptance criteria: specify the input, the output format, and success conditions that can be checked automatically.
    3. Choose the form: use a workflow when rules are clear, an agent when the path is uncertain, and retrieval augmentation for private knowledge.
    4. Wire up the tool layer: file read/write, command execution, data queries, and notifications, all with least privilege and a sandbox.
    5. Establish observability: record the input, output, latency, and failure reason of every step so you can review them later.
    6. Iterate toward convergence: turn high-frequency successful paths into fixed processes and reduce the model’s degrees of freedom.

    If cloud hosting is involved, you can combine general-purpose capability categories: object storage to hold build artifacts, a message queue to decouple tasks, a container platform to host execution sandboxes, and logging plus monitoring and alerting for tracing and quota reminders. This keeps things elastic while avoiding lock-in to any particular vendor.

    5. Boundaries and Governance: Three Red Lines

    • Least privilege: the agent gets only the minimum read/write scope needed for the task, and sensitive operations keep a human confirmation step.
    • Data compliance: before private code and business data go to an external service, confirm the redaction and retention policy.
    • Verifiable results: every automated output needs automated validation or human spot checks, so code that merely “looks right” does not reach the main branch.

    6. Conclusion

    For an individual developer, the most pragmatic strategy is to accept the division of labor: general AI coding capability is advanced by model vendors and capital, and your job is to aim that capability at the one small area that hurts you most. Do not build another general-purpose agent. Use the general-purpose agent you already have and turn it into a system that serves only you. Fill the conceptual gaps, pick the scenario precisely, and hold the boundaries. A subscription on the order of one or two hundred dollars can then be converted into engineering productivity that accumulates over the long term, which is how the real dividend of this round of technology actually gets cashed in.