When an agent such as Cowork, Claude Code, or a scheduled task queries the knowledge graph, it should declare a query context so that retrieval can be scoped by user, agent type, task, client, and set filters.
Supporting contexts
When an agent (Cowork, Claude Code, scheduled task) queries the knowledge graph, it should declare its context:
— PYRANA_Internal_Knowledge_Graph_Specification.md
"user": "ankur@zeroth.technology"
— PYRANA_Internal_Knowledge_Graph_Specification.md
"agent_type": "cowork", # cowork | claude_code | scheduled_task
— PYRANA_Internal_Knowledge_Graph_Specification.md
"task_type": "proposal_generation", # for set prioritization
— PYRANA_Internal_Knowledge_Graph_Specification.md
"client_scope": "PATRICK", # optional — narrows to client sub-set
— PYRANA_Internal_Knowledge_Graph_Specification.md
"sets_include": ["CONTRACT_STANDARDS", "CLIENTS:PATRICK", "SALES_POSITIONING"]
— PYRANA_Internal_Knowledge_Graph_Specification.md
Effective from: 7/16/2026, 11:18:59 PM