# code.ugrad.ai · LLM / agent bootstrap Use this when you need routing, hops, or Focus cards from the code-type map. ## Live surfaces - Page: https://code.ugrad.ai/ → /tools/code-lark.html - Full graph (~994 nodes · routes include iana-ip-levels, iana-asn-levels, apnic-nir-tree, organic-to-server): GET https://code.ugrad.ai/data/public-samples/code-type-graph.json - Labeled routes index: GET https://code.ugrad.ai/data/public-samples/code-routes.json - Analysis catalog (every lang, package manager, ware/license, hat color, organic encoding, wrapper/engine): GET https://code.ugrad.ai/data/public-samples/code-analysis.json - IANA / RIR / IP-level catalog (ARIN · RIPE · APNIC · LACNIC · AFRINIC): GET https://code.ugrad.ai/data/public-samples/code-netgov.json - Offline IANA pack (special-use, /8, IPv6 unicast, ASN, RDAP, RIR summaries): GET https://code.ugrad.ai/data/offline-iana/manifest.json Page: https://code.ugrad.ai/tools/offline-iana Local: http://127.0.0.1:9876/ugrad-map/tools/offline-iana.html Lookup: python3 ~/.panda/ugrad-map/scripts/iana-lookup.py 8.8.8.8 - This file: GET https://code.ugrad.ai/llms-code.txt - Version: GET https://code.ugrad.ai/VERSION.json ## Deep links (human + agent) - Route: https://code.ugrad.ai/?route=iana-ip-levels - Route: https://code.ugrad.ai/?route=starlink-to-device - Hop by id: https://code.ugrad.ai/?route=starlink-to-device&n=oem-tsmc - Hop by index (1-based): https://code.ugrad.ai/?route=starlink-to-device&hop=3 - Family: https://code.ugrad.ai/?family=spacex - Search: https://code.ugrad.ai/?q=TSMC After the page hydrates, dump the current Focus pack: - Markdown: add &format=md - JSON: add &format=json Example: https://code.ugrad.ai/?route=starlink-to-device&hop=3&format=json ## In-page API (browser / Grok / injected agent) window.__codeLark.snapshot() // ugrad-code-focus-v1 window.__codeLark.markdown() // copy-paste briefing window.__codeLark.routesMarkdown() window.__codeLark.copy("md"|"json"|"routes") window.__codeLark.permalink() #focus-json // live application/json of current focus ## Focus packet schema (ugrad-code-focus-v1) schema, host, permalink, graph, routes_index, llms, family, query, hop, hops, node { id, label, kind, cluster, stack, signal, note, treePath, org, origin, api, license, ware, hats[], wrappers[], analysis { layer, from, to }, tags, codeStack, toolStack, serveStack, productList, harness { inputs, outputs, apis, tools, code, skills, lanes, serve, products } }, route { id, label, teach, family, steps[{ i, id, label, cluster, kind, here }] }, walked[], parents[], children[], flows[] ## Human copy Focus drawer: Copy markdown · Copy JSON · Copy link Distance: Copy routes (every visible flow + hops) Selected route / Hierarchy: Copy The briefing under Focus is a selectable
.

## Rules
- Static Pages only (no functions). Prefer GET JSON over scraping HTML.
- Prefer code-routes.json when you only need named flows.
- Use the full graph when you need edges, harness, or all 789 tags.
- Do not re-enable Cloudflare Pages Functions.