{"by":"vincentjiang","descendants":35,"id":46979781,"kids":[46985184,46983530,46979829,46984427,46985688,47023581,46986043,47023564,46984074,46982575,46982586,46983313,46986893,47021920,47021914,46985739,46987006,46985061,46985278,46986448,46985824,46986672,46995150,46985302,46986266,46985290,46982863,46985026,46985133,46985003,46988099,47034782,46984748,46984556,46983301,46985231,46984721,46984927,46985243,46984441,46985463,46984731],"score":107,"text":"Hi HN,<p>I’m Vincent from Aden. We spent 4 years building ERP automation for construction (PO&#x2F;invoice reconciliation). We had real enterprise customers but hit a technical wall: Chatbots aren&#x27;t for real work. Accountants don&#x27;t want to chat; they want the ledger reconciled while they sleep. They want services, not tools.<p>Existing agent frameworks (LangChain, AutoGPT) failed in production - brittle, looping, and unable to handle messy data. General Computer Use (GCU) frameworks were even worse. My reflections:<p>1. The &quot;Toy App&quot; Ceiling &amp; GCU Trap\nMost frameworks assume synchronous sessions. If the tab closes, state is lost. You can&#x27;t fit 2 weeks of asynchronous business state into an ephemeral chat session.<p>The GCU hype (agents &quot;looking&quot; at screens) is skeuomorphic. It’s slow (screenshots), expensive (tokens), and fragile (UI changes = crash). It mimics human constraints rather than leveraging machine speed. Real automation should be headless.<p>2. Inversion of Control: OODA &gt; DAGs\nTraditional DAGs are deterministic; if a step fails, the program crashes. In the AI era, the Goal is the law, not the Code. We use an OODA loop to manage stochastic behavior:<p>- Observe: Exceptions are observations (FileNotFound = new state), not crashes.<p>- Orient: Adjust strategy based on Memory and - Traits.<p>- Decide: Generate new code at runtime.<p>- Act: Execute.<p>The topology shouldn&#x27;t be hardcoded; it should emerge from the task&#x27;s entropy.<p>3. Reliability: The &quot;Synthetic&quot; SLA\nYou can&#x27;t guarantee one inference ($k=1$) is correct, but you can guarantee a System of Inference ($k=n$) converges on correctness. Reliability is now a function of compute budget. By wrapping an 80% accurate model in a &quot;Best-of-3&quot; verification loop, we mathematically force the error rate down—trading Latency&#x2F;Tokens for Certainty.<p>4. Biology &amp; Psychology in Code\n&quot;Hard Logic&quot; can&#x27;t solve &quot;Soft Problems.&quot; We map cognition to architectural primitives:\nHomeostasis: Solving &quot;Perseveration&quot; (infinite loops) via a &quot;Stress&quot; metric. If an action fails 3x, &quot;neuroplasticity&quot; drops, forcing a strategy shift.\nTraits: Personality as a constraint. &quot;High Conscientiousness&quot; increases verification; &quot;High Risk&quot; executes DROP TABLE without asking.<p>For the industry, we need engineers interested in the intersection of biology, psychology, and distributed systems to help us move beyond brittle scripts. It&#x27;d be great to have you roasting my codes and sharing feedback.<p>Repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;adenhq&#x2F;hive\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;adenhq&#x2F;hive</a>","time":1770838783,"title":"Show HN: Agent framework that generates its own topology and evolves at runtime","type":"story","url":"https://github.com/adenhq/hive/blob/main/README.md"}