<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: shichifukutekx</title>
    <description>The latest articles on DEV Community by shichifukutekx (@shichifukutekx).</description>
    <link>https://dev.to/shichifukutekx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4234688%2F57b63e52-68da-4ed4-b5a3-2bd19e779aa9.png</url>
      <title>DEV Community: shichifukutekx</title>
      <link>https://dev.to/shichifukutekx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shichifukutekx"/>
    <language>en</language>
    <item>
      <title>AI agents fail in four predictable ways. We built Hivelock around all four</title>
      <dc:creator>shichifukutekx</dc:creator>
      <pubDate>Mon, 09 Nov 2026 08:08:24 +0000</pubDate>
      <link>https://dev.to/shichifukutekx/ai-agents-fail-in-four-predictable-ways-we-built-hivelock-around-all-four-27ea</link>
      <guid>https://dev.to/shichifukutekx/ai-agents-fail-in-four-predictable-ways-we-built-hivelock-around-all-four-27ea</guid>
      <description>&lt;p&gt;Most teams that try AI agents in real work hit the same wall. The demo is impressive: the agent reads the inbox, checks the CRM and drafts the reply. Then someone asks the questions that matter in a business:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What happens when it gets something wrong and nobody notices?&lt;/li&gt;
&lt;li&gt;What stops it from doing more than we meant?&lt;/li&gt;
&lt;li&gt;What stops it from spending money in a loop overnight?&lt;/li&gt;
&lt;li&gt;Who checks its work, and how would we prove what it did?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These aren't edge cases. They're the four most common ways agent projects fail: &lt;strong&gt;silent unreliability, acting beyond intent, runaway cost and missing oversight.&lt;/strong&gt; We built Hivelock so that each one has a clear answer you can configure.&lt;/p&gt;

&lt;p&gt;Hivelock is a self-hosted platform for building AI agents and workflows, connecting them to your business tools, and staying in control of every action that matters. The core is open source under AGPL-3.0.&lt;/p&gt;

&lt;h3&gt;
  
  
  Failure 1: Agents act beyond what you intended
&lt;/h3&gt;

&lt;p&gt;An agent connected to your systems can, in principle, do anything those systems allow. Writing "please don't delete anything" in a prompt isn't a control.&lt;/p&gt;

&lt;p&gt;In Hivelock, control sits in the platform rather than the prompt:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Least access.&lt;/strong&gt; Each agent gets only the actions you choose for it. Credentials stay on the server, so the model never sees them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Changes wait for a person.&lt;/strong&gt; Reading runs freely. In chat, any action that changes data waits for approval. In workflows, you place approval steps where you need them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Per-action rules.&lt;/strong&gt; An admin can make any single action on a connection stricter: always ask, or switch it off everywhere.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instructions hidden in data are ignored.&lt;/strong&gt; If an email or document tells the agent to do something, the agent treats it as text, not as an order.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewed MCP tools.&lt;/strong&gt; Tools from remote MCP servers stay off until someone approves them. A tool whose definition changes is switched off again.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Failure 2: Runaway cost
&lt;/h3&gt;

&lt;p&gt;Agents loop. A tool returns something unexpected, the model tries again, and again. You find out when the invoice arrives.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each run has a &lt;strong&gt;step and token limit&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;An agent that asks for &lt;strong&gt;the same step with the same details a third time is stopped&lt;/strong&gt; before it spends more.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;monthly AI allowance&lt;/strong&gt; caps what a workspace can spend. Everyone sees a warning from 80% used.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Usage and costs&lt;/strong&gt; shows what each agent and workflow spends, so there are no surprises.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Failure 3: Silent unreliability
&lt;/h3&gt;

&lt;p&gt;The worst failures are quiet ones. Someone tweaks an agent's instructions on Tuesday, and by Thursday it has been giving customers wrong answers for two days.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Agent tests&lt;/strong&gt; let you save example questions with rules for a good answer: what it must say and what it must never say. A fixed rule judges each answer, so the model never marks its own work. During a test, every action that would change something is refused.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A release gate&lt;/strong&gt; (licensed editions): when an agent with saved tests is changed, its tests start straight away. Live workflows keep off the changed version until they pass. A step that needs it stops with a plain message naming the tests that failed. Chats keep working, and an admin can choose "use it anyway", which goes into the audit log.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live runs and traces&lt;/strong&gt; show each step, tool call and decision as it happens.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Failure 4: Missing oversight
&lt;/h3&gt;

