Repo of the Day
Agent-Knowledge-Standard/AKS-Specification: Compiled domain knowledge, portable across agents and tools.
Published: Jun 28, 2026
Open repository ↗Compiled domain knowledge, portable across agents and tools. - Agent-Knowledge-Standard/AKS-Specification
Summary
The Agent Knowledge Standard (AKS) is an open specification for representing compiled domain knowledge as a structured graph that any agent or tool can query through a standard interface. Instead of treating knowledge as text chunks for vector search, AKS defines entities with typed relationships, confidence scores, and source traceability, exposed over a set of HTTP endpoints. Version 0.1.0 ships as a JSON-based spec that implementers follow so domain understanding survives across pipelines, sessions, and tools.
What it is useful for
AKS is useful when you need an AI agent to understand a domain and you do not want to redo that work for every new tool, session, or team. The README contrasts a knowledge base, which stores documents and returns text that looks related, with a Knowledge Stack, which knows the entities, their typed relationships, which relationships are well-supported, and what is missing.
Concrete examples from the spec:
- An agent answering a refund question can traverse from a
Refundentity throughRefund Policy,Refund API, andManual Invoicing Exceptionrather than pattern-matching text chunks. - A billing domain can be contributed to by both a support lead (policies, escalations) and a developer (API specs, ADRs); the compiled graph holds those facets together.
- Connected sources like Slack or Jira can sync into the compiled layer or be fetched live at query time, distinguished by the
source_typefield on responses. - An MCP integration path is defined where a server queries the live Stack rather than dumping a giant file into context.
How engineers can use it
The spec is the deliverable. Engineers use it by either implementing AKS-compliant endpoints or building tools that call existing ones.
Documented endpoints:
GET /aks/v1/entitiesto list entities, filtered bytypeandmin_confidenceGET /aks/v1/traversefor breadth-first traversal from a named entity,max_depth1–5, with optionalrelationship_typesfilterPOST /aks/v1/contextto assemble a subgraph for a natural language query, returning entities, relationships, atraversal_path, and aHIGH | MEDIUM | LOWconfidence labelGET /aks/v1/exportto produce a portable JSON Bundle, with filters likeverified_onlyormax_entitiesfor context-window-sensitive consumersGET /aks/v1/pages/{entity_name}for on-demand Markdown generated from the current graphPOST /aks/v1/backfeed/flagand/approveto feed agent-discovered knowledge back into the Stack after human review
Every endpoint requires either a stack_id UUID or domain slug; missing both returns HTTP 422. A documented limitation is bundle scale: at roughly 20,000 entities and 40,000 relationships a full export approaches 50MB and becomes slow to parse, with a practical ceiling around 500 entities for project knowledge-base consumption paths. There is no install command; the repository ships no runnable code (the language field is empty), and the license is listed as NOASSERTION.