AI • Science • Technology • Future

Side Projects

Diviso: A Local-First AI Agent That Runs on Your Machine

Image from the original article
Featured image: original publisher image. Via original publisher.

Neuzant built Diviso, a local-first AI agent that runs entirely on a user’s own machine — including on an Android phone via Termux. Source: dev.to.

What Diviso Does

Diviso is a Python-based AI agent designed to work without external servers or subscriptions.

  • It connects to local models through Ollama or to cloud services like OpenAI, Claude, Grok, Gemini, Mistral, DeepSeek, or OpenRouter using personal API keys.
  • It runs without needing a Diviso account or storing user data on a central server.
  • It uses a ReAct loop with a planner, setting strict limits on steps and costs per run.

Core Features

Diviso stores persistent memory using SQLite and a plain text file called MEMORY.md. It also supports TF-IDF search over your local files to find relevant content quickly.

It includes a small team of AI agents: a Researcher, a Coder, and a Reviewer. Each handles specific tasks with clear roles.

  • Tools include Python, JavaScript, Bash scripting, file edits, test execution, read-only git access, and web fetches.
  • All tools require user approval and run inside a workspace sandbox to prevent accidental actions.
  • It features an MCP client, a guarded scheduler, and checkpoint/resume support to recover from interruptions.

Hardware Compatibility

The core code uses only standard Python libraries. This makes it work on any device — from powerful GPUs to older laptops and Android phones in Termux.

Diviso detects your hardware and automatically picks a profile: lite, balanced, or pro — based on what fits your system.

Current Status and Limitations

Diviso does not support token streaming. Cloud integrations use documented APIs as specified by the providers.

Image from the original article
original publisher image. Via original publisher. · Source

It has a 74-test offline suite that runs successfully in a deterministic mock environment. Local Ollama is the main method used for manual testing.

Feedback is especially welcome from users who run Diviso on low-end or unusual hardware setups.

For more on local-first AI tools, see Browser Tools That Never Upload Your Files.

For a similar self-hosted AI workspace, explore LinkSense.

For a developer-focused example of local AI, see a local-first markdown editor.

The full code is available at github.com/Neuzant/diviso-agent.

Diviso reflects a growing trend in AI: prioritizing user privacy and local processing over cloud dependency.

Sources & further reading

Featured image: original publisher image. Via original publisher. Image source