{"id":50650004,"url":"https://github.com/jjrio-bee/ex_code_graph","last_synced_at":"2026-06-07T18:00:33.441Z","repository":{"id":363127930,"uuid":"1261334406","full_name":"jjrio-bee/ex_code_graph","owner":"jjrio-bee","description":"Code knowledge engine for Elixir/Ash projects: extracts the compiled + Ash-semantic + docs structure of a target Elixir codebase into a graph.json document, loadable into Neo4j/Memgraph/Kùzu/etc.","archived":false,"fork":false,"pushed_at":"2026-06-07T14:29:23.000Z","size":222,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"chore/public-release-scrub","last_synced_at":"2026-06-07T16:15:48.203Z","etag":null,"topics":["ash-framework","code-intelligence","developer-tools","elixir","graph-database","knowledge-graph","static-analysis"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/ex_code_graph","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jjrio-bee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-06T14:48:49.000Z","updated_at":"2026-06-07T11:25:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jjrio-bee/ex_code_graph","commit_stats":null,"previous_names":["jjrio-bee/ex_code_graph"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jjrio-bee/ex_code_graph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjrio-bee%2Fex_code_graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjrio-bee%2Fex_code_graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjrio-bee%2Fex_code_graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjrio-bee%2Fex_code_graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jjrio-bee","download_url":"https://codeload.github.com/jjrio-bee/ex_code_graph/tar.gz/refs/heads/chore/public-release-scrub","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjrio-bee%2Fex_code_graph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34031952,"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-07T02:00:07.652Z","response_time":124,"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":["ash-framework","code-intelligence","developer-tools","elixir","graph-database","knowledge-graph","static-analysis"],"created_at":"2026-06-07T18:00:17.111Z","updated_at":"2026-06-07T18:00:33.416Z","avatar_url":"https://github.com/jjrio-bee.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExCodeGraph\n\n\u003e Code knowledge engine for Elixir/Ash projects. Turns a compiled\n\u003e codebase into a queryable graph of its *real* structure (resolved\n\u003e through the compiler + Ash runtime reflection, not text) and loads\n\u003e it into a graph database.\n\n**Status:** v0.1.0 — initial scaffold. No working extractor yet. See\n[`CODE_GRAPH_DESIGN.md`](./CODE_GRAPH_DESIGN.md) for the design.\n\n---\n\n## Why\n\nAI agents navigating large Elixir/Ash codebases rely on grep + file\nreads + exploratory search. This produces *navigation thrash*: the\nagent writes a hypothesis about the code, finds the real path, reports\nthe contradiction, re-dispatches. The root cause is that Ash's\nattributes, relationships, actions, policies, calculations, and\n`code_interface` functions exist as **DSL data, not as `def`s** —\ngrep literally cannot find the callers of generated `code_interface` functions.\n\nExCodeGraph extracts the *real* structure (compiled artifacts + Ash\nruntime reflection) into a graph, exposes it as a memory engine, and\nmeasures where it beats grep — producing a **decision boundary**, not\na marketing claim.\n\n## Install\n\n```elixir\ndef deps do\n  [\n    {:ex_code_graph, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nOr install as a Mix archive:\n\n```bash\nmix archive.install hex ex_code_graph\n```\n\n## Quick start (5 minutes)\n\n```bash\n# Inside your Elixir/Ash project:\nmix code_graph.export                       # writes graph.json\nmix code_graph.load                        # loads to default backend (export to disk)\nmix code_graph.verify                      # validates the document\n\n# Or all at once:\nmix code_graph.export \u0026\u0026 mix code_graph.load \u0026\u0026 mix code_graph.verify\n```\n\n## Documentation\n\n- [Getting started](guides/getting-started.md)\n- [Architecture](guides/architecture.md)\n- [Ontology reference](guides/ontology.md)\n- [Writing a backend adapter](guides/writing-an-adapter.md)\n- [Evaluation methodology](guides/eval-methodology.md)\n- [Cypher query skill pack](skills/code-graph-query/SKILL.md) — for agents\n\nFull API reference: see `mix docs` (or [hexdocs.pm/ex_code_graph](https://hexdocs.pm/ex_code_graph))\n\n## Backends\n\n| Backend | Server? | Cypher | v1? |\n|---|---|---|---|\n| Export (Cypher + GraphML) | no | writes to disk | ✅ |\n| Neo4j / Memgraph (Bolt) | yes | ✅ | ✅ |\n| KùzuDB (embedded) | no | partial | ✅ |\n| Apache AGE (Postgres) | reuses PG | ✅ | fast-follow |\n| libgraph (in-proc) | no | no | fast-follow |\n\nThe design is backend-agnostic. Recipes in the skill pack are\nlowest-common-denominator openCypher; capability-gating degrades\ngracefully on adapters that lack full-text or GDS.\n\n## Development\n\n```bash\ngit clone https://github.com/jjrio-bee/ex_code_graph\ncd ex_code_graph\nmix deps.get\nmix test                    # unit + doctests\nmix credo --strict          # style\nmix dialyzer                # type checks\nmix deps.audit              # CVE scan\nmix quality                 # format + credo + dialyzer + audit\nmix ci                      # full CI gate\n```\n\n`mise` or `asdf` recommended. Pinned versions in `.tool-versions`.\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md). Bug reports and feature\nrequests: [GitHub Issues](https://github.com/jjrio-bee/ex_code_graph/issues).\n\nSecurity: see [SECURITY.md](./SECURITY.md).\n\n## License\n\nApache-2.0 — see [LICENSE](./LICENSE).\n\n## Acknowledgements\n\nExCodeGraph stands on the shoulders of:\n\n* The Elixir / Ash / Spark communities\n* `neo4j-contrib/mcp-neo4j-cypher` and `neo4j-cypher-skill` (skill-pack pattern)\n* The contributors listed in [the git log](https://github.com/jjrio-bee/ex_code_graph/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjrio-bee%2Fex_code_graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjjrio-bee%2Fex_code_graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjrio-bee%2Fex_code_graph/lists"}