Skip to main content

Open source SDK for agent dataset lifecycle management

Project description

DecimalAI Python SDK

The open source SDK for Decimal AI — the dataset control plane for agents.

Installation

pip install decimal-ai

With framework integrations:

pip install "decimal-ai[langchain]"   # LangChain/LangGraph
pip install "decimal-ai[openai]"      # OpenAI SDK
pip install "decimal-ai[all]"         # All integrations

Quick Start

import decimalai

decimalai.init(api_key="dai_sk_...")

# LangChain/LangGraph — add callback handler
from decimalai.langchain import CallbackHandler

llm = ChatOpenAI(model="gpt-4o", callbacks=[CallbackHandler()])

What It Does

  • Trace capture — Auto-captures LLM calls, tool calls, and agent steps
  • Version spec extraction — Auto-detects tool schemas, prompts, models, and graph topology
  • Change detection — Detects when your agent configuration changes
  • Replay helpers — Pull and submit replay tasks for data rescue
  • Dataset export — Export clean JSONL/parquet for fine-tuning

License

MIT

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

decimalai-0.3.0.tar.gz (60.5 kB view details)

Uploaded Source

Built Distribution

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

decimalai-0.3.0-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file decimalai-0.3.0.tar.gz.

File metadata

  • Download URL: decimalai-0.3.0.tar.gz
  • Upload date:
  • Size: 60.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for decimalai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c22920dcff94d05806277f3b84058c5dfd27e6c3e952edcce92f1d71aa72f917
MD5 376d65cc6620180acb25f720f96a94fd
BLAKE2b-256 48f3c4ae93840c221901483bea0efe6c53243265b91803357969ef4f390e27dd

See more details on using hashes here.

File details

Details for the file decimalai-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: decimalai-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 47.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for decimalai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f836156d1c327be16a2ca6b05e785bddb038d284b67b301a3e6e589aac4b8a95
MD5 a87ef0b4de2af6e5591e944399493d85
BLAKE2b-256 3dee864383c4f8fc4971f888fee2fd5f32705af1ce2715260dd6ab48e38081d5

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