Jarvis: How we built it
A private AI company with one client: it remembers, plans, acts within permission, checks its own work and reports back.
- Our role
- Product, architecture, AI-assisted build
- Year
- 2026
- Status
- [object Object]
- Stack
- Python 3.12 · SQLite · SQLAlchemy · FastAPI · OpenRouter · Next.js · Tailwind

Private system. The screenshots show demo records only.
Context
Most personal AI tools are chat windows: they answer, then forget. We wanted something that runs work the way a small company would, with memory, a task list that understands dependencies, and the judgement to ask before doing anything that matters.
JARVIS began as exactly that: a private system with a single user. This page is the engineering story of that first core; the product we present today has its own page.
The problem
Language models are good at proposing and bad at being trusted. A system that sends messages or spends money on its own has to stay predictable, reversible and accountable, even on the days the model is wrong.
The approach
State lives in a database, not in prompts. Agents propose; deterministic code decides and executes. Every request travels the same path: it is ingested as an event, becomes tasks with dependencies, and any action a model proposes goes through policy, and through approval when the risk requires it, before an executor runs it and verifies the result. Everything is written to an audit log.
The whole core runs end to end with no API key, no Telegram and no internet, which made it possible to test every rule before a real model was attached.
The decisions that shaped it
Risk tiers and approvals
Every action is a typed verb with a risk tier. A ten-step policy engine decides whether it runs, waits for approval or is refused. An approval that nobody answers expires into a denial, never into a yes.
One way out
People are only ever contacted through a single outbox, so nothing reaches anyone by accident. A kill switch stops everything at once.
Dependencies that explain themselves
When a task is blocked, for example on a voice sample only a human can record, JARVIS creates a task for that person and says exactly what would unblock the original one.
Memory that understands Persian
Full-text search normalises Arabic and Persian keyboard variants, so the same word typed two different ways is still found.
Cost is part of the state
A cost ledger and budget modes (normal, degraded, restricted, frozen) sit in front of every model call. The model layer routes through OpenRouter with a fallback model when the primary one fails.
An audit you can verify
The audit log is append-only and hash-chained with SHA-256: if any past record were altered, verification would fail.
Where it stands
- Done
Core runtime, dependency engine, policy and approvals, memory, audit, cost ledger and ops console: Python 3.12 and SQLite. The current test count and results are not verified in this portfolio review.
- Live
A model-provider layer is implemented in the source. Current provider availability and runtime configuration need separate verification.
- Done
A Next.js interface with an optional local Core bridge. Demo mode remains available; a current production connection has not been verified for this portfolio.
- In progress
Local text/voice capture and task flows are present in the project source. Current runtime behaviour and the notes-vault connection require separate verification.
- Next
Verify the current runtime, integrations and deployment before describing any of them as operational.



What we learned
The interesting part of an AI system is not the model. It is everything around it that decides what the model is allowed to do, and an honest record of what it did.