Repository avatar
Other Tools
v0.4.4
active

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.

  1. Connect your MCP client to the AEGI Discovery endpoint using Streamable HTTP.
  2. Call prepare_json_validation with these synthetic arguments:
{
  "records": [
    { "id": "pilot-1", "amount": 42 },
    { "amount": 18 }
  ],
  "requiredFields": ["id"]
}
  1. 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-actor request from your authenticated Apify account, or try the Actor directly on Apify. The expected result is a missing id on 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

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.

WorkflowPurpose
AI Agent Output Validation GateValidate AI-generated records before downstream execution
E-commerce Order Integrity GateValidate orders before simulated fulfillment
CRM Data Integrity CheckerValidate customer records before simulated CRM insertion
AI Agent Pre-Execution ValidationValidate 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)

  1. Download a workflow JSON file from the n8n directory, or use the linked e-commerce workflow above.
  2. Import it into your n8n instance.
  3. Obtain your Apify API token.
  4. Configure Header Auth credentials.
  5. Select your credentials in Call AEGI Validator.
  6. Execute the workflow.
  7. Review the validation decision.

Apify usage charges may apply.

Integration Roadmap

PlatformStatus
Apify APIOperational
Apify MCPAvailable
n8nFour tested workflows
n8n Template LibraryFirst template under review
MakeTested blueprint available (setup)
PythonPlanned
JavaScriptPlanned

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).

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

Operational roadmap and evidence criteria. Controlled tests are not independent acquisition; paid conversion must be verified separately.