Foundry.
From data to deployment, the definitive AI workflow.
Run it all on-premise, inside your own infrastructure.
Self-hosted · Hugging Face compatible · your infrastructure
Built on facts you can check.
Already using Hugging Face? Just point HF_ENDPOINT here.
Your existing huggingface_hub code keeps working against Foundry for core workflows — upload, download, and commits.
# Point the official client at Foundry
export HF_ENDPOINT=https://your-foundry.example.com
from huggingface_hub import HfApi, hf_hub_download
api = HfApi(token="hf_...")
api.upload_file(
path_or_fileobj="model.safetensors",
path_in_repo="model.safetensors",
repo_id="your-org/your-model",
)
config = hf_hub_download("your-org/your-model", "config.json")Core repository workflows are drop-in compatible. Some advanced Hub endpoints are still in progress.
- huggingface_hub
official client
- HF_ENDPOINT → Foundry
HF-compatible API · _foundry_* fields
- LakeFS
versioned storage
- S3-compatible
MinIO / Wasabi
- huggingface_hub
official client
- HF_ENDPOINT → Foundry
HF-compatible API · _foundry_* fields
- LakeFS
versioned storage
- S3-compatible
MinIO / Wasabi
One platform. The whole AI lifecycle.
From raw data to a running deployment, without stitching separate tools together.
- 01Data
Bring your files, documents and URLs.
- 02Data Forge
Turn raw sources into training data.
- 03Hub
Version models and datasets on LakeFS.
- 04Reactors
Train and run on multi-cloud GPUs.
- 05Deploy
Ship models and spaces.
- 01Data
Bring your files, documents and URLs.
- 02Data Forge
Turn raw sources into training data.
- 03Hub
Version models and datasets on LakeFS.
- 04Reactors
Train and run on multi-cloud GPUs.
- 05Deploy
Ship models and spaces.
Everything your AI work needs.
Models, datasets and spaces — versioned like code.
Host all three repository types on a Git-style backend powered by LakeFS. Branch, tag, commit and open pull requests on data of any size.
- Branches, tags and commit history on LakeFS
- Pull requests with cherry-pick merges
- Discussions, @mentions and likes
- Monaco code viewer, editor and diff
- Data Studio: in-browser SQL on Parquet, CSV and JSON via DuckDB
- fix configpr-42
- update weights
- add tokenizerv1.0
From raw documents to fine-tuning data.
A six-step pipeline that ingests your sources and generates high-quality training data with an LLM of your choice.
- Six steps: Upload, Ingest, Create, Curate, Export, Publish
- QA, Chain-of-Thought, Summary and multimodal generation
- Parsers for PDF, DOCX, PPTX, HTML, images, URLs and YouTube
- Quality-score curation for QA pairs
- Export to JSONL, Alpaca, ChatML or fine-tuning formats
Multi-cloud GPU, orchestrated.
Launch clusters, jobs and services across clouds with SkyPilot — from a single console.
- Cluster, job and service lifecycle on SkyPilot
- Distributed training: PyTorch DDP, Ray, Horovod, DeepSpeed
- GPU recommendations with estimated cost and spot savings
- Web terminal and live logs
- Autostop presets and organization quota policies
SELECT prompt, label FROM dataset LIMIT 5| prompt | label |
|---|---|
| Summarize the passage. | summary |
| Translate to French. | translation |
| Is this review positive? | positive |
| Extract the date. | entity |
Query datasets right in the browser.
DuckDB-powered SQL over Parquet, CSV and JSON — no download required.
- In-browser SQL with DuckDB WASM
- Parquet, CSV, JSON and Arrow (plus .gz)
- Image-text pair gallery viewer
- Safetensors tensor metadata viewer
- Auto-loads split files like train-*.parquet
Review, discuss, and merge — together.
Pull requests, discussions and mentions live right next to your models and data.
- Pull requests with cherry-pick merges
- Threaded discussions with @mentions
- Likes and follows across repos and people
- Organizations with owner, admin and member roles
- In-app and email notifications
@reviewer can you take a look at the eval results before we ship?
Looks good — metrics held up. Merging now.
3likes- replicas
- 2
- region
- us-east-1
- replicas
- 1
Runs on your infrastructure
Install the full stack on-premise with Docker Compose, on your own servers and GPUs. The core stack runs inside your private network; your data stays with you.
- Spaces — compute-backed apps
- Model services on ReactorsPreview
- Distributed training: DDP, Ray, Horovod, DeepSpeed
- Autostop and org quotas for cost control
Security built into the code, not bolted on.
Compliance-friendly by design, with defense in depth across the stack.
Token rotation
JWT refresh-token rotation with reuse-attack detection.
src/lib/auth/token-service.ts2FA with replay defense
TOTP, AES-256-GCM encrypted, with replay protection.
src/lib/auth/totp.tsContent scanning
Secret detection patterns and ClamAV malware scans on uploads.
src/lib/security/secret-patterns.tsPII masking
Emails, IPs and user IDs masked in production logs.
src/lib/logging.tsRoles and permissions
Three-tier org roles mapped to repo read, write and owner.
src/lib/config/organization.tsCSRF and scoped tokens
Double-submit CSRF and scoped personal access tokens.
src/lib/auth (CSRF)Access and audit, by design.
Role-based access, audit trails, and content moderation, built into the platform.
- Org roles map to repo read, write and owner automatically
- Audit logs for sensitive operations
- Content moderation — secret and malware scans alert admins
- Read-only admin impersonation for support
| Role | View | Contribute | Manage | Owner |
|---|---|---|---|---|
| Member | ||||
| Admin | ||||
| Owner |
Build with the Python SDK and CLI.
A clean SDK and a rich command-line client for everything from upload to download.
from foundry_hub import FoundryApi, upload_file
with FoundryApi(token="...") as api:
models = api.list_models()
info = api.model_info("your-org/your-model")
# Large files use multipart upload automatically
upload_file("your-org/your-model", "./model.safetensors")Questions teams ask first.
Straight answers, grounded in what the code actually does.
Deploy Foundry inside your infrastructure
On-premise for governments, public institutions, and enterprises. Explore the live demo, then talk to us about deployment.