Two Design Philosophies for Open-Source Agents: General Execution vs. Self-Improvement
Always-on agents are moving from one-shot chat tools to long-running collaborators. This article contrasts two design philosophies—general-purpose execution versus self-improvement—covers shared infrastructure (model access, tools, messaging, scheduling), memory and skill pipelines, and how to choose based on task repetition, users, and maintenance cost.
From chat windows to long-term colleagues
Early AI assistants lived in a conversation window: the user asked, the model answered, and the session forgot everything. That works for one-off Q&A, but not for work that needs continuity—scheduled server checks, long-running projects, or habits learned across many interactions.
A newer class of agents runs as resident processes on a server. After connecting to a large language model, they can call tools, run commands, join messaging channels, and keep memory across sessions. Users talk to them from the CLI or instant messaging. Jobs can fire on a schedule or run in the background, then push results back.
In this “always-on” space, two design philosophies stand out. This article does not name specific projects; it treats them as two paradigms:
- General execution: breadth of capability and integrations—“do almost anything, plug in almost anywhere.”
- Self-improvement: depth of capability and reuse of experience—“know you better and get smoother over time.”
The first treats the agent as a capability platform; the second treats it as a partner that grows with you. Neither is universally better; architecture trade-offs differ, and they matter if you are building an agent system.
Shared infrastructure: four baseline capabilities
Any long-running server agent still has to solve four basics.
1. Model access layer
The agent is not the model. You need a unified layer over LLM APIs: one call interface, vendor differences hidden, timeouts and retries, streaming, and context-length handling. The model should be a swappable component, not a hard dependency.
2. Tools and command execution
Calling tools, running shell commands, and reading/writing files is how the agent does work. The hard problem is safe execution:
Before: parameter checks → allow/deny lists → extra confirmation for high-risk opsDuring: process isolation (container/sandbox) → timeouts → resource limitsAfter: structured results → audit logs → rollback on failure
3. Message ingress
CLI, web, or IM is mostly adapting protocols and session models. Keep ingress separate from the core scheduler: every channel becomes a unified task request; results route back to the original channel. A new channel is a thin adapter.
4. Scheduling and result push
Cron-style scheduling for timed jobs; async execution and durable state for long jobs so restarts do not drop work. When a job finishes, push results to the user’s channel: initiate → execute → notify.
Both philosophies include these four. The difference is whether they stay at “use” or get turned into “experience.”
Self-improvement: two layers of memory and skills
The slogan is usually “grow with you.” Behind it is a three-layer memory stack.
Layer 1: user preference memory. What the user likes—answer length, code style, stack, tone. Stored as key-value or structured entries and injected into the system prompt. Implementation is easy; deciding what to remember versus noise is not. Mix explicit instructions (“remember I prefer X”) with implicit patterns from repeated interaction.
Layer 2: task experience memory. How a class of tasks was done before—for example a past deploy, pitfalls, and final config. Next time, retrieve that experience instead of reasoning from scratch. This is RAG over experience, indexed by task type, failure reasons, and solutions.
Layer 3: skill crystallization. The distinctive move: after repeated success or user correction, freeze the process into a reusable skill. A skill typically has trigger, steps, and caveats—as a structured instruction template or an executable snippet:
skill: database backuptrigger: load when the user asks to back up a databasesteps:1. Confirm target DB and storage path2. Run export and verify file integrity3. Upload to object storage and clean local tempsnote: last failure was disk space; check free space first
The engineering loop is: fail → get corrected → record → crystallize → reuse. To make it work you need extraction timing (immediate post-task vs. batch), skill validation (unverified skills amplify errors), and forgetting (stale skills get down-weighted or archived).
General execution: breadth and ecosystem
This philosophy optimizes the size of the capability surface:
- Tool ecosystem first: rich built-ins and a standard extension protocol so third parties can add capabilities.
- Ingress matrix: CLI, web, and multiple messaging platforms—“the agent is wherever the user is.”
- Execution reliability: sandboxing, permissions, and robust orchestration.
The agent is a “capability socket”: value comes from how many devices plug in, not how much history it stores. Strengths: fast onboarding, wide coverage, community contributions. Weakness: experience does not accumulate—yesterday’s mistakes can repeat, and preferences must be restated.
How to choose: three practical tests
1. Are tasks highly repetitive? Routine, process-heavy work (ops checks, recurring reports, daily data jobs) compounds with self-improvement. Exploratory, low-repeat work favors general execution.
2. Who uses it? Individuals or small teams benefit from deep personalization. Shared multi-user agents can be hurt by personal preference memory; they need more neutral, general capability.
3. Can the team pay the maintenance cost? Self-improvement adds memory hygiene and skill validation. General execution keeps spending on permissions and security. There is no free philosophy, only a matching trade-off.
The two are not exclusive. A practical path is a general-execution base plus your own memory and skill layer—for example a vector store for task experience, structured files for a skill library, and retrieved context injected into the system prompt. Get execution solid first, then grow the learning layers.
Closing
Always-on agents mark a shift from one-shot chat to long-term collaboration. General execution and self-improvement answer different sides of the same question: should a long-running agent “do everything,” or “understand you better over time”? Understanding memory, skills, and scheduling behind each philosophy helps you choose or build without detours, and spend effort on your actual use case.
