Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseCode / SDK · ActionableHabr AI→ original

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
After Five Months of Patching, the Author of GoClaw Built His Own Agent Platform, Temporality
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1Long-running tasks survive restarts and deployments: execution is built on Temporal
Docker sandboxnetwork disabled, filesystem read-only
Key metric #3Changes to skills pass through an evaluation gate, not "by eye"

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.

Story

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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

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.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — After Five Months of Patching, the Author of GoClaw Built His Own Agent Platform, Temporality https://news.hamidun.com/en/news/16942/after-five-months-of-patching-the-author-of-goclaw-built-his

What do you think?
Loading comments…