OpenNextFrontier ยท Technical White Paper
๐Ÿฆ…

Your Self-Sovereign
AI Agent

Architecture, Philosophy, and the Case for Sovereignty by Design
ProductPathfinder v0.1.5
PublisherOpenNextFrontier
DateApril 2026
LicenseAGPL v3 Open Source
StackTauri 2 ยท Rust ยท React 19 ยท SQLite
Contents
01 โ€” Abstract

The Case for Sovereign Personal AI

Pathfinder is a native desktop application and personal AI agent built on a single architectural guarantee: by default, nothing leaves your machine. It is not a cloud service with a privacy policy. It is a locally-run system whose architecture is structurally incapable of transmitting your data without your explicit choice.

This white paper presents the technical architecture, design philosophy, capability set, and roadmap for Pathfinder โ€” and makes the broader case for why personal AI must be sovereign by design, not sovereign by promise.

Pathfinder is open-source under AGPL v3. It runs on Windows, macOS, and Linux. It supports five LLM providers โ€” local and cloud โ€” switchable per persona. It includes an encrypted vault, a Telegram gateway, a cron scheduler, an agent loop with tool calling, a knowledge base, a credentials manager, and a skills pipeline. All of it runs on your hardware. All of it answers to you.

9
Blocks Complete
5
LLM Providers
โˆž
Data Ownership
0
Servers to Breach
โœฆ
02 โ€” The Problem

What "Trust Us" Actually Means

Every major AI assistant in use today operates on the same implicit contract: hand over your data, your conversations, your habits, and your identity โ€” and in return, receive intelligence. The provider promises to be responsible with what you share. They publish privacy policies. They hire ethics teams. They mean well.

But "trust us" is a policy. And policies change.

Policies are rewritten when business models shift. They are overridden by government requests. They are rendered meaningless by acquisitions, bankruptcies, and data breaches. A policy is a promise made by people who may not be there tomorrow, about data that already left your hands yesterday.

"The question worth asking is not 'do you trust this company?' It is 'should trust even be required?'"

โ€” OpenNextFrontier Personal AI Manifesto

We are at an inflection point. AI is moving from novelty to infrastructure โ€” from something you try to something you depend on. The decisions made in the next few years about how personal AI is architected will shape who owns the most intimate layer of human cognition for decades.

Your AI assistant learns your schedule, your relationships, your health concerns, your finances, your fears. That is an extraordinary amount of trust to place in a terms-of-service agreement.

Pathfinder offers an alternative: personal AI that is genuinely personal. Intelligence that serves its owner because it is built to โ€” not because it promised to.

โœฆ
03 โ€” The Founding Principle

Sovereignty by Design

Pathfinder is built on a single foundational principle: a system that is architecturally incapable of acting against its owner cannot betray them โ€” regardless of who builds it, funds it, or acquires it.

This is not a privacy policy. It is the structure of the system itself.

I
The Vault is Permissionless
The architect of Pathfinder has never seen any user's memories and never will. There is no server to subpoena. There is no database to breach. There is no account to deactivate.
II
Sovereignty is the Baseline, Not a Feature
Sovereignty begins at Settler โ€” the moment someone installs Pathfinder. Tiers add capability. They do not add sovereignty. A person who journals privately owns their data completely, just as much as someone running a full sovereign stack.
III
Intentional Connection, Not Forced Trust
When Pathfinder uses a cloud LLM, only the current conversation context is sent. The vault, memories, credentials, and documents are never included. Web search sends only the query. n8n sends only the intent and parameters. Every external connection is deliberate, scoped, and initiated by you.
IV
Architecture Enforces, Not Policy
Pioneer tier blocks cloud LLMs at the Rust command layer โ€” not a UI toggle, not a settings flag. It is enforced in compiled code. A Pioneer persona will never send inference to a cloud LLM regardless of configuration.
V
Open Source as Verification
AGPL v3. The architecture is visible, forkable, and auditable. Any person can verify exactly what Pathfinder does with their data. Trust is not required โ€” verification is available.

"The most trustworthy AI is one that cannot betray you. Not one that has agreed not to. Not one that has a good reputation. One that, by its structure, has no pathway to act against the person it serves."

Sovereignty by design. โ€” OpenNextFrontier
โœฆ
04 โ€” Architecture

Built on a Sovereign Stack

Pathfinder is a native desktop application built with Tauri 2 and a Rust backend. It is not a web app. It is not an Electron app. It is a single compiled binary with a bundled SQLite database and an AES-256-GCM encrypted vault โ€” all running on your hardware, with no external server required.

