Python Modules
Executable Python code that processes documents, runs inference, and handles events. Used with scheduled jobs, pipelines, and assistants.
Skill Modules
File packs containing prompts, configurations, and knowledge that agents can discover and use.
Quick Comparison
| Python Module | Skill Module | |
|---|---|---|
| moduleType | model (default) | skill |
| Contains | Python code | Files (prompts, configs, knowledge) |
| Execution | Runs via module runtime | Not executed — read by agent |
| Used by | Scheduled jobs, pipelines, assistants | Agents |
| Runtime ref | Required (moduleRuntimeRef) | Not needed |
Prerequisites
Before building any module, ensure you have:- Python 3.11+ installed
- KDX CLI installed and configured — see Installation
- Kodexa Python SDK —
pip install kodexa - A Kodexa platform account with an organization
Deployment
Both module types are deployed the same way usingkdx apply:
