After Five Months of Patching, the Author of GoClaw Built His Own Agent Platform, Temporality
A developer spent five months reworking GoClaw, an open-source platform for enterprise AI agents, but ran into slowdowns, crashes, and weak human involvement in the process with the first ten users. Each fix got more expensive, so he wrote his own system, Temporality, built on Temporal. The takeaway for teams: an agent needs more than a model with tools. It needs an environment with state, permissions, and checks.
AI-processed from Habr AI; edited by Hamidun News
Most agent frameworks answer the question "how do I give a model tools and run a tool-calling loop?" Enterprise development requires more than that. The author of a Habr write-up spent five months assembling an environment for AI agents from open-source components, using GoClaw as the foundation. Then the first ten users arrived, and it became clear the project couldn't handle the job. The result was his own system, Temporality.
Why GoClaw Stopped Fitting
Ten users isn't a serious load test. But even at that scale, according to the author, the system slowed down, crashed from time to time, and handled long-running tasks poorly. It lacked full human-in-the-loop support, meaning proper human involvement in the process. Approvals and send-backs for revision had to be implemented through workarounds.
Each problem could be fixed on its own. But the cost of the fixes depended more and more on the execution model that already existed: every patch required new exceptions and special cases. The author states plainly that the five months he invested are not an architectural argument. He does not claim GoClaw is bad. The project has its own use cases, and open code doesn't obligate it to be a ready-made enterprise platform.
What an Agent Environment Needs
The author's example: an agent is preparing a new feature. It gathers information from colleagues, resolves contradictions, writes up requirements, gets sign-off from a manager and your approval, and only then writes the code. It then runs checks and automated tests and sends the result for approval, returning to you with a history and evidence. This is not a nine-point prompt. It's a process with state, permissions, and consequences for refusal.
This leads to the HITL requirements. It isn't a "Approve" button. A human's answer has to relate to a specific question and a specific plan version. A refusal has to affect execution. Timeouts and resumption have to behave predictably. If an agent keeps going after a "No," it must not repeat the same operation under a different name.
The author's second idea is an attention budget alongside the token budget. If every subagent receives the parent's entire history, you get a collective reading of one log, not collective intelligence. Delegation needs a goal, data, and criteria for the result. Spending on the model, tools, retries, and subagents should be counted as an end-to-end task budget: if a parent hands work to five agents, each of them should not get its own unlimited allowance.
How Temporality Works
The system has four layers:
- Execution. Long-lived tasks, delegation, and pauses waiting for a human run on Temporal. A restart or deployment must not destroy state.
- Observation. An event history: model calls, tool actions, state transitions, and human decisions. The goal is to reconstruct what happened and why, rather than guess what the model "meant."
- Control. Policies, permissions, and confirmations for significant actions.
- Learning. Experience is extracted from completed tasks. It is verified, and outdated or incorrect knowledge stops being used.
The author separates memory into an event log and the knowledge derived from it. Knowledge has a lifecycle: it can be proposed, confirmed, disputed, corrected, or invalidated. A workaround that worked once on a specific library version must not become an unconditional instruction.
A skill gets a contract: preconditions, expected results, and quality criteria. Improving a skill goes through an evaluation loop with control scenarios. An LLM judge is calibrated against historical human decisions. If its agreement with those decisions is insufficient, the judge is considered degraded and the gate does not let the change through.
In the spirit of Agent-SRE, the author also tracks trajectories: the number of retries, latency, cost growth from version to version, and the size of the context the parent passes to subagents.
Security and Limitations
Commands run in a Docker sandbox: the network is disabled by default, privileges are restricted, the root filesystem is read-only, and the workspace, resources, and runtime are limited. Host secrets are not passed as ordinary environment variables. The author notes that the sandbox will not protect against a compromised Docker daemon or host kernel. Open network access widens the risk, and domain filtering remains a separate unsolved task.
The repository includes a reproducible load scenario with a deterministic OpenAI-compatible mock provider. The heavy profile includes four model turns, two command runs in the sandbox, a HITL pause with a simulated human response, and a final answer. The available part of the text contains no result figures, so claims about Temporality's performance should for now be treated as stated, not verified.
The practical takeaway for teams building enterprise agents: before choosing a framework, write down your requirements for state, permissions, human waiting, and budget. If the base execution model can't meet them, it's cheaper to notice that with ten users than with a hundred.
- Nov 27, 2026OpenAI Fixes Codex Limit Bug: Quotas Are 25–40% Smaller
- Nov 27, 2026An AI agent turned a 200-line feature into 8,391 lines: boredom no longer stops overengineering
- Nov 27, 2026Deft Library Gives AI Agents Hundreds of Design Skills from 142 Authors Across 27 Categories
- Nov 27, 2026From February 2027, AI agents can reach Gmail only through Google's MCP servers, and they can't send email
Key Questions Answered
Why GoClaw Stopped Fitting?
Ten users isn't a serious load test. But even at that scale, according to the author, the system slowed down, crashed from time to time, and handled long-running tasks poorly. It lacked full human-in-the-loop support, meaning proper human involvement in the process. Approvals and send-backs for revision had to be implemented through workarounds. Each problem could be fixed on its own.
What an Agent Environment Needs?
The author's example: an agent is preparing a new feature. It gathers information from colleagues, resolves contradictions, writes up requirements, gets sign-off from a manager and your approval, and only then writes the code. It then runs checks and automated tests and sends the result for approval, returning to you with a history and evidence. This is not a nine-point prompt. It's a process with state, permissions, and consequences for refusal. This leads to the HITL requirements. It isn't a "Approve" button.
How Temporality Works?
The system has four layers: Execution. Long-lived tasks, delegation, and pauses waiting for a human run on Temporal. A restart or deployment must not destroy state. Observation. An event history: model calls, tool actions, state transitions, and human decisions. The goal is to reconstruct what happened and why, rather than guess what the model "meant." Control. Policies, permissions, and confirmations for significant actions. Learning. Experience is extracted from completed tasks.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
