Skip to main content

daari

Open-source local execution router — run cheaply on your machine, not in the cloud.

Status: v1.2.0 Learning, Trust & Clients — tracker · validation · release notes

Route dev agent work through local tiers (cache → IDE tools → local AI) instead of frontier APIs. Not a proxy — a cost optimizer you own.

Quick start

pip:

pip install daari
ollama pull llama3.2:3b
daari serve

Docker (bundles Ollama):

docker compose up

First start pulls the L3 model (~2 GB), then daari listens on http://127.0.0.1:11435 (readiness: GET /ready). Prebuilt image: ghcr.io/naveenreddyalka/daari. Package: pypi.org/project/daari.

Docs — Developer documentation (install, concepts, guides, reference). Contributors: docs/DEVELOPING.md.

One-click demo (install, serve, smoke curl, stats):

./scripts/demo.sh

Manual steps:

python3.12 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
ollama pull llama3.2:3b
daari serve
curl http://127.0.0.1:11435/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"llama3.2:3b","messages":[{"role":"user","content":"Say hi"}]}'

Run the same curl twice — the second response should show "tier": "L0" in daari_meta.

Feature snapshot (v1.2.0)

Routing & caching

  • Local-first routing chain: L0 exact cache → L1 semantic cache (with draft injection) → CCS/L2 rules → Lt CLI tools → L3–L5 local models (Ollama or MLX) → L6 frontier, with confidence-based escalation
  • Cache trust you can measure: shadow-sampled false-hit rate, response-diversity monitoring, input normalization, per-category TTLs
  • Prompt intelligence: category/complexity profiling, per-category policies, latency budgets, warm-model preference, learned routing from your own outcomes

Learning (on-device)

  • Implicit outcome capture + explicit accept/reject feedback → daari learn stats/recommend
  • Auto-tuned per-category confidence thresholds, opt-in example capture → daari learn finetune (MLX LoRA) → daari learn deploy
  • Opt-in, review-first anonymized stats export (daari learn export-stats) — metadata only, never prompts

Clients (one-click)

  • Cursor (BYOK via tunnel + API-key auth), Claude Code (full tool passthrough), JetBrains AI Assistant (Ollama-compatible facade), VS Code, any OpenAI/Anthropic SDK
  • Per-project profiles (.daari.yaml): tier caps, no-frontier, latency budgets per repo

Observability & spend

  • Per-request traces (daari trace), usage ledger with estimated savings (daari report, Markdown export), web dashboard (daari web-ui serve)
  • Monthly/daily frontier budgets with soft warnings, per-client cost attribution, optional pre-frontier PII scrub

Platform

  • MCP server at POST /mcp (initialize / tools/list / tools/call), Sourcegraph/GHE/GitLab providers, org shared cache + collective learning (tracer), gateway API-key auth, MLX backend for Apple Silicon

Docs

Doc Purpose
docs/developer/ Start here — get started, concepts, guides, reference, internals
Docs site Published MkDocs
docs/DEVELOPING.md Contributor pickup (clone, pytest, CI)
docs/prd/ROADMAP-v2.md Forward roadmap
docs/TRACKING.md Living task tracker (maintainers)
docs/pitch/DEMO.md Demo script
CONTEXT.md Agent handoff

Principles

  • Source-available — free for personal, educational, and other noncommercial use
  • Local-first — on-device by default
  • Cost-minimize — cheapest capable path for every task
  • AI optional — many tasks use IDE/CLI tools, not models

License

Daari is licensed under the PolyForm Noncommercial License 1.0.0: personal, educational, research, and other noncommercial use is free. Use by or for a business, or in any money-making activity, requires a commercial license — contact naveenreddy.alka@gmail.com.

Required Notice: Copyright Naveen Reddy Alka (https://github.com/naveenreddyalka/daari)

Releases up to and including v1.2.0 were published under Apache 2.0 and remain available under those terms.

Repo

https://github.com/naveenreddyalka/daari

Metadata

Release files for daari 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for daari 1.3.0
File Size Uploaded Provenance Actions
daari-1.3.0.tar.gz 558.6 kB With provenance Details for daari-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for daari 1.3.0
File Interpreter ABI Platform Actions
daari-1.3.0-py3-none-any.whl Python 3 none any Details for daari-1.3.0-py3-none-any.whl

Total release size: 797.6 kB

Release files / daari-1.3.0.tar.gz

Download URL daari-1.3.0.tar.gz
Size 558.6 kB
Tags Source
SHA-256 checksum
How to use checksums
066f9cb7aab633ad0360b42044393cb9b4d61cebde2d99194e4f92259b02bf03
BLAKE2b-256 checksum
How to use checksums
bdaf7300d8c6627fa698b13ad4ecfea05de84a04d96f69723055c724ce94da77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release files / daari-1.3.0-py3-none-any.whl

Download URL daari-1.3.0-py3-none-any.whl
Size 238.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41387950543c23d525f39094a950a23beaf63540bd7ca25c44106eadf50acea4
BLAKE2b-256 checksum
How to use checksums
d565c8a1bb2c27c1a48107e3009a2ae162180bce25ba274993b8dcb7b2accfe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Security for daari 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for daari-1.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page