{"id":50454150,"url":"https://github.com/mizcausevic-dev/aeo-sdk-go","last_synced_at":"2026-06-01T01:05:42.129Z","repository":{"id":357458987,"uuid":"1236268957","full_name":"mizcausevic-dev/aeo-sdk-go","owner":"mizcausevic-dev","description":"Go SDK for the AEO Protocol v0.1. Parse, build, validate, and fetch AEO declaration documents. Zero non-stdlib dependencies. Strict json.DisallowUnknownFields parsing. Context-aware HTTP client.","archived":false,"fork":false,"pushed_at":"2026-05-12T21:37:22.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-12T22:29:49.295Z","etag":null,"topics":["aeo","aeo-protocol","ai-governance","answer-engine-optimization","go-sdk","golang","kinetic-gain-protocol-suite","protocol-implementation","stdlib","well-known"],"latest_commit_sha":null,"homepage":"https://github.com/mizcausevic-dev/aeo-sdk-go","language":"Go","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:15:13.000Z","updated_at":"2026-05-12T21:37:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mizcausevic-dev/aeo-sdk-go","commit_stats":null,"previous_names":["mizcausevic-dev/aeo-sdk-go"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mizcausevic-dev/aeo-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizcausevic-dev","download_url":"https://codeload.github.com/mizcausevic-dev/aeo-sdk-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizcausevic-dev%2Faeo-sdk-go/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","go-sdk","golang","kinetic-gain-protocol-suite","protocol-implementation","stdlib","well-known"],"created_at":"2026-06-01T01:05:42.068Z","updated_at":"2026-06-01T01:05:42.118Z","avatar_url":"https://github.com/mizcausevic-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aeo-sdk-go\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/mizcausevic-dev/aeo-sdk-go.svg)](https://pkg.go.dev/github.com/mizcausevic-dev/aeo-sdk-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mizcausevic-dev/aeo-sdk-go)](https://goreportcard.com/report/github.com/mizcausevic-dev/aeo-sdk-go)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nGo SDK for the [AEO Protocol v0.1](https://github.com/mizcausevic-dev/aeo-protocol-spec) — parse, build, validate, and fetch AEO declaration documents. **Zero non-stdlib dependencies.**\n\n## Install\n\n```bash\ngo get github.com/mizcausevic-dev/aeo-sdk-go\n```\n\n## Quickstart\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n\n    aeo \"github.com/mizcausevic-dev/aeo-sdk-go\"\n)\n\nfunc main() {\n    // Fetch and parse from a live well-known URL\n    doc, err := aeo.FetchWellKnown(\"https://mizcausevic-dev.github.io\")\n    if err != nil {\n        log.Fatal(err)\n    }\n    fmt.Println(doc.Entity.Name)                              // \"Miz Causevic\"\n    fmt.Println(doc.ClaimIDs())                               // [current-role location ...]\n    fmt.Println(doc.FindClaim(\"years-experience\").Value)      // 30\n\n    // Parse from bytes\n    doc2, _ := aeo.ParseDocumentString(`{\"aeo_version\":\"0.1\", ...}`)\n\n    // Custom HTTP client with context\n    ctx := context.Background()\n    client := aeo.DefaultClient()\n    _, _ = client.FetchWellKnown(ctx, \"https://example.com\")\n\n    _ = doc2\n}\n```\n\n## What it does\n\n- **Parse** — `ParseDocument(bytes)`, `ParseDocumentString(s)`, `LoadDocument(path)` — all use `json.DisallowUnknownFields` for strict conformance\n- **Build** — `Document`, `Entity`, `Authority`, `Claim`, `Verification`, `CitationPreferences`, `AnswerConstraints`, `Audit` are all exported struct types with proper JSON tags\n- **Serialize** — `doc.Marshal()` returns pretty-printed JSON\n- **Fetch** — `aeo.FetchWellKnown(origin)` does HTTP discovery against `/.well-known/aeo.json` with `Accept: application/aeo+json, application/json`. Custom `Client` lets you bring your own `*http.Client` and pass a `context.Context`.\n- **Query** — `doc.ClaimIDs()` and `doc.FindClaim(id)` helpers\n\n## Conformance\n\nSupports the AEO Protocol at **conformance Level 1 (Declare)**. Signature verification (L2) and audit-endpoint posting (L3) deferred to v0.2.\n\n## Dependencies\n\nNone. Uses only the standard library: `encoding/json`, `net/http`, `context`, `io`.\n\n## Development\n\n```bash\ngo vet ./...\ngo test -race -v ./...\ngo build ./...\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](https://github.com/mizcausevic-dev/aeo-sdk-python) · [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** (this) · [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-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizcausevic-dev%2Faeo-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizcausevic-dev%2Faeo-sdk-go/lists"}