Primitives
Primitives
The composable units of Nenjo — context material (template variables, context blocks, knowledge graphs, memory) and the behavioral units that use it (abilities, domains, agents).
Primitives are the units you compose. They come in two families:
- Context primitives shape what an agent knows: template variables, 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 | Template variables, 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
- Template variables inject live execution state into prompts.
- Context blocks package reusable 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.

