Talorys – A self-hosted personal AI agent on Cloudflare's free tier
221 points by rociiu 12 hours ago | 112 comments

flufluflufluffy 11 hours ago
This might sound kinda crazy, but I define “self-hosted” as something that I host myself.
reply
brainless 10 hours ago
To me, "self-hosted" means, either I use a rented hardware or I use a purchased hardware.

If the software can be switched to a rented or purchased hardware (I do not want Cloudflare's offering) then it is "self-host-able" IMO.

I think there are open source Cloudflare alternative hosting software.

reply
debarshri 4 hours ago
Self-hosted but not self-owned.
reply
senectus1 8 hours ago
I would call that self configured, cloud hosted.
reply
croes 9 hours ago
reply
jmknoll 9 hours ago
That is a very poorly-written Wikipedia article.

The first sentence states:

"Self-hosting is the practice of running a website or service on a home server instead of a web hosting service outside of the administrator's own control."

And then basically contradicts itself in the next paragraph:

"The practice of self-hosting web services became more feasible with the development of cloud computing and virtualization technologies, which enabled users to run their own servers on remote hardware or virtual machines."

In any case, I think the generally accepted definition of self-hosting has expanded over the years to include software that you're running on rented hardware in someone else's data center.

reply
singpolyma3 6 hours ago
I think the opposite. 20 years ago self hosting almost always meant "in a data centre" but as home internet got better people started to think "or maybe in my basement" and now it's swung so far that a few think if it's not in your basement it's not self hosting
reply
jauer 5 hours ago
Self hosting wasn’t popular nomenclature back then, but it was common for people to host web and mail on at home on DSL or even dial-up (ISDN or even analog if you were bold) 20-30 years ago.
reply
drillsteps5 6 hours ago
I only use Wikipedia occasionally but this is seriously the worst article I've ever seen. It switches the definition between "running on my own hardware" and "running it in the cloud" multiple times. It's been pointed out in a discussion about the article several months ago but nobody bothered to correct it.
reply
rdiddly 5 hours ago
You can correct it
reply
idiotsecant 2 hours ago
Which is what has been done in pieces and argued about 10000 times to make this abomination. I guarantee there is someone watching this article 24/7 that will revert it the moment you update it
reply
_fat_santa 8 hours ago
I would define hosting in the cloud as "self-hosting" because you perform the act of hosting that thing and thus have full control over it.

Yes it's not the same as hosting as your own hardware but I would argue that it accomplishes the same goals. The goal is to get other people out of your data. With a "service" the underlying company has every incentive to look at your data and use that to improve it's service, but when you host something yourself with a provider, it's in that providers best interest to never look at your data.

For me it all comes down to the goals of the people your are doing business with. With Cloudflare at least, their goal is to just upsell me on hosting equipment, they couldn't give a rats ass what I'm hosting on that hardware so long it's not illegal.

reply
0x4e 7 hours ago
Can “on-prem” solve this debate?

You can self-host on-prem or in the cloud.

reply
drillsteps5 6 hours ago
This makes sense. You can self-host on-prem or host in the cloud. Easy and intuitive.
reply
conorcleary 5 hours ago
Can we sort out DSL as a group? ;)
reply
ssss11 26 minutes ago
This is AI though man - we need to redefine all phrases, such as “open source” as well.
reply
foobarbecue 9 hours ago
Yourself? In your brain?
reply
paulddraper 5 hours ago
No, on your hardware.

If someone else can fat finger a delete, it’s not self hosted.

reply
hxii 4 hours ago
So if someone could physically gain access to your server/computer and press "delete" –– would that mean your service is not self-hosted?
reply
pan69 3 hours ago
Where is your own hardware located? A data center? Or maybe your place of residence? What if that location is compromised? Does that mean that physical ownership of the hardware is also not self hosted?
reply
itsmeduncan 7 hours ago
I think the reality is the goal posts are shifting on owning your own data, and apps. The idea that self-hosted is not on your _own_ hardware is crazy to me.
reply
jamienk 6 hours ago
Is it a "goal post" shift or an insidious confusion? Clouds can be regulated, guard-railed, censored, spied on. Since your local computer is also just "cloud," it too can be regulated. This makes the mental-model change: what used to be "my personal thing" now becomes "a thing in the common network". That's different; it represents different values.
reply
bogdiyan 9 hours ago
It is confusing, I agree. IMO we should have "self-running" and "self-hosting". Self-running if I provide the hardware, self-hosting if I manage it. Or swap the term, still not sure but there is a difference between you are the one maintaining it and where does it run.
reply
j45 8 hours ago
Self-hosting is when you install and run something for yourself.

