Skip to main content

Add your description here

Project description

official project License

Databao Context Engine

Semantic context for your LLMs — generated automatically.
No more copying schemas. No manual documentation. Just accurate answers.

Website


What is Databao Context Engine?

Databao Context Engine automatically generates governed semantic context from your databases, BI tools, documents, and spreadsheets.

Integrate it with any LLM to deliver accurate, context-aware answers — without copying schemas or writing documentation by hand.

Your data sources → Context Engine → Unified semantic graph → Any LLM

Why choose Databao Context Engine?

Feature What it means for you
Auto-generated context Extracts schemas, relationships, and semantics automatically
Runs locally Your data never leaves your environment
MCP integration Works with Claude Desktop, Cursor, and any MCP-compatible tool
Multiple sources Databases, dbt projects, spreadsheets, documents
Built-in benchmarks Measure and improve context quality over time
LLM agnostic OpenAI, Anthropic, Ollama, Gemini — use any model
Governed & versioned Track, version, and share context across your team
Dynamic or static Serve context via MCP server or export as artifact

Prerequisites

This README assumes you will use uv as your package manager.

You can install it following the instructions here

If you are going to push to the repository, please make sure to install git pre-commit hooks by running

  uv run pre-commit install

How to run?

You can run it with:

  uv run dce info

Not providing the info subcommand or using the --help flag will show the help screen for the command.

Using the dce command directly

To be able to use the dce command directly (without using uv run or python) there are two options.

Installing dce locally

For that one needs to:

  1. Build the project by running
  uv build
  1. Installing the project on our machine by running:
  uv tool install -e .

This second step will install the dce script on your machine and add it into your path.

Create dce alias using nix

This method will simply create a new shell environment with dce alias. For that one needs to install nix package manager (https://nixos.org/download/). After that one could simply run in the project root

$ nix-shell

which is a short version of $ nix-shell shell.nix.

Alternatively, one could specify the path to the project repository

$ nix-shell {path_to_dce_repository}

After that, you can then directly use:

  dce --help

Note: when we actually release our built Python package, users that don't use uv will still be able to install the CLI by using pipx install instead.

Running Mypy

mypy has been added to the project for type checking.

You can run it with the following:

  uv run mypy src --exclude "test_*" --exclude dist

NB: the above runs type checking on all files within the src directory, excluding all test files.

Running tests

You can run the tests with:

  uv run pytest

(there is currently one test succeeding and one test failing in the project)

Generating JSON Schemas for our plugin's config files

To be able to build a datasource, each plugin requires a yaml config file that describes how to connect to the datasource, as well as other information needed to customise the plugin.

To document what each config file should look like, we can generate a JSON schema describing the fields allowed in that file.

You can generate all JSON schemas for all plugins by running:

  uv run generate_configs_schemas

Some options can be provided to the command to choose which plugins to include or exclude from the generation. To see the options available, you can refer to the help:

  uv run generate_configs_schemas --help

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

databao_context_engine-0.1.1.tar.gz (67.6 kB view details)

Uploaded Source

Built Distribution

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

databao_context_engine-0.1.1-py3-none-any.whl (122.8 kB view details)

Uploaded Python 3

File details

Details for the file databao_context_engine-0.1.1.tar.gz.

File metadata

  • Download URL: databao_context_engine-0.1.1.tar.gz
  • Upload date:
  • Size: 67.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"25.11","id":"xantusia","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for databao_context_engine-0.1.1.tar.gz
Algorithm Hash digest
SHA256 59466a6d1a60a58401871dbda7cdaa8b35229d4e29e6b5e43171f77299c4573d
MD5 6ddfc2fefc069c28d7ceb781f8c29aa0
BLAKE2b-256 89d419d999ca30d2003589e4ae3546bddb53b0d2f405924d6f408b5de6d564df

See more details on using hashes here.

File details

Details for the file databao_context_engine-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: databao_context_engine-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 122.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"25.11","id":"xantusia","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for databao_context_engine-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97a669d97bb4a0bdcde9e0d035c414f9f7dd960304b2819b1af33d422300441a
MD5 2dcf5e177b9114a9d269ed3ac65cf07d
BLAKE2b-256 072fab61decc8535d64e8640a626fc719d8a17fe0a0f4da966453e347ade7ecf

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