Installation
Basic Installation
Install the Briefcase SDK using pip:
pip install briefcase-ai
This installs the core Python SDK with OpenTelemetry dependencies.
Python Version Requirements
- Python SDK (pure Python):
>=3.8 - Rust bindings (
briefcase-ai):>=3.10
Optional Dependencies
Install optional dependencies based on your use case:
lakeFS Support
For lakeFS commit SHA capture:
pip install "briefcase-ai[lakefs]"
Includes: lakefs>=0.1.0
RAG Versioning
For RAG component versioning with vector databases:
pip install "briefcase-ai[rag]"
Includes:
pyarrow>=12.0.0- Parquet support for embeddingspinecone-client>=2.2.0- Pinecone integrationweaviate-client>=3.22.0- Weaviate integrationchromadb>=0.4.0- ChromaDB integration
Compliance Reporting
For compliance report generation with PDF support:
pip install "briefcase-ai[compliance]"
Includes:
markdown>=3.4.0- Markdown renderingpdfkit>=1.0.0- PDF generationjinja2>=3.1.0- Template rendering
Full Installation
Install all optional dependencies:
pip install "briefcase-ai[lakefs,rag,compliance]"
Development Installation
For development with testing and documentation tools:
git clone https://github.com/briefcasebrain/briefcase-ai-core.git
cd briefcase-ai-core
pip install -r requirements-dev.txt
Rust Bindings
For high-performance Rust bindings with compiled extensions:
pip install briefcase-ai
Add to your Cargo.toml for Rust projects:
[dependencies]
briefcase-core = "2.1"
Requirements
- Python 3.8 or higher (SDK), 3.10 or higher (Rust bindings)
- OpenTelemetry SDK 1.20.0 or higher
- Rust 1.70+ (for Rust bindings compilation)
Verification
Verify installation:
import briefcase
print(briefcase.__version__) # Should print "2.1.19"
For Rust bindings:
use briefcase_core::*;
println!("Version: 2.1");
Next Steps
Rust Bindings (High Performance)
For Python applications requiring Rust-level performance:
pip install briefcase-ai
Requires Python ≥ 3.10 (native wheels for Linux, macOS, Windows).
Rust (Native)
Add to your Cargo.toml:
[dependencies]
briefcase-core = "2.1"
Node.js
npm install briefcase-node
WebAssembly
npm install briefcase-wasm
Development Setup
git clone https://github.com/briefcasebrain/briefcase-ai-core.git
cd briefcase-ai-core
make install-dev
Verification
import briefcase
print(briefcase.__version__) # 2.1.19
Requirements
- Python ≥ 3.8 (SDK), ≥ 3.10 (Rust bindings)
- OpenTelemetry SDK ≥ 1.20.0
- Rust ≥ 1.70 (for building from source)