{"id":51195930,"url":"https://github.com/z4jdev/z4j-core","last_synced_at":"2026-06-27T20:31:21.902Z","repository":{"id":357411576,"uuid":"1228454664","full_name":"z4jdev/z4j-core","owner":"z4jdev","description":"z4j domain core - models, protocols, transport, redaction, policy (Apache 2.0)","archived":false,"fork":false,"pushed_at":"2026-06-23T15:54:47.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-23T17:29:21.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/z4j-core/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z4jdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-04T03:13:14.000Z","updated_at":"2026-06-23T15:55:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/z4jdev/z4j-core","commit_stats":null,"previous_names":["z4jdev/z4j-core"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/z4jdev/z4j-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4jdev%2Fz4j-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4jdev%2Fz4j-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4jdev%2Fz4j-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4jdev%2Fz4j-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z4jdev","download_url":"https://codeload.github.com/z4jdev/z4j-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4jdev%2Fz4j-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34867616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-27T20:31:19.976Z","updated_at":"2026-06-27T20:31:21.892Z","avatar_url":"https://github.com/z4jdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# z4j-core\n\n[![PyPI version](https://img.shields.io/pypi/v/z4j-core.svg?v=1.6.7)](https://pypi.org/project/z4j-core/)\n[![Python](https://img.shields.io/pypi/pyversions/z4j-core.svg?v=1.6.7)](https://pypi.org/project/z4j-core/)\n[![License](https://img.shields.io/pypi/l/z4j-core.svg?v=1.6.7)](https://github.com/z4jdev/z4j-core/blob/main/LICENSE)\n\nThe z4j domain core, shared models, protocols, transport, redaction, policy.\n\nPure-Python dependency for every z4j package. No framework / engine /\ndatabase imports, so it can be vendored into agent processes without\ndragging server runtime weight. End users do not install this package\ndirectly; it ships as a transitive dependency of z4j or any\nagent package.\n\n## Compatibility\n\nPython 3.10+ (3.11+ when used inside the brain). Pure-Python, no framework or database imports.\n\nFull per-adapter matrix at \u003chttps://z4j.dev/reference/compatibility/\u003e.\n\n## What's in here\n\n- **Pydantic models**, `Task`, `Worker`, `Queue`, `Schedule`,\n  `Event`, `Command`, `Agent`, plus the wire-frame envelope types\n- **Adapter protocols**, `QueueEngineAdapter`, `SchedulerAdapter`,\n  `FrameworkAdapter`. Every framework / engine / scheduler package\n  implements one or more of these.\n- **Wire protocol**, frame definitions and the HMAC envelope used\n  by z4j ↔ agent WebSocket transport (signed v2 protocol)\n- **Redaction engine**, strips secrets from logged event payloads\n  (URLs, headers, kwargs, exceptions) before they hit the brain\n- **Policy types**, role-based action enums (Viewer / Operator /\n  Admin), used by the brain's RBAC layer\n- **Error hierarchy**, shared exception classes so agents and brain\n  agree on what counts as `AuthorizationError` vs `NotFoundError`\n  vs `ConflictError`\n\n## Install\n\n```bash\npip install z4j-core\n```\n\nEnd users normally get this as a transitive dependency. Direct\ninstallation is appropriate when you're building a custom adapter\nagainst the protocols.\n\n## Stability\n\nThe wire protocol is `v=2` and additive within the 1.x major.\nAdapter protocols (`QueueEngineAdapter`, etc.) are stable contracts\nwithin the 1.x major; new optional methods may be added.\n\n## Documentation\n\nFull docs at [z4j.dev/concepts/architecture/](https://z4j.dev/concepts/architecture/).\n\n## License\n\nApache-2.0, see [LICENSE](LICENSE).\n\n## Links\n\n- Homepage: https://z4j.com\n- Documentation: https://z4j.dev\n- PyPI: https://pypi.org/project/z4j-core/\n- Issues: https://github.com/z4jdev/z4j-core/issues\n- Changelog: [CHANGELOG.md](CHANGELOG.md)\n- Security: security@z4j.com (see [SECURITY.md](SECURITY.md))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz4jdev%2Fz4j-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz4jdev%2Fz4j-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz4jdev%2Fz4j-core/lists"}