Overview
Caliyor is the private platform I designed and run at home. It hosts self-hosted AI tools and automation services. I wanted the convenience of cloud AI without sending my data to a public service, and to practise the same discipline I use on enterprise Salesforce orgs: least privilege, change control and recovery planning.
Problem
Public AI services are easy to use, but every prompt leaves your control. I wanted private language models I could reach from anywhere, without exposing the server to the internet and without becoming a full-time sysadmin.
Requirements
- Remote access without opening the server to the public internet.
- AI models behind authentication, never reachable anonymously.
- Services that come back on their own after a restart.
- Encrypted backups, plus a written plan for when things break.
- Changes made by AI agents must be reviewed before they apply.
Architecture
Conceptual, simplified on purpose.
- Access: my devices connect over a private mesh VPN. Remote administration happens only through it.
- Edge: a host firewall and intrusion banning filter traffic before it reaches services.
- Services: containerized apps run as managed services designed to restart automatically.
- AI gateway: an authenticated gateway sits in front of the self-hosted language models, handling access and routing in one place.
- Inference: language models run on private hardware I control, not on a public AI service.
- Agents: AI-written changes go through an independent AI review step before they are applied.
- Recovery: encrypted daily backups, plus a written runbook covering five failure scenarios.
Key decisions
- Mesh VPN over port forwarding. It removes a whole class of internet-facing risk, at the cost of needing the VPN client on each device.
- Gateway in front of the models. Authentication and routing live in one place instead of in every app.
- A second AI as reviewer. AI agents are fast but can be confidently wrong, so a separate reviewer catches mistakes before they reach the system. It's the same idea as peer review in a Salesforce release process.
Challenges & lessons
- A recovery review I ran on my own setup found real gaps: there's no off-site copy yet, and a full restore has never been tested. Both are now tracked work. Writing the plan down is what surfaced them.
- Restart reliability takes more than "it worked once". I added reboot checks and alerts after finding services that didn't come back cleanly.
Security considerations
This page deliberately leaves out hostnames, addresses, ports, device names and topology. The public website is completely separate from Caliyor and can't reach it.
Current status
In daily personal use. Next up: an off-site backup copy and a full restore test.