deepfabric logo

deepfabric

nolabs-ai/deepfabric

Generate, Train, Measure, and Evaluate Synthetic Data in One Pipeline

GraphCanon updated 4w · GitHub synced 4w

877 stars83 forksLast push 1mo Python Apache-2.0

Decision brief

Consider DeepFabric for seamless synthetic data generation and integration into machine-learning projects where high-quality data augmentation is critical.

Good fit when

  • Use it when your project requires extensive training on augmented datasets without compromising the quality of the original data.
  • Ideal if you seek to enhance model robustness by incorporating diverse synthetic examples, particularly in scenarios with limited real-world data.

Avoid when

  • Avoid using DeepFabric for projects that strictly require real-world datasets for training and validation due to legal or domain-specific standards.
  • Not recommended for teams already heavily invested in proprietary synthetic data solutions that offer unique features unavailable in open-source alternatives like DeepFabric.

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (3d since push)
As of 4w
Provenance
Not a fork · Organization account
As of 4w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install deepfabric
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

deepfabric provides tools for generating high-quality synthetic data and incorporating it seamlessly into machine-learning pipelines for training, evaluation, and fine-tuning.

Capability facts

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Jul 24, 2026

Languages
python

Source: github.language+pyproject.toml · Jul 24, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 24, 2026)

--topic-prompt "Python programming fundamentals" \
Source link

Tags

README

Training Model Behavior in Agentic Systems

Good First Issues   Join Discord

License CI Status PyPI Version Downloads Discord Reddit

DeepFabric generates synthetic training data for language models and agent evaluations. By combining reasoning traces with tool-calling patterns, it creates high-quality, domain-specific datasets that teach models to think, plan, and act effectively, call tools correctly, and conform to strict schema structures.

What sets DeepFabric apart from other dataset generation tools is its ability to ensure high diversity yet domain-anchored relevance through unique topic graph generation algorithms. This guides sample creation to cover all necessary subtopics while avoiding redundancy, which is where other tools often fall short, resulting in model overfit.

Constrained decoding and response validation, along with real tool executions within isolated webassembly environments, ensure that generated samples strictly adhere to structured schema, variable constraints, and execution correctness, ensuring datasets have exact syntax and structure for use in model training pipelines. Tool definations can be either directly imported from MCP (Model Context Protocol) server schemas and automatically mocked, real life interfaces along with a standard set of common tools (list_files(), 'read_file() etc)

Once your dataset is generated, it can be automatically uploaded to Hugging Face and directly imported into popular training frameworks like TRL, Unsloth, and Axolotl.

Post-training, DeepFabric's built-in evaluation engine assesses model performance, whereby models prove their capabilities on unseen tasks derived from training splits—covering evaluation-only questions, answers, and tool traces.

Quickstart

DeepFabric can be used in several ways, as a library, CLI tool, or via YAML configuration. Here's a quick example using the CLI:

pip install deepfabric
export OPENAI_API_KEY="your-api-key"

deepfabric generate \
  --topic-prompt "Python programming fundamentals" \
  --generation-system-prompt "You are a Python expert" \
  --mode graph \
  --depth 3 \
  --degree 3 \
  --num-samples 9 \
  --batch-size 3 \
  --provider openai \

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.