cd /news/ai-agents/show-hn-building-a-stateful-ai-agent · home topics ai-agents article
[ARTICLE · art-30421] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: Building a Stateful AI Agent

A developer forked Opencode to add autonomous memory management, creating a stateful AI agent that can be plugged into Hermes and other coding tools. The project aims to build a voice- and mobile-first client with a server running in a sandbox or VM, compatible with multiple models.

read1 min views1 publishedJun 17, 2026

As I started my building journey few months ago, AI agents/coding tools not being stateful has been a big pain for me.

So I just shipped an Opencode fork (my current daily driver for building) with built-in autonomous memory management, the memory core can also be plugged into Hermes (included) and other desktop/coding agents with few prompts.

It's WIP, but please try it and give me your feedback.

Goal is to build a voice and mobile first client with server running in a sandbox or VM and works with all models like Opencode does, and replaces my current hermes+opencode setup running on a Oracle VM.

hmu if you wanna collab on this :)

Comments URL: [https://news.ycombinator.com/item?id=48564976](https://news.ycombinator.com/item?id=48564976)

Points: 1

── more in #ai-agents 4 stories · sorted by recency
── more on @opencode 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-building-a-s…] indexed:0 read:1min 2026-06-17 ·