Primitives
Primitives
The composable units of Nenjo — prompt context, context blocks, knowledge graphs, memory, and the behavioral units that use them.
Primitives are the units you compose. They come in two families:
- Context primitives shape what an agent knows: prompt context, context blocks, knowledge graphs, and memory.
- Behavioral primitives define what an agent does: abilities, domains, and the agents that assemble everything into a role.
The pages in this section run from the lowest-level context material up to agents, the composite that pulls it all together.
The two families
| Family | Primitives | Job |
|---|---|---|
| Context | Prompt context, context blocks, knowledge graphs, memory | Supply what an agent should know — at design time and at runtime |
| Behavioral | Abilities, domains, agents | Define what an agent can do and how it behaves |
How they stack
- Prompt context separates static prompt references from runtime-owned session and turn data.
- Context blocks package reusable static prompt guidance referenced by name.
- Knowledge graphs hold explicit source material an agent searches and cites.
- Memory carries learned, scoped context across runs.
- Abilities add agent-invoked specialist behaviors.
- Domains add user-activated modes.
- Agents assemble the context and capability primitives into a behavioral role.
Once you have agents, workflows orchestrate several of them into repeatable processes.