
json-validation-data-integrity
io.github.aegi-intelligence/json-validation-data-integrity
Prepare JSON validation for missing required fields, with an Apify cost estimate and approval step.
Documentation
AEGI Integrations
Validate before you execute.
Data integrity and pre-execution validation for AI agents, automated workflows and autonomous systems.
AEGI (Agentic Economy Gap Intelligence) provides automated validation tools designed to detect data integrity issues before downstream operations are executed.
Call for AI agents and workflow builders
Check JSON records for missing required fields before they reach a CRM, database, or billing workflow. We're looking for pilot users to try AEGI and tell us what their workflows need to verify.
- Connect your MCP client to the AEGI Discovery endpoint using Streamable HTTP.
- Call
prepare_json_validationwith these synthetic arguments:
{
"records": [
{ "id": "pilot-1", "amount": 42 },
{ "amount": 18 }
],
"requiredFields": ["id"]
}
- Review the returned execution plan and proposed spending cap. Preparation does not start a run. With approval to send the data and incur charges, use the prepared
call-actorrequest from your authenticated Apify account, or try the Actor directly on Apify. The expected result is a missingidon the second record (index 1).
Tell us how it went on GitHub Issues. Which step did you reach: finding AEGI, preparing the request, or getting the validation result? What would you actually want an agent to verify before its next action? Use synthetic examples in public reports and keep credentials private.
Try AEGI with your next workflow
- Run AEGI on Apify — hosted validation API.
- Import the n8n AI agent validation workflow.
- Import the Make scenario.
- Connect through MCP using a compatible client and Apify authentication.
Start with synthetic data. Compare a valid batch with a batch containing duplicate IDs, missing fields or invalid types. The demonstration workflows block downstream execution when verification fails.
Pricing: $0.001 per data integrity verification plus applicable Actor start charges (see the current Apify listing). No subscription is implied by these integration files.
Direct API quick start
For developers and AI agent builders who do not use n8n or Make, call the hosted validator directly. Set your own Apify API token in the environment; never commit it to source control.
curl --fail-with-body --silent --show-error \
-X POST 'https://api.apify.com/v2/acts/4g9GevmQ9U8odHTDq/run-sync-get-dataset-items' \
-H "Authorization: Bearer ${APIFY_TOKEN}" \
-H 'Content-Type: application/json' \
--data '{"records":[{"id":"demo-1","action":"validate","amount":100}],"requiredFields":["id","action","amount"],"strictMode":false,"options":{"fieldTypes":{"id":"string","action":"string","amount":"number"}}}'
This synthetic example requests one verification. Usage charges may apply. HTTP success alone does not authorize downstream execution: require a complete response containing exactly one expected result with status PASS. For larger batches, verify completeness and correspondence to every submitted record; block on missing, invalid, ambiguous or failed results and transport errors. For production workflows, also inspect the run-level integrity summary and apply your own authorization policies.
View pricing and run interactively on Apify.
Why AEGI?
AI agents and automated workflows can generate incomplete, inconsistent or invalid data.
AEGI introduces a validation layer between data generation and execution, helping developers build more reliable automation systems.
Core capabilities
- Required field validation
- Duplicate identifier detection
- Data type validation
- Data completeness checks
- Business rule validation
- Action allowlists
- Configurable financial thresholds
- Automated PASS / FAIL decisions
- Fail-closed workflow design
Architecture
AI Agent / Data Source
|
v
AEGI Validation Layer
|
v
Decision Gate
/ \
PASS FAIL
| |
Execute Block
Available API
AEGI Data Integrity Checker
Available on the Apify Store:
https://apify.com/aegi-intelligence/aegi-data-integrity-checker
Designed for automated data validation through API and MCP integrations.
n8n Workflow Library
Explore our n8n integration library.
| Workflow | Purpose |
|---|---|
| AI Agent Output Validation Gate | Validate AI-generated records before downstream execution |
| E-commerce Order Integrity Gate | Validate orders before simulated fulfillment |
| CRM Data Integrity Checker | Validate customer records before simulated CRM insertion |
| AI Agent Pre-Execution Validation | Validate proposed actions against authorization policies and financial thresholds |
All four workflows have been tested with:
- Valid input data
- Invalid input data
- API error scenarios
Each workflow includes synthetic demonstration data and credential configuration instructions.
Make Integration
Import the AI Agent Output Validation Gate blueprint into Make. Follow the setup instructions to configure your own Apify credentials.
Quick Start (n8n)
- Download a workflow JSON file from the n8n directory, or use the linked e-commerce workflow above.
- Import it into your n8n instance.
- Obtain your Apify API token.
- Configure Header Auth credentials.
- Select your credentials in Call AEGI Validator.
- Execute the workflow.
- Review the validation decision.
Apify usage charges may apply.
Integration Roadmap
| Platform | Status |
|---|---|
| Apify API | Operational |
| Apify MCP | Available |
| n8n | Four tested workflows |
| n8n Template Library | First template under review |
| Make | Tested blueprint available (setup) |
| Python | Planned |
| JavaScript | Planned |
Security and Reliability
AEGI workflows are designed to prevent downstream execution when validation fails or verification is incomplete.
No personal API credentials are included in this repository.
These integrations are tested prototypes, not certified production security systems. Developers must adapt validation policies and conduct appropriate testing before production deployment.
License
The integration files in this repository are distributed under the MIT License.
Access to the hosted AEGI validation service is governed separately by its applicable service terms and pricing.
About AEGI
AEGI develops automated validation infrastructure for the emerging agentic economy.
Our mission is to make automated operations more reliable by introducing integrity checks before execution.
AEGI — Validate before you execute.
AEGI Discovery — public machine interfaces
Experimental read-only capability discovery service (one curated provider; not a universal registry).
- MCP: https://aegi-integrations.malglaivecyril.workers.dev/mcp
- OpenAPI: https://aegi-integrations.malglaivecyril.workers.dev/openapi.json
- Machine manifest: https://aegi-integrations.malglaivecyril.workers.dev/.well-known/aegi-discovery.json
- Catalog: https://aegi-integrations.malglaivecyril.workers.dev/catalog
- Official MCP Registry identity:
io.github.aegi-intelligence/aegi-discovery
Clients may connect using Streamable HTTP, list the tools and call discover_services or list_services. Discovery is free of execution and payment side effects. Results are unverified candidates; the caller must independently verify suitability, authorization and actual cost before invoking a provider. Registration is disabled. A2A and ANP are not implemented.
Four-axis AEGI program
- Broadcast — machine-readable endpoint inventory
- Connect — dependency-free Python discovery client
- Discovery — public read-only API
- Intelligence — experimental evidence ledger
Operational roadmap and evidence criteria. Controlled tests are not independent acquisition; paid conversion must be verified separately.
No installation packages available.