Whether you use the cloud, or a vps, or a dedicated bare metal server, or your own equipment at home is all self hosting.

reply
toomuchtodo 9 hours ago
“Self contained”? Like a container, run on Cloudflare, run locally, run anywhere (if supported by the container and required underlying primitives).
reply
bogdiyan 8 hours ago
I gave it a second thought and I think terms should be "self-managed" - you manage it either locally or in cloud and "self-hosted" you host it locally. Idk "self-contained" doesn't click with me, to be fair.
reply
tropicalhunter 9 hours ago
I agree.

I would describe it as externally hosted yet managed specifically because someone else is most likely, whether they admit to it or not, recording some sort of logs on my service and data and that is a choice that I do not own or, in some cases, have access to.

reply
Narretz 10 hours ago
Where do you draw the line? Some SaaS acceptable? VPS? Bare metal? Or your own server in your own home?
reply
loveparade 10 hours ago
I think it's a pretty clear line. Self hosted means you can run it locally in your home, using a saas platform or vps is just a convenience, not a requirement.
reply
sigbottle 6 hours ago
I think a VPS is acceptable because otherwise you just can't let the broader internet talk to you, then. The internet's structured that way.

I hope AI will push infra, including good-enough AI itself, dirt cheap, so that everyone has "good enough" software for themselves. Tailscale is a game changer in this regard but only the first step.

reply
Kudos 4 hours ago
I don't have a VPS, I have a mini server in my house. I run bunch of publicly available services on it.
reply
pwython 9 hours ago
What about FOSS SaaS alternatives that are meant for team collab? Like Plane (Jira replacement). Does that have to be ran locally at home for it to be considered "self hosted"?
reply
ajnin 8 hours ago
Self hosted means you host it yourself. I.e. you run the software. Running on your own home machine is definitely self-hosted. Hosting it on a VPS in some datacenter still is. Running it in a cloud platform somewhere is stretching it but I'd say that sill is. SaaS definitely is not self hosting even if the software is open source. The important part is that you're the one in control of the software.
reply
paulddraper 5 hours ago
If you run Plane on your hardware, then it is self-hosted.
reply
nilamo 7 hours ago
I think the line is obvious... If you can't unplug it, you're not self-hosting.
reply
permalac 9 hours ago
You should have the option to host it at home. Then you may choose to host in a vps. Must be vendor agnostic.
reply
Barbing 8 hours ago
Agreed, in my mind it’s where the developer can’t unilaterally change your installation.
reply
vrganj 10 hours ago
IMO physical hardware in your own material possession, so only the last of your examples.
reply
speedgoose 7 hours ago
I would personally draw the line a the data centres. If your infrastructure involves data centres, this is not self hosting. In my opinion.
reply
esafak 6 hours ago
All he had to do was to title it properly: 'An AI agent hosted on Cloudflare's free tier'.
reply
paulddraper 5 hours ago
Should be “self managed.”

(You can manage it, the resources, replace the software, etc.)

reply
nurettin 10 hours ago
No, crazy would be owning the router and cables/satellites as well as producing your own power and having a manufacturing plant for hardware capable of running the software.
reply
malfist 9 hours ago
To make an apple pie from scratch, one must first create the universe?
reply
F7F7F7 7 hours ago
People have been running public websites off of the back of their ISPs since the 90s. I know a few today that are nothing but a Raspberry PI running Pocketbase.

It scales for the intended audience.

Self hosting doesn't mean you need to build the next AWS.

reply
onemoresoop 10 hours ago
I think op is thinking about local.
reply
nurettin 7 hours ago
So am I
reply
catchnear4321 9 hours ago
Is this an Elon reference?
reply
bdangubic 4 hours ago
buy a few shares of NET - you are partial owner now - problem solved :)
reply
coubri 6 hours ago
honestly the fact that Cloudflare pays for infra instead of you is even more impressive ngl
reply
threatofrain 6 hours ago
As impressive as Facebook paying for your social media experience.
reply
vlovich123 7 hours ago
For all the people complaining this isn’t self hosted, it’s open source - it’s a relatively minor tweak to replace the AI calls to point to a local model server. Everything else runs locally via wrangler. It’s less than 20 minutes of work by hand, less than a minute to ask AI to do this.

It’s a weird complaint for people who supposedly like hacker culture.

reply
jonplackett 5 hours ago
Yeah completely agree. Jeez someone made something cool.

It’s self hosted as in not by an ai provider. This is obvious.

Sure it’s set up to run on some infrastructure but just tweak it if you want to and stop complaining.

reply
tavavex 2 hours ago
This is like saying you're self-hosting a game server because it's not hosted on the developers' server, but on the server of some other random third party you're paying to run it. No, self-hosting means you run it on hardware you own. Cloudflare is no stranger to redefining completely established terms for marketing reasons (see 'Cloudflare OS'), how about we stop buying it every time?
reply
croes 3 hours ago
But it’s not self hosted like in self hosted.

Why add a false feature claim if the true features are cool enough?

reply
blacklite 3 hours ago
Who said they like hacker culture in 2026?
reply
vlovich123 25 minutes ago
Then why are you on a website for hacker news?
reply
croes 3 hours ago
Here my program with feature A, ok without feature A, but you can add it with 20 min of work.

Are we now adding all possible features to the description just because they can be added by hand or LLM?

And since when is hacker culture about false advertising

reply
jambutters 6 hours ago
Eh, it's the phrasing that's off-putting. Things that can be self hosted usually emphasize that first and top most, with a paid option being mentioned 2nd.
reply
hung 10 hours ago
Careful with Cloudflare's "free" AI tier if you use paid workers. I was never able to get an answer on why I was billed for their confusing neuron usage for stuff that should have been covered under their usage limits. Their customer support just ignored my ticket. Apparently it's a known issue that they don't give a shit based on discussions in their support Discord.
reply
OsrsNeedsf2P 10 hours ago
I got my bill reversed after having an AI agent pester them long enough
reply
dominotw 5 hours ago
was the ai agent running on their free tier
reply
mattmaroon 8 hours ago
Not disagreeing because I don’t know anything about this particular situation, but I think if you look at any company’s support discord, you will find that they don’t give a shit because of the sample bias. People whose problems they solved. Don’t end up there.
reply
hung 7 hours ago
Only if the support discord isn't actually for support and just for venting, which seems to be the case for Cloudflare's.
reply
mattmaroon 5 hours ago
Discord is a much better app for venting than support.
reply
dexterdog 5 hours ago
You should put anything like this on a privacy.com card with a monthly limit.
reply
forsalebypwner 3 hours ago
yeah their billing system truly sucks. One month I was charged exorbitantly for Workers Container usage. There was absolutely zero way to monitor or track your usage until the invoice arrived.
reply
ttul 7 hours ago
Durable Objects are the coolest thing I have seen in a while. Code and its data locked away together, frozen when not in use, but ready to go in milliseconds when a request comes in. They are so damn useful.
reply
subscribed 3 hours ago
I've read yesterday how someone's DO racked $34k bill, someone's else's $17k.

They're pretty cool indeed, just pretty risky.

reply
dxetech 4 hours ago
While Durable Objects are a different story, data coupled with code brings up awful memories of MacOS FileMaker
reply
1dom 11 hours ago
I'm not sure I understand the use-case or target audience for this. Selfhosted on cloudflare is a great oxymoron though.
reply
smw 45 minutes ago
I'm not sure I understand why? If you hosted plex on a vps, you'd still call it self-hosted. I don't see why using (a) fargate or (b) lambda or (c) cf workers changes the calculus here?
reply
bharatsuthar 8 hours ago
Unless you use cloudflare tunnel to host it
reply
deanc 11 hours ago
This is the first I’m hearing about Cloudflare’s worker AI product. I see they provide 10,000 neurons a day on the free tier. What on earth is that?
reply
martheen 11 hours ago
10k neuron is roughly 0.11 USD for the usage https://developers.cloudflare.com/workers-ai/platform/pricin...
reply
pcthrowaway 10 hours ago
Looks like it's about 4M input tokens or 0.5M output tokens with their cheapest model `@cf/meta/llama-3.2-1b-instruct`

With `@cf/qwen/qwen3.8-27b` it's 240K input tokens and 34,000 output tokens

reply
876433790 6 hours ago
A fantasy currency like in shitty mobile games to obfuscate the actual amount of money spent.
reply
geoffbp 4 hours ago
Couldn’t seem to load the screen shot? GitHub being weird https://github.com/rociiu/talorys/blob/main/docs/screenshots...
reply
thought-gap 2 hours ago
This is great. If this was available a few years ago, I would have looked at this and similar projects to see if I should base my personal use service on. Why send your sometimes relatively private info elsewhere to be profiled? Why not have software that solves for your needs?

As is, I have already been running my own service (with no intent to open source) for years where I decide features, tools and UX that suits me. My UX is substantially different from these chat boxes. It is also multi-user by design. It still needs time investment but the tradeoff is worth for me. Over time, I expect this threshold to keep getting lower and increasing percentage of folks to cross it.

Generally, as that happens with the cost and time to build software trending lower, I think it will be interesting to watch how this dynamic evolves. For example, is it possible "personal OS" systems could emerge that solve the users' needs? I have created many smallish solutions for my needs recently, but they aren't unified in any way and I personally don't have a desire to be that [human] OS.

reply
StrLght 11 hours ago
There's nothing self-hosted about relying on Cloudflare for _literally_ everything.
reply
TheSkyHasEyes 10 hours ago
Sure, but this is a free thing for some to play around with. Nothing literal, reliant or histrionic about it. :)
reply
embedding-shape 9 hours ago
Call it "A free personal AI agent" if "free" is what you care about, self-hosted doesn't imply free nor vice-versa.
reply
msdz 8 hours ago
Agreed. Better yet, call it "free (as in beer)" to distinguish from the other meaning of free when talking about software :-)
reply
mellosouls 8 hours ago
For those questioning (rightly) the "self-hosted" description, I suspect its a poorly-worded attempt to clarify there is no third-party requirement (eg. the repo is not cloudflare-owned) beyond your own cloudflare account.

Sometimes these "open source" services are a bit misleading as there is a coupling to the org providing them; I think the OP here just means there's nothing extra needed beyond whatever cloudflare commitment you already have.

reply
tomrod 8 hours ago
"Self-managed" seems the better term.
reply
drillsteps5 6 hours ago
"Hosted" is the term that describes an application running on someone else's hardware. As opposed to "self-hosted" which describes an application running on my own hardware. There's no need to invent new terms, just use the existing ones properly and this will prevent any confusion.
reply
ahel 6 hours ago
Claude suggested the same approach for something very similar I asked and ended up deploying and using. Quite useful and snappy architecture (never used workers or durable objects). Definitely not self-hosted but whatever, I think you got the msg from all other comments.

I built it without having a chatbot interface cause I don't see much of the point, like I didn't see the improvement in usefulness 5 years ago re "natural language" task creation a la todoist.

reply
quietFalcon 10 hours ago
Did a side project on Workers and the self host test for me was whether I could run it off Cloudflare at all. Durable Objects and KV bindings meant no, so it was really just deploy it yourself.
reply
orbitaldesk 9 hours ago
[flagged]
reply
agegelife 8 hours ago
[flagged]
reply
ivanjermakov 6 hours ago
> Your personal AI agent. Your own cloud.

Sorry, I don't own any cloud.

reply
Nipola 9 hours ago
In any case, I think the generally accepted definition of self-hosting has broadened
reply
benlower 7 hours ago
all of the people disagreeing in this thread are evidence to the contrary
reply
singpolyma3 6 hours ago
Used to be broader. Some people wish to narrow it
reply
varispeed 2 hours ago
Isn't it a free tier until they decide you should start paying or leave?
reply
scosman 7 hours ago
Cloudflare worker AI is verrrrry slow for user interactive use cases. Fine for background jobs or evals.
reply
sanchezdev01 5 hours ago
Neat. Gonna have to give this a try.
reply
throwaway384638 7 hours ago
FYI. Give Claude a cf key. Done. All work is now a prompt.
reply
fgrandon 7 minutes ago
[flagged]
reply
kydanet 2 hours ago
[flagged]
reply
theritik12ee1 2 hours ago
[dead]
reply
dortesedixson 5 hours ago
[flagged]
reply
rociiu 10 hours ago
[dead]
reply
AgentSearchHQ 9 hours ago
[flagged]
reply
rociiu 12 hours ago
Hi HN! I built Talorys, an open-source personal AI agent that runs entirely in your own Cloudflare account.

