Dev Update #2 for smista․ai is out.
This dev update follows our second milestone, which was about building smista-storage, the crate that gives user sessions a proper home.
An #AI session is not just a chat history: it is a graph of messages, routing decisions, tool calls, approvals, plans, diffs, and much more.
That made the choice of database more interesting than usual.
We have to be able to run locally, by embedding the engine, without asking users to spin up local services.
But we also have to be ready for a future SaaS version in which the database is deployed on a dedicated cluster.
That's why we opted for SurrealDB: embedded inside the #Rust router, runs in memory for unit tests, and standalone for SaaS architectures.
Once again, focusing on our core principle: Local-first, but not local-only.
Read the full update: https://smista.ai/blog/dev-update-2-local-first-storage-for-ai-sessions
#rustlang #ai #llm #opensource #localfirst #devtools #surrealdb





