Why Freedom Stack Matters
Positions an open-source privacy stack for AI agents by analysing market gaps, competitor shortcomings, and target audiences.
What this file does
Positions an open-source privacy stack for AI agents by analysing market gaps, competitor shortcomings, and target audiences.
When to use it
- Pitching a privacy-first AI infrastructure product to investors or users
- Writing a README or landing page that explains why your project exists
- Comparing your self-hosted stack against existing alternatives in a table
- Justifying the choice of AGPL v3 license in an open-source project
Why Freedom Stack Matters
Market Analysis & Value Proposition
The first Agent Privacy Cloud — and why nothing else comes close.
</div>The $12B Problem Nobody Solved
The data privacy market is valued at $12B+ and growing 15% yearly. Meanwhile, AI agent repositories surpassed 500,000 GitHub stars in 2025. These two massive trends — privacy and AI agents — have zero intersection in existing products.
Every self-hosted AI platform says "private" but none actually are:
| Platform | Self-hosted? | Tor routing? | .onion services? | E2E chat? | Anonymous search? | Private DNS? | Private payments? | VPN? |
|---|---|---|---|---|---|---|---|---|
| n8n AI Starter Kit | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Dify | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| LangChain | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Flowise | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| AutoGPT | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Northflank | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Freedom Stack | ✓ | ✓ | 11 services | Matrix E2E | SearXNG | AdGuard | Zcash/ZODL | WireGuard + Tor |
They are self-hosted. Freedom Stack is privacy-native.
The difference? Self-hosted means "you run it on your server." Privacy-native means "every component is designed so no third party can observe what's happening, even the VPS provider."
Three Gaps Nobody Filled
Gap 1: No Privacy Layer for AI Agents
Today's AI agents:
- Search via Google → Google sees every query your agent makes
- Call OpenAI/Anthropic API → They log every prompt and response
- Store data on S3/GCS → Amazon/Google can read your agent's data
- Communicate via Slack → Salesforce reads agent-to-agent messages
- Execute code on Lambda → AWS sees what your agents run
Freedom Stack gives agents:
- SearXNG → Search without anyone knowing what was searched
- Ollama → LLM inference with zero data leaving the server
- Nextcloud → File storage on YOUR server
- Matrix → E2E encrypted agent-to-agent communication
- Tor + Privoxy → Anonymous external requests
- Qdrant → Vector memory that only you control
Gap 2: No Unified Human + Agent Stack
The self-hosted ecosystem is fragmented:
- Want Nextcloud? Install it separately.
- Want Matrix? Separate docker-compose.
- Want AI agents? Yet another stack.
- Want monitoring? Another tool.
- Want Tor? Manual configuration.
Every addition is another docker-compose file, another network config, another potential conflict.
Freedom Stack: 34 containers in 1 unified docker-compose.yml, with 3 isolated networks, pre-configured to work together. Agents can access human services (search, chat, storage) through internal Docker DNS. No manual networking.
Gap 3: No "1 Command" Deployment for Privacy Infrastructure
Setting up a privacy-first environment manually takes days:
- Install and configure Tor: 2-4 hours
- Set up Nextcloud + database + Redis: 1-2 hours
- Deploy Matrix/Synapse + PostgreSQL: 2-3 hours
- Configure WireGuard: 1 hour
- Set up fail2ban + CrowdSec: 1-2 hours
- Install Ollama + connect to vector DB: 1-2 hours
- Configure n8n with all integrations: 2-3 hours
- Generate .onion services for everything: 1-2 hours
- Set up monitoring (Grafana + Prometheus + Netdata): 2-3 hours
- Configure backups with encryption: 1-2 hours
- Total: 15-25 hours of expert sysadmin work
Freedom Stack: 15 minutes. 1 command. Zero expertise required.
Who Needs This
Primary Audiences
| Audience | Size | Why They Need It | Willingness to Pay |
|---|---|---|---|
| AI agent developers | ~500K (GitHub stars in agent repos) | Need private LLM + vector DB + anonymous scraping | High — save 20+ hours of setup |
| Privacy community | ~3M (r/selfhosted + r/privacy + r/degoogle) | Want to leave big tech but lack technical skills | Medium — value convenience |
| Journalists & activists | ~50K globally | Need Tor, .onion, E2E chat, zero trail for survival | Critical — lives depend on it |
| Enterprise/compliance | $12B market (GDPR, LGPD, HIPAA) | Need on-premise AI that meets regulations | Very high — pay for compliance |
| Traders & quant researchers | Niche, high-value | Agents need anonymity (MEV, frontrunning protection) | Very high — edge = money |
| Researchers | Growing with AI/ML boom | Local LLM for sensitive data, reproducibility | Medium |
Use Cases in Detail
1. Trading / Betting Agents An agent that scouts odds via SearXNG, analyzes with local Ollama (no one sees the analysis), executes trades via Tor (anonymous), stores history in Qdrant (semantic search over past trades), and sends Gotify alerts to the owner's phone. No exchange, API provider, or VPS host knows what's happening.
2. OSINT / Research Agents Scrape 100 sources in parallel via Tor Rotator (new circuit every 30 seconds — no IP bans). Store findings as embeddings in Qdrant. Cross-reference via semantic search. Communicate findings via Matrix E2E. Zero trail.
3. Multi-Agent Swarms 50 agents simulating personas (OASIS/CAMEL framework), communicating via Matrix E2E, sharing memory via Qdrant, orchestrated by n8n visual workflows. All running in an isolated sandbox. The entire swarm is invisible to the outside world.
4. Enterprise Private AI Company deploys Freedom Stack on-premise. Employees use Nextcloud (GDPR-compliant storage), Matrix (E2E chat), Vaultwarden (passwords), and Ollama (LLM that never sends data outside). Meets GDPR, LGPD, HIPAA without any cloud vendor.
5. Investigative Journalism Journalist runs agents that monitor government databases via Tor, cross-reference with public records, store evidence in encrypted Nextcloud, and communicate with sources via Matrix E2E + .onion addresses. Source and journalist are both protected.
Competitive Landscape
The Current Market
PRIVACY
↑
│
│ ★ FREEDOM STACK
│ (privacy-native + agent infra
│ + human stack + 1 command)
│
│
│
Njalla/1984 │
(VPS only, │
no stack) │ n8n AI Kit
│ (self-hosted but
│ no privacy layer)
│
│ Dify LangChain Flowise
│ (self-hosted, no privacy,
│ no human services)
│
───────────────┼──────────────────────→ AI AGENTS
│
Traditional │ OpenAI Platform
self-hosted │ (cloud, logs everything,
(Nextcloud, │ trains on your data)
Matrix) │
│
│ AWS / Google Cloud
│ (sees everything)
│
Freedom Stack occupies the only empty quadrant: high privacy + full AI agent infrastructure.
What Competitors Would Need to Catch Up
| To match Freedom Stack, a competitor would need to: | Effort |
|---|---|
| Integrate Tor with .onion service generation for each container | 2-3 weeks |
| Build unified Docker Compose with network isolation | 1-2 weeks |
| Add SearXNG, Matrix, Nextcloud, Vaultwarden integration | 2-3 weeks |
| Add WireGuard VPN with auto-config and QR codes | 1 week |
| Add AdGuard Home as DNS layer | 1 week |
| Wire up health checks, resource limits, log rotation | 1 week |
| Build visual dashboard, desktop integration, wizard | 1-2 weeks |
| Test everything works together (34 containers) | 2-3 weeks |
| Total: 3-4 months of focused engineering |
Freedom Stack already did this. First mover advantage is real.
The Business Model
The code is open source (AGPL v3). Monetization is on the ecosystem:
| Revenue Stream | Price Point | Target Audience |
|---|---|---|
| Managed hosting (deploy 1-click, we manage the VPS) | $15-50/month | Non-technical users who want privacy without sysadmin |
| Setup consulting | $100-500 per setup | Organizations that need custom configuration |
| n8n agent templates (pre-built workflows) | $10-50 each | Developers who want ready-made agent pipelines |
| Enterprise support (SLA, multi-VPS, clustering) | $500+/month | Companies with compliance requirements |
| Training / workshops | $200-1000 | Teams adopting private AI infrastructure |
Why AGPL v3?
- Open source builds trust — critical for a privacy product
- AGPL prevents closed forks — if someone modifies and runs it as a service, they must release the source
- Community contributions — security audits, new integrations, translations
- First mover owns the brand — "Freedom Stack" becomes the default name for this category
Evolution: From Script to Product
v1.0 (14 containers) → Basic self-hosted stack
↓ Audit: 16 issues found
v2.0 (16 containers) → Security hardening, unified compose
↓ Performance gaps
v3.0 (25 containers) → PostgreSQL, Redis, Grafana, Portainer
↓ "What about AI agents?"
v4.0 (34 containers) → AGENT PRIVACY CLOUD ← We are here
↓ Next
v5.0 → Managed hosting, GPU support, Kubernetes
Each version was driven by real needs:
- v2.0: "21 compose files is unmanageable" → unified
- v3.0: "SQLite doesn't scale for Matrix" → PostgreSQL
- v4.0: "My AI agents leak data to big tech" → Agent Privacy Cloud
Numbers That Matter
| Metric | Value |
|---|---|
| Lines of code | 4,358 |
| Docker containers | 34 |
| Health checks | 23 |
| Resource limits | 34 |
| .onion hidden services | 11 |
| Auto-HTTPS subdomains | 17 |
| Isolated Docker networks | 3 |
| Setup time | ~15 minutes |
| Monthly cost | €8-18/month (VPS) |
| Closest competitor gap | 3-4 months of engineering |
| Target market size | $12B+ (data privacy) |
| Active community | 3M+ (r/selfhosted + r/privacy + r/degoogle) |
The Timing Is Perfect
- AI agents are exploding — 500K+ GitHub stars in agent repos in 2025
- Privacy regulations tightening — GDPR enforcement increasing, new laws in Asia/Americas
- Self-hosting mainstream — r/selfhosted grew from 400K to 800K in 2 years
- Local LLMs viable — Ollama + Apple Silicon makes local inference practical
- Big tech trust eroding — Post-2024 AI training scandals, users want control
- No one filled the gap — privacy + agents = empty market
Freedom Stack is the right product at the right time.
<div align="center">
The first Agent Privacy Cloud is open source and ready to deploy.
bash install.sh --all --domain yourdomain.com
34 containers. 1 command. Zero big tech. Your move.
</div>What's inside
Market analysis, competitor comparison table, three gaps, six audience segments, five use cases, business model, evolution timeline, key metrics.
Change this for your project
- Replace
Michae2xl/freedom-stackwith your own repository name - Replace
Freedom Stackwith your project name throughout - Replace
bash install.sh --all --domain yourdomain.comwith your own install command - Replace
v1.0 (14 containers)throughv5.0with your own version history
Where it goes
Keep it in your repository where the agent or team that needs it will read it.
Worth borrowing
- Lead with a quantified market problem ($12B+) to create urgency
- Use a feature comparison table that highlights your unique differentiators
- Estimate competitor catch-up time (3-4 months) to reinforce first-mover advantage
Related Documents
LLM Privacy Layer — Complete Research Synthesis
Synthesises research on Secludy's privacy-safe synthetic data product and maps it to an MVP plan using spaCy and Faker instead of differential privacy.
PRJ-036: KYC Deployment with Persona
Plans a two-phase KYC deployment using Persona for identity verification, first on WordPress then migrating to jAIMSnet, as a critical step in a user journey.
Regular Expressions (Regex) - A Quick Guide
Teaches regex basics, data sanitization steps, and outlier removal using standard deviation for data preprocessing.
DSGVO/GDPR Compliance Guide
Defines a DSGVO/GDPR breach response procedure with notification timelines, documentation templates, and regulatory contacts for German federal states.