Factory LLM Workflows

LLM workflow conventions distilled from production agent/RAG work. Covers LangGraph TypedDict state schemas, node factory closures, conditional edge routing, structured output via JSON schema, prompt fallback patterns with optional PromptHub override, hybrid search with confidence gating + fallback supplement, SSE streaming with event dispatch, hexagonal ports/adapters when scale justifies. Read when building any LLM-driven workflow with state, tool calls, or streaming UX.

nonlinear-xyz 3bbc838 12.2 KB Updated

File contents

nonlinear-xyz/factory-kit/tree/main/skills/factory-llm-workflows commit 3bbc838f13

Frequently asked questions

npx skillmds@latest add nonlinear-xyz/factory-llm-workflows