{"id":50454149,"url":"https://github.com/mizcausevic-dev/aeo-sdk-python","last_synced_at":"2026-06-01T01:05:42.027Z","repository":{"id":357458992,"uuid":"1236261868","full_name":"mizcausevic-dev/aeo-sdk-python","owner":"mizcausevic-dev","description":"Python SDK for the AEO Protocol v0.1. Parse, build, validate, and fetch AEO declaration documents. Pydantic v2 + httpx. Loads canonical examples from aeo-protocol-spec.","archived":false,"fork":false,"pushed_at":"2026-05-12T21:37:25.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-12T22:29:49.769Z","etag":null,"topics":["aeo","aeo-protocol","ai-governance","answer-engine-optimization","httpx","kinetic-gain-protocol-suite","protocol-implementation","pydantic","python-sdk","well-known"],"latest_commit_sha":null,"homepage":"https://github.com/mizcausevic-dev/aeo-sdk-python","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mizcausevic-dev.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":null,"security":null,"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-12T05:03:31.000Z","updated_at":"2026-05-12T21:37:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mizcausevic-dev/aeo-sdk-python","commit_stats":null,"previous_names":["mizcausevic-dev/aeo-sdk-python"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mizcausevic-dev/aeo-sdk-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizcausevic-dev","download_url":"https://codeload.github.com/mizcausevic-dev/aeo-sdk-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33755379,"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-05-31T02:00:06.040Z","response_time":95,"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":["aeo","aeo-protocol","ai-governance","answer-engine-optimization","httpx","kinetic-gain-protocol-suite","protocol-implementation","pydantic","python-sdk","well-known"],"created_at":"2026-06-01T01:05:41.952Z","updated_at":"2026-06-01T01:05:42.022Z","avatar_url":"https://github.com/mizcausevic-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aeo-sdk-python\n\n[![PyPI](https://img.shields.io/pypi/v/aeo-protocol.svg)](https://pypi.org/project/aeo-protocol/)\n[![PyPI Downloads](https://img.shields.io/pypi/dm/aeo-protocol.svg)](https://pypi.org/project/aeo-protocol/)\n[![Python versions](https://img.shields.io/pypi/pyversions/aeo-protocol.svg)](https://pypi.org/project/aeo-protocol/)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nPython SDK for the [AEO Protocol v0.1](https://github.com/mizcausevic-dev/aeo-protocol-spec) — parse, build, validate, and fetch AEO declaration documents.\n\n## Install\n\n```bash\npip install aeo-protocol\n```\n\n## Quickstart\n\n```python\nfrom aeo import Document, fetch_well_known\n\n# Fetch and parse from a live well-known URL\ndoc = fetch_well_known(\"https://mizcausevic-dev.github.io\")\nprint(doc.entity.name)              # \"Miz Causevic\"\nprint(doc.claim_ids())               # ['current-role', 'location', ...]\nprint(doc.find_claim(\"years-experience\").value)  # 30\n\n# Parse from disk\ndoc = Document.from_file(\"aeo.json\")\n\n# Build programmatically\nfrom aeo import Entity, Authority, Claim, Document\ndoc = Document(\n    entity=Entity(\n        id=\"https://example.com/#org\",\n        type=\"Organization\",\n        name=\"Example Org\",\n        canonical_url=\"https://example.com/\",\n    ),\n    authority=Authority(primary_sources=[\"https://example.com/\"]),\n    claims=[Claim(id=\"tagline\", predicate=\"description\", value=\"A reference example.\")],\n)\nprint(doc.to_json())\n```\n\nAsync variant:\n\n```python\nimport asyncio\nfrom aeo.client import fetch_well_known_async\n\ndoc = asyncio.run(fetch_well_known_async(\"https://mizcausevic-dev.github.io\"))\n```\n\n## What it does\n\n- **Parse** — `Document.from_json` / `from_file` / `from_dict`\n- **Build** — pydantic v2 model classes for every type in the spec (`Entity`, `Authority`, `Claim`, `Verification`, `CitationPreferences`, `AnswerConstraints`, `Audit`)\n- **Serialize** — `Document.to_json()` returns canonical JSON\n- **Fetch** — `fetch_well_known(origin)` performs HTTP discovery against `/.well-known/aeo.json` with `Accept: application/aeo+json, application/json`\n- **Query** — `doc.claim_ids()` and `doc.find_claim(id)` for convenience\n\n## Conformance\n\nThis SDK supports the AEO Protocol at **conformance Level 1 (Declare)**. Signature verification (Level 2) and audit-endpoint posting (Level 3) are not yet implemented; signed documents parse fine but the signature is not verified.\n\n## Dependencies\n\n- [pydantic](https://github.com/pydantic/pydantic) \u003e= 2.0 — model validation and serialization\n- [httpx](https://github.com/encode/httpx) \u003e= 0.27 — sync and async HTTP\n\n## Development\n\n```bash\npip install -e .[dev]\npytest -v\n```\n\n## Specification\n\nFull spec at [github.com/mizcausevic-dev/aeo-protocol-spec](https://github.com/mizcausevic-dev/aeo-protocol-spec).\n\n## License\n\nMIT-licensed. Free for commercial and non-commercial use with attribution. The AEO Protocol specification this SDK implements is also MIT (see [aeo-protocol-spec](https://github.com/mizcausevic-dev/aeo-protocol-spec)).\n\n## Kinetic Gain Protocol Suite\n\n| Spec | Implementation |\n|---|---|\n| [AEO Protocol](https://github.com/mizcausevic-dev/aeo-protocol-spec) | **aeo-sdk-python** (this) · [aeo-sdk-typescript](https://github.com/mizcausevic-dev/aeo-sdk-typescript) · [aeo-sdk-rust](https://github.com/mizcausevic-dev/aeo-sdk-rust) · [aeo-sdk-go](https://github.com/mizcausevic-dev/aeo-sdk-go) · [aeo-cli](https://github.com/mizcausevic-dev/aeo-cli) · [aeo-crawler](https://github.com/mizcausevic-dev/aeo-crawler) |\n| [Prompt Provenance](https://github.com/mizcausevic-dev/prompt-provenance-spec) | — |\n| [Agent Cards](https://github.com/mizcausevic-dev/agent-cards-spec) | — |\n| [AI Evidence Format](https://github.com/mizcausevic-dev/ai-evidence-format-spec) | — |\n| [MCP Tool Cards](https://github.com/mizcausevic-dev/mcp-tool-card-spec) | — |\n\n---\n\n**Connect:** [LinkedIn](https://www.linkedin.com/in/mirzacausevic/) · [Kinetic Gain](https://kineticgain.com) · [Medium](https://medium.com/@mizcausevic/) · [Skills](https://mizcausevic.com/skills/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Faeo-sdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizcausevic-dev%2Faeo-sdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Faeo-sdk-python/lists"}