The idea came from wanting a personal AI assistant that I could own and control, without paying a monthly subscription or relying on someone else's hosted service.

Talorys uses Cloudflare Workers, Workers AI, Durable Objects, and Pages to provide:

AI chat with persistent memory and conversation history Task, note, and project management Scheduled reminders and recurring automations A responsive web interface accessible from any device Password-protected access with no signup or external accounts One-command deployment: npx create-talorys@latest Everything runs in your Cloudflare account. Your data stays under your control, and there's no telemetry or third-party backend operated by me.

It's designed to work within Cloudflare's free-tier limits for personal use. You don't need to manage a VPS, database server, or Docker containers.

The biggest challenge was making deployment simple enough that someone could set up their own AI assistant without manually configuring Cloudflare services.

The project is still early, and I'd love feedback from the HN community, especially on the architecture, security, and what would make a self-hosted personal AI agent genuinely useful.

GitHub: https://github.com/rociiu/talorys

It's MIT licensed. Contributions and suggestions are welcome!

reply
Jolter 9 hours ago
A suggestion: write the reader yourself next time you’re launching a product/project. It’s painful to always be reading this Claudeish prose.
reply
tln 2 hours ago
This was very easy to set up and play around with.

Giving it the ability to access webpages / do searches would be nice!

It seems like the free 10000 "neurons" would cover light daily usage, like maybe 20-30 minutes of back and forth. I spent 500 in a few minutes of chatting until I realized the tasks I had in mind aren't possible.

How often are you running out of gas, so to speak?

reply
richgroot 8 hours ago
This is a neat implementation, regardless of the argument over how it is hosted! There are a number of other systems along the same general lines, but for me the sticking point is that there is no good implementation equivalent to the Alexa devices scattered around my home (and RV!) that allow me to interact via speech. I'm working on one of those now in my copious spare time. (Yes, there are a bunch of rPi projects. Their rates of errors are unacceptably high.)
reply
onionisafruit 11 hours ago
This is a neat idea, but I wouldn’t say you aren’t relying on someone else's hosted service. Cloudflare isn’t a public utility quite yet.
reply
muvlon 11 hours ago
So instead of relying on someone's hosted service, this is relying on someone's 4 hosted services?
reply
felixgallo 11 hours ago
That’s great! Where do I download cloudflare?
reply
TheSkyHasEyes 10 hours ago
> Be kind. Don't be snarky. Converse curiously; don't cross-examine.

https://news.ycombinator.com/newsguidelines.html

reply
hypfer 9 hours ago
I'm torn in situations like these, because OP is clearly furthering societal trends that are objectively harmful by watering down terminology like this.

It is snark, but it is immune-response snark and not petty snark.

One shouldn't crush them for it, as it might be driven by naivety, but soft politeness alone doesn't steer us away from harmful ideas.

Social friction caused by feeling stupid for saying something is an important tool if wielded with responsibility and not just swung for ego.

reply
AndrewDucker 2 hours ago
Then explain what the problem is, in clear language. Otherwise the person reading your response is going to take away only the message that you're a bit of an arse, and have no actual point to make.
reply
luka598 7 hours ago
Rebuild it with swarm of agents in rust
reply
piperswe 6 hours ago
Except for Workers AI, I don't see any reason this wouldn't run on celld.
reply
patcon 3 hours ago
And I've swapped Workers AI out of plenty of the example apps in the CloudFlare/agents repo on GitHub. I've gotten it working against a local whisperfile binary in like 5 minutes.

agents package is very easy to disentangle from CloudFlare once you've sorted celld, which itself is just a single binary to run

reply
plusfour 11 hours ago
from the internet
reply
876433790 6 hours ago
Can't. Clouflare is MitM-ing large parts of the internet and denying service with their shitty captachas.
reply
rvz 11 hours ago
> without paying a monthly subscription or relying on someone else's hosted service.

But you are hosting it on Cloudflare? There is always a cost when running on someone else's platform that advertises itself as 'free-tier' and it can change at any moment.

reply
pluc 9 hours ago
[dead]
reply