Mehran Toosi · Principal Software Engineer · Copenhagen

I design and build storage engines, data systems, AI platforms and on-device models.

I have worked in software for 20+ years. I co-lead Visma e-conomic’s agentic platform and built ecoai, the company’s internal AI platform for engineering and business work. I also build an iPhone assistant called Orvena and released two open models trained for it, Orvena 4B and Cue-0.4B.

dev@mehran.dkLinkedIn ↗GitHub ↗CV →

  1. ecoai, the internal AI platform I built: one agent runtime behind Slack and a desktop app that investigates across code, docs and telemetry, changes code, and answers questions from the data warehouse.

work

each opens an explainer or a post

ecoai

Visma e-conomic · 2025–

Visma e-conomic’s internal AI platform for Slack and desktop: one agent runtime with engineering and business integrations, document search, code execution and analytics.

explainer →internal

Privacy Guard

TypeScript, Python · 2026

Reversible pseudonymization between an agent and its model provider: detection in containers, an encrypted vault per conversation, restore at the tool boundary.

explainer →github ↗

Orvena platform

Rust, TypeScript · 2026

Agent platform that runs on a single customer’s own host: a Rust daemon stores actors, queues and alarms in FeOxDB, with a TypeScript agent layer on top.

explainer →private

Orvena for iPhone

Swift, MLX, Core ML · 2026

An iPhone assistant that runs a 4B model on the phone with 38 native tools. I fine-tuned Qwen3.5-4B on its tools and released the result as Orvena 4B, which passes 440 of 547 held-out scenarios with thinking off.

blog post →orvena.app ↗Hugging Face ↗

Cue-0.4B

PyTorch, Core ML, Swift · 2026

An open-weights 0.4B model for voice turn-taking in 30 languages: it decides whether speech during an answer means keep going, stop or a new request, and which new turns need no LLM. About 8 ms on the iPhone Neural Engine.

blog post →Hugging Face ↗technical report ↗Apache-2.0

FeOxDB

Rust · open source · 2025–

Embedded key-value store: a lock-free in-memory index, write-behind persistence through io_uring, reads in about 200 ns. feox-server adds the Redis protocol.

explainer →github ↗feox-server ↗about 200 GitHub stars

CW Luma 10

Rust, Swift · 2026

Colour 2D code for screen-to-camera transfer: ten bits per cell, calibration pilots, per-channel registration and Reed–Solomon repair. Rust codec and iPhone scanner.

explainer →github ↗

experience

since 2004

Dec 2025 — nowPrincipal Software EngineerVisma e-conomicCo-leading e-conomic’s agentic platform, the shared foundation product teams use to build and run agents. Built ecoai, the company’s internal AI platform in Slack and on the desktop, which colleagues use to investigate systems, change code and analyse data. Mentor engineers and set up shared engineering practices across teams. Reviewed code from 43 colleagues across 23 repositories since 2021.
Aug 2022 — Dec 2025Lead Software ArchitectVisma e-conomicArchitecture for decomposing a large .NET and SQL Server monolith: data ownership per module, change data capture, cold storage and product analytics. Mentored engineers and tech leads, and set up engineering practices across teams to improve collaboration and delivery. Ran a four-week experiment on AI coding tools with two teams and wrote the adoption recommendation from its metrics and interviews.
Dec 2020 — Aug 2022Tech LeadVisma e-conomicStarted the decomposition of e-conomic’s monolith. Led the first team to extract a module, customers, and set the patterns for the teams that followed.
Aug 2015 — Dec 2020Senior .NET Developer → Software ArchitectSitecore · Copenhagen and Kuala LumpurThe Sitecore Azure Toolkit, then lead developer on Sitecore Cloud Services for the Azure Marketplace, then architecture for distributed systems in product engineering.
2004 — 2015.NET engineering and technical leadershipEnterprise software, integration platforms and developer tooling, including more than 600 hours teaching C# and .NET to new engineers.

MSc and BSc in Computer Software Engineering

side projects

flyBrainThe FlyWire connectome as a spiking model in Rust and Metal, about 2.6× real time on an M3 Max.live ↗github ↗
MSAP-2An 8-bit computer built from 74HC logic, microcoded, with its own monitor OS.simulator ↗github ↗
MSAP-1The breadboard 8-bit computer from 2021, with a cycle-accurate 3D simulator.simulator ↗github ↗
Orvena 4B: training a 4B model to do phone tasks without thinking6 Nov 2026 · blogCue: a small on-device model for turn-taking in voice mode25 Oct 2026 · blogRunning an agent with a 4B model on an iPhone16 Oct 2026 · blogRouting an agent with four small models13 Oct 2026 · blogKeeping customer data from the model without blinding the agent9 Oct 2026 · blogA knowledge graph that lets an agent answer data questions correctly7 Oct 2026 · blogCW Luma 10: a denser visual code that stays easy to scan2 Oct 2026 · blogBuilding a knowledge graph for AI agentsSep 2026 · LinkedIn ↗Building a harness for a 4B model on the phone is harder than you thinkAug 2026 · LinkedIn ↗