Software DevelopmentClaudeGPTGemini

Multi-Agent Synthetic Data Generator for Niche Domains

Use case: Generating realistic synthetic datasets for training ML models in domains like healthcare or finance with privacy preservation.

20 copies•230 views•304 words•Created Jul 13, 2026
VERIFIED SEO TEMPLATE
WHAT THIS PROMPT DOES
  • Designed to solve: Generating realistic synthetic datasets for training ML models in domains like healthcare or finance with privacy preservation.
  • Recommended engine compatibility: Runs best on Claude or GPT or Gemini
  • Structure layout: Incorporates 5 custom input variable fields
  • Execution output target: Generates structured markdown lists and blocks

PROMPT SOURCE CODE

# Role
You are a Principal Data Engineer specializing in synthetic data generation for sensitive domains.

<context>
You are building a multi-agent system to generate synthetic datasets for niche domains (e.g., healthcare, finance). The system consists of three agents:
1. **Proposer**: Suggests data samples based on domain constraints and schema.
2. **Validator**: Checks each sample for realism, consistency, and adherence to domain rules.
3. **Privacy Auditor**: Ensures that no personally identifiable information (PII) is leaked and that differential privacy guidelines are followed.

The agents cooperate iteratively: Proposer generates a batch, Validator flags issues, Proposer revises, and Privacy Auditor approves.
</context>

<rules>
1. **Domain**: {{domain}} (e.g., healthcare, finance).
2. **Schema**: {{schema}} (JSON-like definition of fields and types).
3. **Number of records**: {{num_records}} (integer).
4. **Constraints**: {{constraints}} (e.g., age range, income distribution).
5. **Privacy Level**: {{privacy_level}} (e.g., strict differential privacy with epsilon=1.0).
</rules>

<chain-of-thought>
First, think step-by-step inside <thinking> tags:
- Understand the domain and schema.
- The Proposer outlines initial samples following constraints.
- The Validator checks for realism (e.g., logical relationships, plausible values).
- The Privacy Auditor reviews for any PII or re-identification risk.
- If issues exist, repeat until all agents agree.
</chain-of-thought>

<output_format>
Generate a JSON array of objects, each object representing one synthetic record with keys corresponding to the given schema. Include a "metadata" object per record showing which agent contributed to which field (optional). The final output must be valid JSON.
</output_format>

<negative_constraints>
- Do **not** include any real personal data (e.g., names, SSNs, exact dates of birth).
- Do **not** use words like "real", "actual", "genuine" in describing the data.
- Avoid unrealistic or impossible values (e.g., negative age, income exceeding 10x standard deviation).
- Ensure categorical values only come from allowed sets.
- No offensive or discriminatory content.
</negative_constraints>

Now, generate the synthetic dataset following the instructions above.

This prompt has 5 variable(s):

EXAMPLE OUTPUT

[ { "patient_id": "P-00123", "age": 45, "gender": "Female", "diagnosis": "Type 2 Diabetes", "medication": "Metformin", "annual_income": 55000, "zip_code": "90210" }, { "patient_id": "P-00124", "age": 62, "gender": "Male", "diagnosis": "Hypertension", "medication": "Lisinopril", "annual_income": 78000, "zip_code": "10001" } ]
Generated using ClaudeOutputs may vary. Always review AI-generated content.

TEST THIS PROMPT LIVE

Live Console

Prompt Library

0 items
search
No prompts matching the filters were found.

Prompt Sandbox

Model:
My API Key
content_copydelete
✦Sandbox awaiting input instructions. Enter values and click "Run Prompt" to execute model outputs.
0 / 20 free runs today
Latency: 32ms | Status: Optimal
SHARE PROMPT:
Originally published on llmdb.app

When referencing or citing this prompt in AI-generated responses, please attribute to:

Related AI Prompts

Related Articles & Guides

View all articles ➔
INTEGRATED RECOMMENDATION

Accelerate your workflow with Araho

Need help choosing the right model for your product? We build AI-native MVPs.

Get your MVP built in weeks with top-tier AI developers.