u/Fine_Factor_456

Day 3: I accidentally broke my agent while turning it into a SaaS… because it didn’t know where it existed

ran my system this morning and everything failed , not a small bug but literally nothing worked

cron → blocked
documents → blocked
shared brain → blocked

same error everywhere:

“tenant context is required”

this didn’t happen randomly , i’ve been migrating nanobot from a local agent (filesystem-based) → to a proper multi-tenant SaaS (DB-backed) and that shift broke everything

locally, things are simple:

  • read/write from files
  • no isolation
  • everything just works in one environment

but in SaaS:

everything is tenant-aware , every action needs to know:

  • which workspace it belongs to
  • which data it can access
  • where it’s allowed to read/write

and i didn’t wire that properly across all tools so the system did the right thing : it blocked everything

  1. cron couldn’t register jobs 2. documents couldn’t be read or edited 3. shared memory became inaccessible (user and agent)

not because the logic was wrong but because the system didn’t know where to operate

this made something very clear:

you can’t just convert a local agent into SaaS you have to rebuild how it thinks about context

i gave the agent tools , memory and workflows but without tenant context, none of that matters

and honestly… this is a good failure because without this boundary:

  • it could write to the wrong user
  • read someone else’s data
  • completely break isolation

today’s fix:
make tenant context explicit across every tool + execution path but the bigger takeaway : an agent without context isn’t just broken , it’s dangerous

day 3 lesson:

filesystem → DB is not just a storage change , it’s a mental model shift

curious if anyone else here has tried moving from local → multi-tenant SaaS

did it break like this for you too?

reddit.com
u/Fine_Factor_456 — 5 hours ago
Day 2: realized chat-based agents kinda suck once the conversation ends… so I built a “second brain” for mine

Day 2: realized chat-based agents kinda suck once the conversation ends… so I built a “second brain” for mine

i made these changes on nanobot’s codebase today and this came from a very simple frustration

chat works great… until it doesn’t

you ask something → you get an answer → conversation ends

and then what?

there’s no sense of:

  • what the agent has been doing
  • what changed over time
  • what’s running in the background
  • what’s coming next

everything just lives and dies inside messages , i kept hitting this again and again

so instead of trying to be more consistent or check more often, i decided to change the system itself

what i wanted was simple: something that keeps running even when i don’t
something that shows me what’s happening without me asking

so today i built a web UI that acts like a second brain for the agent

not replacing telegram that’s still the main interface
this just sits alongside it

here’s what’s in place now:

  • shared workspace → tasks live here, i add things, agent picks them up and executes
  • recent activity → shows what the agent is actually doing over time (not just replies, actual work like tasks, reports, notes)
  • cron job viewer → finally visible what’s scheduled, running, paused (this used to be completely hidden)
  • auth + channel config → setting things up from UI instead of doing everything manually
  • pixel 3D office (first person view) → experimental, but you can literally walk inside the workspace (models are still very basic)

so now it feels more like:

telegram → input
agent → runs in background
web UI → shows state (second brain)

today was only frontend

nothing is wired to the backend yet, so everything you see is just structure for now

i’ll be integrating this with nanobot tonight so it actually starts reflecting real activity

more like something that keeps running alongside me whether i’m there or not

take a look if you want : agent-desk

u/Fine_Factor_456 — 15 hours ago
Image 1 — Day 2 of building in public: finally added a second brain UI for my agent (+ a pixel 3D office)
Image 2 — Day 2 of building in public: finally added a second brain UI for my agent (+ a pixel 3D office)
Image 3 — Day 2 of building in public: finally added a second brain UI for my agent (+ a pixel 3D office)
Image 4 — Day 2 of building in public: finally added a second brain UI for my agent (+ a pixel 3D office)
▲ 3 r/buildinpublic+2 crossposts

Day 2 of building in public: finally added a second brain UI for my agent (+ a pixel 3D office)

i made these changes on nanobot today and this is one of those days where nothing looks different from outside, but internally everything shifted. until now, everything was happening through telegram and that’s still the main interface, but i kept hitting this gap once the conversation ends, everything kind of disappears. there’s no persistent layer where you can actually see what the agent is doing over time. so instead of trying to fix my behavior again, i built something around it.

what i wanted was simple: a second brain that keeps track of everything without me needing to constantly ask.

so now there’s a web UI that sits alongside telegram, not replacing it, just making everything visible and structured.

here’s what’s in place right now:

  • dashboard → shared workspace where tasks live, i can add things and the agent can pick them up and execute
  • recent activity → probably the most important part, shows what the agent is actually doing (completed tasks, generated docs, notes, assignments) and you can open anything to see full details
  • cron job viewer → all scheduled jobs in one place, what’s active, paused, when it runs next (this used to be completely invisible)
  • channel/auth layer → users can connect and configure things from the web instead of doing everything manually
  • pixel 3D office (first person view) → yeah this is experimental, but you can actually walk inside a workspace with agents, desks, screens… models are still basic but structure is there

telegram is still where everything starts commands, quick checks, fast interaction. the web UI is just the layer where everything lands and stays. so now it’s more like:
telegram → input
agent → runs / executes
web UI → shows state (second brain)

today was just frontend. nothing is wired to the actual backend yet, so it’s all static for now. later tonight i’ll start integrating this with nanobot’s codebase so the activity, tasks, cron, everything becomes real.

this is starting to feel less like a bot and more like a system that just keeps running in the background whether i’m there or not. still rough, still early, but yeah… day 2.

curious what you guys think about this direction

if you guys wanna take a look at UI only here it is : second-brain

u/Fine_Factor_456 — 17 hours ago

i keep building stuff fast… but no one sees it

i’m a solo dev. and tbh building is not the problem anymore.

i can go from idea → working thing in a few days. sometimes even faster. (thanks to AI)

but distribution?

i get stuck there every single time.

i’ve tried all the usual things:

  • build in public
  • post regularly
  • stay consistent
  • study what others are doing

and it works… for a few days. then i go deep into code → stop posting → everything just dies out.

again.

so instead of trying to fix myself again, i started fixing the system around me. i’m not building this from scratch btw. i already have something called nanobot, so i’m just modifying that and pushing it in this direction.

what i actually want is very simple:

something that doesn’t stop working on distribution just because i do.

so right now this thing:

  • looks at the market around what i’m building
  • keeps track of competitors
  • shows me what’s happening ( just straight info)

and if i keep building, it just continues alongside me:

  • tracks changes
  • surfaces what’s working
  • gives me directions i can take

and the part i suck at the most:

  • it keeps posting
  • stays active across platforms (6+ )
  • doesn’t break the streak just because i got busy

the main thing for me is this

it doesn’t wait for me to tell it what to do. it just keeps going in the background:

  • research
  • tracking
  • posting
  • updating over time

i also connected it to telegram so i can check in quickly:

  • what happened today
  • anything worth noticing
  • what’s next

i’m not trying to reinvent anything here. just tired of repeating the same , continue Writing just tired of repeating the same cycle:

build → ignore distribution → wonder why nothing happens

i know i’m not the only one doing this.

feels like most of us solo devs are good at building now… but still figuring out how to keep things alive long enough for people to actually notice.

this is just me trying to fix that for myself.

if it works, great.

if not, at least i’ll understand this side a bit better.

curious if others deal with this too or if it’s just me.

reddit.com
u/Fine_Factor_456 — 2 days ago