PATHFINDER ARCHITECTURE โ€” v0.1.5 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ FRONTEND React 19 ยท TypeScript ยท Tailwind 4 ยท Vite โ”‚ โ”‚ ChatPanel ยท Settings (11 panels) ยท VaultUnlock ยท AppShell โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ Tauri invoke() โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ RUST COMMANDS agent_chat ยท vault_* ยท persona_* ยท memory_* โ”‚ โ”‚ Thin handlers โ€” delegate to services layer โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ SERVICES vault.rs ยท persona.rs ยท memory.rs ยท conversation.rs โ”‚ โ”‚ gateway/ (Gateway trait) tools/ (Tool trait) โ”‚ โ”‚ scheduler_engine.rs (tokio cron) โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ pathfinder.db โ”‚ โ”‚ pathfinder.vault โ”‚ โ”‚ SQLite WAL โ”‚ โ”‚ AES-256-GCM ยท PBKDF2 100k โ”‚ โ”‚ 18 migrations โ”‚ โ”‚ Never written to disk unencrypted โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ External (user-initiated only): Cloud LLM โ†’ conversation context only (no vault, no memories) Web search โ†’ query only n8n โ†’ intent + parameters only Telegram โ†’ your bot, your token, polling mode

The Rust backend enforces all security constraints at the command layer before any data is processed. The frontend is a pure consumer of Tauri commands โ€” it never accesses the vault or database directly. This separation means tier enforcement cannot be bypassed by modifying frontend code.

The SQLite database uses WAL (Write-Ahead Logging) mode with rusqlite 0.37 bundled โ€” no system dependency required. The vault is a key-value store encrypted with AES-256-GCM using a key derived from the user's passphrase via PBKDF2/SHA-256 at 100,000 iterations. The key is cached in RAM as a VaultSession and zeroized from memory on drop โ€” it is never written to disk.

โœฆ
05 โ€” Security Tier Model

Progressive Capability, Constant Sovereignty

Pathfinder uses a four-tier security model. Each tier adds capability โ€” none remove sovereignty. Tiers are per-persona, not per-installation. A single Pathfinder installation can simultaneously run a Scout persona (local LLM only) and a Pioneer persona (cloud LLM enabled), each with its own model, memory, and security constraints.

Tier 0
Settler
Vault, memory capture, Telegram gateway, scheduler, credentials manager, BM25 knowledge search. No LLM of any kind required.
No API key needed
Tier 1
Scout
All Settler capabilities plus local LLM inference via Ollama or BitNet. Agent loop, tools, skills, document search. No cloud required.
Ollama recommended
Tier 2
Pioneer
All Scout capabilities plus cloud LLM access (Claude, GPT, Gemini). Web search, n8n workflows, full agent capability. Local and cloud mixed per persona.
API key required
Tier 3
Explorer
All Pioneer capabilities plus hardware wallet signing, ZK proofs, and cryptographic ledger integration.
Future release

The Scout tier block is the clearest example of sovereignty by architecture. When a persona is set to Settler or Scout (tiers 0 or 1), the agent_chat Rust command checks security_tier <= 1 before routing to any cloud provider and returns an error โ€” not a warning, an architectural rejection. This check runs in compiled Rust โ€” it is not a frontend setting that can be toggled or bypassed. A Scout persona will never send inference to Anthropic, OpenAI, or Google, regardless of what API keys are stored in the vault.

A single Pathfinder installation can run a Scout persona (local-only) and a Pioneer persona (cloud-enabled) simultaneously โ€” each with its own model, system prompt, and capability set. Tiers are per-persona, not per-installation.

The first-run wizard performs an environment scan โ€” pinging Ollama, listing installed models, checking RAM and disk โ€” and auto-recommends the appropriate starting tier based on what is already installed on the machine.

โœฆ
06 โ€” Capabilities

What Pathfinder Can Do Today

