Production-ready validators for Python and TypeScript. Validate JSON Agents manifests, policy expressions, and ajson:// URIs.
📦 Package publishing coming soon. For now, install from source in validators/python or validators/typescript
from jsonagents import validate
agent_data = {
"name": "MyAgent",
"version": "1.0.0",
"capabilities": ["action", "query"]
}
result = validate(agent_data)
print(result.valid)import { validate } from '@jsonagents/validator';
const agentData = {
name: "MyAgent",
version: "1.0.0",
capabilities: ["action", "query"]
};
const result = validate(agentData);
console.log(result.valid);Comprehensive validation against JSON Agents specification
Validate agent policies and security constraints
Validate JSON Agents URI scheme compliance
Clear error messages with field-level validation details
Full-featured Python implementation with CLI support and comprehensive testing
Type-safe TypeScript implementation for Node.js and browser environments