// "Architecture decision guides for Kailash SDK including framework selection (Core SDK vs DataFlow vs Nexus vs Kaizen), runtime selection (Async vs Sync), database selection (PostgreSQL vs SQLite), node selection, and test tier selection. Use when asking about 'which framework', 'choose framework', 'which runtime', 'which database', 'which node', 'architecture decision', 'when to use', 'Core SDK vs DataFlow', 'PostgreSQL vs SQLite', 'AsyncLocalRuntime vs LocalRuntime', or 'test tier selection'."
| name | architecture-decisions |
| description | Architecture decision guides for Kailash SDK including framework selection (Core SDK vs DataFlow vs Nexus vs Kaizen), runtime selection (Async vs Sync), database selection (PostgreSQL vs SQLite), node selection, and test tier selection. Use when asking about 'which framework', 'choose framework', 'which runtime', 'which database', 'which node', 'architecture decision', 'when to use', 'Core SDK vs DataFlow', 'PostgreSQL vs SQLite', 'AsyncLocalRuntime vs LocalRuntime', or 'test tier selection'. |
Decision guides for selecting the right frameworks, runtimes, databases, nodes, and testing strategies for your Kailash application.
Comprehensive decision guides for:
| Need | Framework | Why |
|---|---|---|
| Custom workflows | Core SDK | Full control, 110+ nodes |
| Database CRUD | DataFlow | Auto-generated nodes |
| Multi-channel API | Nexus | API + CLI + MCP instantly |
| AI agents | Kaizen | Signature-based agents |
| All of above | Combine them | They work together |
Are you deploying to Docker/FastAPI/Kubernetes?
├─ YES → AsyncLocalRuntime (async-first, no threads)
└─ NO → Is this a CLI/script?
├─ YES → LocalRuntime (sync execution)
└─ NO → Use get_runtime() for auto-detection
What's your use case?
├─ Production deployment?
│ └─ YES → PostgreSQL (scalable, enterprise)
├─ Development/testing?
│ └─ YES → SQLite (simple, fast setup)
└─ High concurrency?
└─ YES → PostgreSQL (better concurrency)
What task are you doing?
├─ Custom Python logic → PythonCodeNode
├─ LLM/AI tasks → LLMNode, OpenAINode, AnthropicNode
├─ Database operations → DataFlow auto-generated nodes
├─ HTTP API calls → APICallNode
├─ File reading → FileReaderNode
├─ Conditional routing → SwitchNode
└─ Not sure? → Check nodes-quick-index
What are you testing?
├─ Individual function → Tier 1 (Unit)
├─ Workflow execution → Tier 2 (Integration)
├─ Complete user flow → Tier 3 (E2E)
└─ All of above → Use all tiers
Use this skill when you need to:
1. What's the primary use case?
- Database CRUD → Start with DataFlow
- Multi-channel API → Start with Nexus
- AI agents → Start with Kaizen
- Custom workflows → Start with Core SDK
2. What's the deployment target?
- Docker/K8s → Use AsyncLocalRuntime
- CLI tool → Use LocalRuntime
3. What's the database?
- Production → PostgreSQL
- Dev/Test → SQLite
4. How to test?
- Tier 1: Fast unit tests
- Tier 2: Real infrastructure integration
- Tier 3: Full system E2E
For architecture decisions, invoke:
framework-advisor - Framework selection and architectureultrathink-analyst - Deep analysis for complex decisionsrequirements-analyst - Requirements breakdownpattern-expert - Pattern recommendations