๐ŸŽญ
Multi-Persona Identity
Unlimited personas, each a different mind โ€” own model, system prompt, tone, security tier, color, and key overrides. Me-Corporate on Opus. Me-Personal on local qwen3. Me-Hobby on BitNet at zero cost.
๐Ÿ”
AES-256-GCM Vault
PBKDF2/SHA-256, 100k iterations. API keys, credentials, documents โ€” all encrypted. Key zeroized from RAM on drop. Never written to disk. Credentials never stored in the database.
๐Ÿ“ฑ
Telegram Gateway
teloxide, polling mode, no public IP required. Intent tokens: memory:, journal:, note:, find:, card:, password:, doc:. Photo, voice, and document capture. Persona switching via PIN.
๐Ÿ”ง
Agent Loop + Tools
Up to 5 iterations, dedup check, unknown tool fallback, brace-matching parser. Web search (Serper), document search (BM25), n8n workflows (400+ integrations), calculator. Short-circuit when no tools available.
โฐ
Cron Scheduler
Tokio-based cron engine. One-shot and recurring jobs. Telegram delivery. Per-job run history. Jobs fire while the app is open โ€” autonomous AI work on your schedule.
๐Ÿ“š
Knowledge RAG
BM25 keyword search on knowledge_chunks table. docs/ folder auto-indexed on startup. Trailhead persona injects full documentation context via RAG โ€” ask Pathfinder how to use Pathfinder.
๐Ÿ”‘
Credentials Manager
Passwords in vault at shared.credentials.{id}.password โ€” never in SQLite. pfcreds encrypted export/import (AES-256-GCM JSON blob). CSV import. Retrieve via Telegram password: intent token.
โšก
Skills Pipeline
Folder-based skill system: 00_references โ†’ 01_input โ†’ 02_process โ†’ 03_output. skill.json manifest. No Rust required to build a skill. Morning Brief and Research skills included.
โœฆ
07 โ€” Sovereignty in Practice

What Stays Local. Always.

The sovereignty claim is architectural, not absolute. Here is exactly what stays local and what travels, when you choose to let it:

Data
Stays Local
Travels When
What Is Sent
Vault contents
Always
Never
โ€”
Memories
Always
Never
โ€”
Credentials / passwords
Always
Never
โ€”
Personas & system prompts
Always
Never
โ€”
Conversation context
By default
Cloud LLM chosen
Current conversation only
Web search query
N/A
Web search tool used
Search query only
n8n workflow call
N/A
n8n tool used
Intent + query + parameters

Pioneer tier personas never appear in the "Travels When" column for conversation context โ€” cloud LLMs are blocked by the Rust command layer before the call is ever made.

โœฆ
08 โ€” Community & Extensibility

Five Extension Points. One Sovereignty Core.

Pathfinder is designed for community extensibility from the start. Five defined extension points allow contributors to add capabilities without touching the sovereignty core โ€” the vault encryption, tier enforcement, and core DB schema remain founder-controlled.

๐Ÿ“ก
Gateway Modules
Implement the Rust Gateway trait to add new transport channels. Signal, Discord, IRC, Meshtastic โ€” the trait is defined and ready. Telegram is the reference implementation.
๐Ÿ”ง
Tool Factory
Implement the Tool trait to add new agent-callable tools. Tier + key gating is automatic. The ALL_TOOLS registry filters at call time. No core code changes required.
๐Ÿท๏ธ
Token Handlers
Add new intent token prefixes to the gateway handler. The token protocol is how Pathfinder routes Telegram messages without LLM involvement โ€” fast, cheap, sovereign.
๐Ÿ’พ
Storage Adapters
Implement the MemoryStore trait to add new memory backends. Vector search via nomic-embed-text is the planned next adapter alongside the existing BM25 SQLite implementation.
โšก
Skills โ€” No Rust Required
The lowest-barrier extension point. A skill is a folder with a skill.json manifest and markdown files. No compilation. No Rust. Anyone who can write markdown can build a Pathfinder skill. The folder pipeline (00_references โ†’ 01_input โ†’ 02_process โ†’ 03_output) handles execution.

Community contributions are gated on Block 12 โ€” which requires a cryptographic contribution ledger (blockchain-based) to be production-ready. This is intentional: the contribution process itself must be sovereign. Every merge will require a CLA and an on-chain record. No contribution can reach users without explicit founder approval until the DAO governance model is operational.

The community layer sits above individual Pathfinder instances and can never reach inside them. It pushes capabilities downward. It never pulls data upward.

โœฆ
09 โ€” Comparison

Pathfinder vs Cloud AI

Cloud AI tools โ€” Claude.ai, ChatGPT, Gemini โ€” are excellent at inference. They are not designed for sovereignty. The comparison below is not a criticism of their models; it is an observation about their architecture.

