Developer Guide

Build defensible AI in minutes with our SDK and API.

Quick Start

1

Initialize Project

Install our core SDK to begin building audit-ready pipelines.

$ pip install hardrag-core
2

Configure SDK

Connect your local development environment to your HardRAG console.

$ hardrag init --api-key YOUR_KEY

CLI Reference

Full reference guide for the Sovereign Governance Terminal CLI tool to audit and inspect RAG pipelines from the shell.

Read CLI Guide

Guardian SDK

Comprehensive kit to build, calibrate, and register custom policy validation guardrail modules in Python.

Read SDK Guide

API References

Technical reference documentation for our REST API endpoints, including grounding score triggers and compliance audit logs.

Explore API Docs

Key Concepts

Faithfulness

Ensuring the LLM output is supported strictly by the provided context.

PII Masking

Removing sensitive identifiers before sending data across boundaries.

Audit Trace

Cryptographically hashed record of the validation process.

Integrations

LangChain
DSPy