&lt;p&gt;When something goes wrong you need two things fast: a way to stop it, and a record of what happened.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pause all&lt;/strong&gt; stops every workflow and chat in a workspace at once. Runs hold where they are and carry on when an admin resumes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Turn off one agent&lt;/strong&gt; when only that agent is misbehaving. It starts no chats, workflow steps or hand-offs until someone who manages agents turns it back on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A tamper-evident audit log.&lt;/strong&gt; Sign-ins, changes and approvals are recorded in a hash-chained log, so an edited record shows up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Roles&lt;/strong&gt; (viewer, operator, builder, admin, owner) decide who can chat, run, approve, build and manage.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What you can build with it
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;visual workflow builder&lt;/strong&gt;: drag agents, conditions, approvals and connector steps onto a canvas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom agents&lt;/strong&gt;: describe what you want, review the draft, and add skills and approved memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;74+ templates&lt;/strong&gt; across 11 business areas, installed as drafts so nothing runs until you say so.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;26+ connectors&lt;/strong&gt;: mail, files, databases, chat, CRM, developer tools and remote MCP servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Triggers&lt;/strong&gt;: manual, schedule, signed webhook and incoming email.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Any AI model&lt;/strong&gt;: any OpenAI-compatible server, with a fallback order. Local models work too.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document search&lt;/strong&gt; across PDF, Excel, CSV and text files, with the source named.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Company memory&lt;/strong&gt;: notes every agent in a workspace reads. Agents can suggest a note, but it does nothing until a person accepts it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Security as a default, not an upsell
&lt;/h3&gt;

&lt;p&gt;Every edition, including the free one, keeps the same protections:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Workspace isolation with PostgreSQL row-level security&lt;/li&gt;
&lt;li&gt;AES-256-GCM encryption for secrets and run data, with a key for each workspace&lt;/li&gt;
&lt;li&gt;Mandatory two-step sign-in for password accounts&lt;/li&gt;
&lt;li&gt;A network guard that stops connectors reaching private addresses by default&lt;/li&gt;
&lt;li&gt;The tamper-evident audit log&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We'd rather be honest about where we stand. Hivelock is in early access. We test it ourselves with the open-source Strix penetration testing tool, but it hasn't yet had an independent third-party penetration test and holds no certification. The known limits are written up in the developer guide.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why self-hosted
&lt;/h3&gt;

&lt;p&gt;Agents need deep access to your mail, documents, CRM and databases. Hivelock runs on your own servers, next to your data, with your choice of AI provider, including local models. A confidential mode keeps sensitive work on the providers you have cleared for it.&lt;/p&gt;

&lt;p&gt;It's built with TypeScript, Node.js, React, PostgreSQL with pgvector, Hono, pg-boss, LangGraph and the Model Context Protocol. A Docker Compose stack includes the database, the app, a worker and Caddy for TLS.&lt;/p&gt;

&lt;h3&gt;
  
  
  Editions
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Community:&lt;/strong&gt; free and open source (AGPL-3.0). 1 workspace, 5 people, 5 agents, 10 workflows and 6 core connectors, with approvals, audit and encryption included.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosted Licensed:&lt;/strong&gt; no limits, all connectors, single sign-on, agent tests and the release gate, version history and WhatsApp channels.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosted:&lt;/strong&gt; planned, from $29 a month.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Try it
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/shichifukutekx/hivelock
&lt;span class="nb"&gt;cd &lt;/span&gt;hivelock
npm &lt;span class="nb"&gt;install
cp&lt;/span&gt; .env.example .env   &lt;span class="c"&gt;# fill in database, secret and admin settings&lt;/span&gt;
npm run db:migrate &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run web:build
npm run platform       &lt;span class="c"&gt;# and in another terminal: npm run worker&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open &lt;a href="http://localhost:4320" rel="noopener noreferrer"&gt;http://localhost:4320&lt;/a&gt;, sign up with your admin address, and add an AI model under Settings.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Website: &lt;a href="https://hivelock.shichifukutekx.ai/" rel="noopener noreferrer"&gt;https://hivelock.shichifukutekx.ai/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Code: &lt;a href="https://github.com/shichifukutekx/hivelock" rel="noopener noreferrer"&gt;https://github.com/shichifukutekx/hivelock&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We'd love feedback, especially from teams who have tried agents and pulled them back because of one of the four failures above. Tell us what stopped you.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Hivelock is a product of shichifukutekx.ai.&lt;/em&gt;&lt;/p&gt;




</description>
      <category>ai</category>
      <category>agentharness</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