Capability
๐Ÿฆ… Pathfinder
Claude.ai
ChatGPT
Data stays on your machine
โ˜… Always
โœ• Their servers
โœ• Their servers
Works fully offline
โ˜… Scout tier
โœ•
โœ•
Multiple personas
โ˜… Unlimited
โœ• Single identity
โœ• Single identity
Multiple LLM providers
โ˜… 5 providers
โœ• Claude only
โœ• GPT only
Telegram gateway
โ˜… Built-in
โœ•
โœ•
Cron scheduler
โ˜… Built-in
โœ•
โœ•
Encrypted credentials vault
โ˜… Built-in
โœ•
โœ•
Open source
โ˜… AGPL v3
โœ•
โœ•
Agent loop + tools
โœ“ Built
โœ“ Yes
โœ“ Yes
No conversation training
โ˜… Guaranteed
~ Opt-out
~ Opt-out
โœฆ
10 โ€” Roadmap

Where Pathfinder Is Going

Phase I
Foundation
Blocks 1โ€“9 โ€” Complete (v0.1.5)
Tauri 2 native app ยท AES vault ยท 5 LLM providers ยท Multi-persona ยท Telegram gateway ยท Agent loop ยท Scheduler ยท Skills ยท Trailhead RAG ยท Credentials ยท First-run wizard ยท NSIS installer
โœ“ Complete
Phase II
Reach
Blocks 10โ€“11 โ€” Android + Developer Readiness
Tauri Android target ยท Samsung Galaxy Tab APK ยท Architecture docs ยท Gateway/tool/skill walkthroughs ยท GitHub Actions CI ยท Mock LLM mode ยท Echo gateway reference ยท Issue/PR templates
In Progress
Phase III
Community
Block 12 โ€” Community Contributions (Blockchain-gated)
Cryptographic contribution ledger ยท CLA + on-chain record ยท Extension marketplace ยท Contributor ZK verification ยท Cryptographic accountability bonds ยท Revenue distribution via smart contract
Planned
Phase IV
Living Platform
Explorer Tier + Decentralized Governance
Hardware wallet signing ยท ZK proofs ยท Cryptographic ledger identity ยท DAO governance ยท Event access verification ยท Signal/Discord/Meshtastic gateways ยท Voice I/O ยท .soul portable export ยท Social publishing
Future
โœฆ
11 โ€” AI Literacy Initiative

An Educated Community is a Resilient Community

Alongside Pathfinder as a product, OpenNextFrontier is developing an AI Literacy Initiative โ€” a locally-rooted educational program that teaches practical AI skills to businesses, nonprofits, and individuals, with a built-in access model that ensures those who can't afford tuition still get a seat.

The goal is not to produce AI power users. It is to produce people who understand what AI is, what it is not, where it is heading, and what questions to ask. People who can evaluate claims made by vendors, employers, and politicians. People who know when to embrace a technology and when to push back.

"People are worried about their jobs, their privacy, and a future they feel they have no voice in. That fear is not irrational. An educated community is a resilient community."

โ€” AI Literacy Initiative Briefing Note

What students take home: A working AI assistant that runs locally on their own computer โ€” no subscription, no ongoing cost, no vendor dependency. Something real, not just a certificate.

The model: Businesses and professionals who can afford quality AI education fund seats for nonprofit staff, community organizations, students, and individuals who couldn't otherwise participate. Paying students aren't just buying education โ€” they're enabling access for others.

Governance vision: A foundation arm (nonprofit, eventual 501(c)(3)) holds the educational mission and access fund. A commercial arm sustains operations and generates the cross-subsidy. Community governance expands over time to include educators, builders, and participants.

โœฆ
12 โ€” Conclusion

The Argument, Stated Simply

Personal AI is becoming infrastructure. The architecture decisions being made today will determine who owns the most intimate layer of human cognition for the next generation.

Pathfinder is a bet on a different outcome: that it is possible to build personal AI that is genuinely personal. That sovereignty by design is not a niche concern but an architectural necessity. That the most trustworthy AI is not the one that promises best โ€” it is the one that cannot betray you by structure.

The project is open-source. The architecture is visible. The vault is yours. The data is yours. The personas are yours. The memories are yours.

That is not a claim. That is a design.

"Your self-sovereign AI agent. Intelligence that serves its owner because it is built to โ€” not because it promised to."

Sovereignty by design. โ€” OpenNextFrontier ยท opennextfrontier.com

Get started: Download Pathfinder from opennextfrontier.com. Single .exe installer. No account. No subscription. Your data never leaves.

Read the source: github.com/epictetusmemory-design/pathfinder-tauri โ€” AGPL v3.

Explore the docs: opennextfrontier.com โ€” architecture, wire diagram, layer map, capabilities, this white paper.