Skip to main content
NiadraCrew gives you before_kickoff (which puts the pack in the crew’s inputs as niadra_context), after_kickoff (which records the final answer) and tools. Python only.

Install

The five primitives

Minimal example

The same code is in examples/crewai_crew.py.

Agent memory

NiadraCrew(conversation, agent_memory=True) puts the agent’s own notes before the customer’s context inside niadra_context and adds the two tools. See Agent memory.

Limits

  • The crew’s own memory (short-term, long-term, entity) stays CrewAI’s; Niadra is the company’s memory of the customer, shared with every other agent.
  • Python 3.11 to 3.13 only: CrewAI’s vector store depends on onnxruntime, which has no wheels for 3.10. The crewai, pipecat and openai-agents extras pin incompatible versions of a shared dependency; install one per environment.
  • Only the crew’s final answer is recorded as the agent’s turn, not each step.
  • Tested against crewai 1.15 with the model replaced by a fake and Niadra on the emulator.

Next steps

Internal agents

tasks, objects and actions that close open items.

History navigation

the three tools the agent receives.