Skip to main content

Privacy-first LLM observability and budget control — full AI cost visibility with zero prompt storage.

Project description

DoCoreAI Banner

DoCoreAI — Privacy-First AI Observability & Budget Control

Full LLM Cost Visibility · Zero Prompt Storage · Autonomous Budget Management


🔥 Downloads 📦 Version 🐍 Python 🧾 License


What is DoCoreAI?

DoCoreAI is a privacy-first AI observability and budget control platform for enterprise teams running LLM-powered applications.

Most observability tools require logging prompts and conversations — making them incompatible with enterprise security and compliance policies. DoCoreAI solves this by using metadata-only telemetry: it captures cost, tokens, latency, and model behaviour without ever storing a prompt.

Privacy by architecture. Not by policy.


🎯 Who It's For

Role What DoCoreAI Solves
CTOs & VPs Engineering Stop AI budget surprises. Full spend visibility across every team.
AI Platform Teams Monitor multi-LLM deployments without compliance risk.
Enterprise Security Teams Observability that your security team will actually approve.
Developers Drop-in SDK. Live cost data in under 15 minutes. No infrastructure changes.

🚀 Quick Start

pip install docoreai

⏱️ Average integration time: under 15 minutes.

Get your free token at docoreai.com/account-settings

Configure your .env file:

DOCOREAI_TOKEN=your_token_here
DOCOREAI_API_URL=https://docoreai.com
MODEL_PROVIDER=openai
MODEL_NAME=gpt-3.5-turbo
OPENAI_API_KEY=your_key_here
ALLOW_SYSTEM_MESSAGE_INJECTION=true

Start the sidecar engine:

docoreai start

Verify the setup:

docoreai test

View your cost dashboard:

docoreai dash

🐍 How Integration Works

DoCoreAI runs as a sidecar process alongside your application. It automatically intercepts and instruments all LLM API calls — no code changes required in your existing application.

# Terminal 1 — start the DoCoreAI sidecar
docoreai start

# Terminal 2 — run your application as normal
python your_app.py
# All LLM calls are captured automatically

The sidecar captures only metadata — cost, tokens, latency, model name, and timing — and sends it to the DoCoreAI cloud engine. Prompts and responses never leave your environment.


✅ Core Features

🔒 Privacy-First Observability

  • Zero prompt storage — metadata-only telemetry by architecture
  • Local-side instrumentation — the sidecar runs inside your environment
  • PII detection at the edge — sensitive data never leaves your network
  • SOC2-aligned telemetry — structured audit trails with no prompt exposure

💰 Intelligent Budget Control

  • Autonomous pacing engine — prevents budget overruns proactively
  • Soft limits per team, application, and model — configurable governance
  • 30-day predictive model — learns spending patterns, allocates budget intelligently
  • Auto-retrain triggers — model adapts as usage patterns evolve (coming soon)

📊 Real-Time Cost Intelligence

  • Per-request cost tracking — every LLM call measured and attributed
  • By team, feature & model — granular breakdown across your organisation
  • Token waste detection — identify bloated prompts and agent loop inefficiencies
  • A/B model comparison — compare cost vs quality across providers
  • Drift detection — catch unexpected model behaviour changes early

🔌 Multi-LLM Support

Works with OpenAI, Anthropic, Google Gemini, Groq, Ollama, and llama.cpp — covering both cloud and local/on-premise deployments.


🏗️ How It Works

Your App    →    SDK (Local)        →    Cloud Engine    →    Dashboard
                 ─────────────           ─────────────        ─────────
Any LLM call     Extracts metadata       Aggregates           Full cost
                 Cost, tokens,           metrics              visibility
                 latency, model          No prompts
                 No prompts stored       ever transmitted

The DoCoreAI SDK intercepts LLM calls at the library level using an automatic instrumentation layer. Only structured metadata is forwarded to the DoCoreAI server. Prompts and responses are never transmitted or stored — by architecture.


🖥️ CLI Reference

docoreai start    # Launch the sidecar engine (captures all LLM calls)
docoreai test     # Run a test prompt to verify setup
docoreai show     # Open local Streamlit metrics viewer (client-side data)
docoreai dash     # Open cloud dashboard in browser

⚙️ Full Configuration

# .env

DOCOREAI_TOKEN=                         # Get from docoreai.com/account-settings
DOCOREAI_API_URL=https://docoreai.com   # Cloud endpoint
ALLOW_SYSTEM_MESSAGE_INJECTION=true     # Enables automatic LLM instrumentation

# LLM Providers — add whichever you use
OPENAI_API_KEY=
GROQ_API_KEY=
ANTHROPIC_API_KEY=
GOOGLE_API_KEY=

MODEL_PROVIDER=openai                   # openai | groq | anthropic | google | ollama
MODEL_NAME=gpt-3.5-turbo

📊 Dashboard

View your AI cost intelligence at docoreai.com/dashboard

Available metrics include:

  • Budget vs Spend
  • Cost by Project & Team
  • Token Waste per Prompt
  • Model Performance & Drift
  • API Usage by Hour
  • Prompt Success Rate
  • ROI: Cost vs Time
  • Response Efficiency

✅ Quick Start Checklist

  • pip install docoreai
  • Get your token at docoreai.com/account-settings
  • Create .env with your API keys and DoCoreAI token
  • Run docoreai start
  • Run docoreai test to verify
  • Open docoreai dash to view live cost data

📘 Resources


📜 License

Licensed under CC BY-NC-ND 4.0

For commercial or enterprise licensing: saji@docoreai.com


Built for enterprise teams that cannot afford to choose between privacy and visibility. DoCoreAI gives you both.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docoreai-2.0.0.tar.gz (220.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docoreai-2.0.0-py3-none-any.whl (267.6 kB view details)

Uploaded Python 3

File details

Details for the file docoreai-2.0.0.tar.gz.

File metadata

  • Download URL: docoreai-2.0.0.tar.gz
  • Upload date:
  • Size: 220.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for docoreai-2.0.0.tar.gz
Algorithm Hash digest
SHA256 251fa28fc37b99b77dab46b6ca1fbf89dff0be23a17c72275f596ae6f9a9850c
MD5 f658c53f91dce710b2cf0e5e48af9eec
BLAKE2b-256 010808e6bb634571139e70366361286d0bb4de5756e6e8e5e848edc885173c3e

See more details on using hashes here.

File details

Details for the file docoreai-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: docoreai-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 267.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for docoreai-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f11e5610dbe51ea637ecddadb464e6d92c94f592a3a0a7b11e38d072677de368
MD5 a25fceba9fb4add28d36df1aee3d469f
BLAKE2b-256 25a216a8c42a94dfb4dca237d38b778f73179c1601e2d36222cb0f34374f50c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page