ai architecture (not llm), category theory