This release is a pre-release and may not be stable for production use.
Agent Paranoid Android
Safety-first, deterministic synthetic test data generation from CSV structure,
safe profiles, reviewed DatasetSpec files, and allowlisted Trino metadata. The
CLI and Python library are primary; MCP, Trino, and AI providers are optional
integrations. The base package supports CSV/JSON workflows without installing
the Trino client, SQL parser, or MCP SDK.
Source rows are profiled, never shuffled or copied into generated output.
Read the documentation for tutorials, concepts, configuration, MCP setup, and troubleshooting.
Current version: 1.0.0rc4. Package: agent-paranoid-android; CLI: test-data-agent.
What It Preserves
From bounded evidence and a reviewed DatasetSpec, generation can preserve schema
and types, nullability, ranked distribution and scale shape, approved FK graphs,
temporal dependencies, and executable business rules. AI may propose relationships
and rules; human review and deterministic validation remain the authority boundary.
It intentionally does not preserve or copy source values or real PII. It does not certify statistical anonymity, protection from every re-identification attack, or cross-environment byte identity. A seed provides logical reproducibility under the recorded package, dependency, locale, and serializer environment.
Install
Python 3.11 or newer is required. CI tests CPython 3.11 through 3.14. After publication, install the exact RC4 candidate used for acceptance:
python3 -m pip install "agent-paranoid-android==1.0.0rc4"
test-data-agent doctor
Install only features you use:
python3 -m pip install "agent-paranoid-android[parquet]==1.0.0rc4"
python3 -m pip install "agent-paranoid-android[mcp]==1.0.0rc4"
python3 -m pip install "agent-paranoid-android[trino]==1.0.0rc4"
python3 -m pip install "agent-paranoid-android[mcp,trino]==1.0.0rc4"
python3 -m pip install "agent-paranoid-android[openai]==1.0.0rc4"
The trino extra is required only for Trino profiling and contains the Trino
client and safe SQL parser. Add mcp when using the Trino MCP server.
First Offline Run
Run the installed package with its bundled fictional customer fixture. No checkout, network, Trino, MCP, or provider is required:
test-data-agent demo --output out/demo
A successful run reports:
Generated synthetic dataset: out/demo | rows: customers=12 | seed: 20260801 | validation: passed | source rows copied: no
Representative deterministic output:
customer_id,email,segment,signup_date
syn_customers_00000001,amber21@example.test,category_1,2024-02-10
The demo preserves evidenced column names and types, non-null shape, category rank, and date range. Its fixture has no relationship or business-rule evidence, so the demo makes no claim about those properties. The output folder contains:
customers.csv;csv_profile.json;dataset_spec.json;validation_report.json;generation_manifest.json.
The destination must not already exist. Review the manifest and effective spec before accepting any dataset. Then follow First CSV Dataset to profile your own input.
Choose A Guide
| Goal | Documentation |
|---|---|
| Generate from one CSV | First CSV Dataset |
| Generate related tables | Related Tables |
| Review specs and output | Review The Output |
| Add deterministic business rules | Business Rules |
| Use the review-first agent flow | Agent Design |
| Connect an AI client or provider | AI Integration · Provider Adapter · Runnable MCP example |
| Run isolated OCI images | Container Deployment |
| Understand the trust boundaries | Safety Model |
| Configure limits and Trino | Configuration · Runnable local Trino example |
| Inspect CSV, JSON, SQL, and Parquet output | Runnable output-format example |
| Recover from an error | Troubleshooting |
| Decide whether this tool fits | Choose An Approach |
Safety
The project derives bounded metadata such as field types, null ratios, ranges, masked patterns, and safe low-cardinality distributions. It rejects or bounds:
- raw detected PII, credentials, tokens, and private keys in profiles;
- source-row copying and source/output path reuse;
- path traversal and symlink escapes through generator MCP tools;
- unrestricted SQL and write operations through Trino tools;
- oversized input, output, rule, query, and generation work.
Human review is still required for ambiguous identifiers, rare free text, inferred relationships, and organization-specific privacy policy.
Development
python3 -m pip install "uv==0.11.23"
uv sync --frozen --all-extras --no-install-project
uv sync --frozen --all-extras --no-editable --no-build-isolation
uv run --no-sync scripts/check_release.sh
See Contributing, Support, Governance, Code Of Conduct, Security Policy, Changelog, and License.
Releases use tokenless PyPI Trusted Publishing with verified wheels/source distributions, checksums, SBOMs, and GitHub attestations.
AI-Assisted Development
AI-assisted changes require human review and tests; never send production data, raw PII, credentials, or tokens to AI. The name nods to Radiohead's "Paranoid Android"; this project is unaffiliated.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_paranoid_android-1.0.0rc4.tar.gz.
File metadata
- Download URL: agent_paranoid_android-1.0.0rc4.tar.gz
- Upload date:
- Size: 639.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dc6b7511ed1cc66e8e45eefe9a860b98a5f903c5748337dd2a6275b9d8afd82
|
|
| MD5 |
b41f4c518e98678563585ab6abf64c26
|
|
| BLAKE2b-256 |
677273ff0ebb4a6e6fac79ecb81da04d99c80e496fa749a41b28a344569d4f62
|
Provenance
The following attestation bundles were made for agent_paranoid_android-1.0.0rc4.tar.gz:
Publisher:
publish-pypi.yml on wa-pis/agent-paranoid-android
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_paranoid_android-1.0.0rc4.tar.gz -
Subject digest:
7dc6b7511ed1cc66e8e45eefe9a860b98a5f903c5748337dd2a6275b9d8afd82 - Sigstore transparency entry: 2319521979
- Sigstore integration time:
-
Permalink:
wa-pis/agent-paranoid-android@33073c0abde75fa7cb200bc1d7e4748ab7b2f3ec -
Branch / Tag:
refs/tags/v1.0.0rc4 - Owner: https://github.com/wa-pis
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@33073c0abde75fa7cb200bc1d7e4748ab7b2f3ec -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file agent_paranoid_android-1.0.0rc4-py3-none-any.whl.
File metadata
- Download URL: agent_paranoid_android-1.0.0rc4-py3-none-any.whl
- Upload date:
- Size: 172.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f38ac6cadacec56229ffe25ae12170aaf388fad842ae8ed14d0675b24bd8fde4
|
|
| MD5 |
8e1e2e140a823d5d2ebbeffaabe6290e
|
|
| BLAKE2b-256 |
316f1c5eb2fd6e8891a377e661287d24a19620195fe39d5f1db4fe77132fa0d4
|
Provenance
The following attestation bundles were made for agent_paranoid_android-1.0.0rc4-py3-none-any.whl:
Publisher:
publish-pypi.yml on wa-pis/agent-paranoid-android
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_paranoid_android-1.0.0rc4-py3-none-any.whl -
Subject digest:
f38ac6cadacec56229ffe25ae12170aaf388fad842ae8ed14d0675b24bd8fde4 - Sigstore transparency entry: 2319522364
- Sigstore integration time:
-
Permalink:
wa-pis/agent-paranoid-android@33073c0abde75fa7cb200bc1d7e4748ab7b2f3ec -
Branch / Tag:
refs/tags/v1.0.0rc4 - Owner: https://github.com/wa-pis
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@33073c0abde75fa7cb200bc1d7e4748ab7b2f3ec -
Trigger Event:
workflow_dispatch
-
Statement type: