Skip to content

symfonic.agent.fastapi.graph_router

graph_router

Legacy graph query sub-router factory: refuses from 11.4 (CORE-25).

create_graph_router served the neighbourhood, path, edge and cluster routes by reaching into a legacy agent's private memory orchestrator. Its only package caller was create_agent_router, which refuses from 11.4, so the body is gone. The name stays importable so a caller reads the migration error rather than an ImportError; the error names the create_kernel_agent_router ports that serve these routes natively and the one route none serves. No admission, flag or private patch restores it.

create_graph_router

create_graph_router(agent: Any) -> NoReturn

Refuse with :class:EntryPointRemovedError before agent is read.

Source code in src/symfonic/agent/fastapi/graph_router.py
def create_graph_router(agent: Any) -> NoReturn:
    """Refuse with :class:`EntryPointRemovedError` before ``agent`` is read."""
    raise EntryPointRemovedError("create_graph_router")