Skip to main content

Poison-resistant, Byzantine-fault-tolerant shared memory + robust voting tools for CrewAI crews — one rogue agent can't corrupt what the crew remembers or how it votes.

Project description

memora-crewai

Poison-resistant, Byzantine-fault-tolerant shared memory + robust voting for CrewAI crews.

CrewAI agents coordinate through tools. memora-crewai hands your crew a set of tools backed by Memora: agents remember_shared / recall_shared facts in one Byzantine-tolerant store, and crew_vote / crew_consensus on numeric estimates with a robust aggregate. Concurrent writers merge (CRDT, nothing lost), and a rogue or prompt-injected agent can't silently corrupt what the crew reads — or skew the vote.

pip install memora-crewai

One command — pulls in the memora-swarm engine and crewai. Free key (25,000 ops) at memora.optitransfer.ch/dashboard.

Quickstart

from crewai import Agent
from memora_crewai import MemoraCrewMemory

mem = MemoraCrewMemory("research-crew", api_key="opti_sk_...", node_id="planner")

researcher = Agent(
    role="Researcher",
    goal="Find and share verified facts with the crew",
    tools=mem.tools(),        # remember_shared, recall_shared, crew_vote, crew_consensus
    # ...
)

Every agent built with mem.tools() on the same room shares one poison-resistant memory.

The tools

Tool What it does
remember_shared(key, value) Store a fact in the crew's shared, Byzantine-safe memory
recall_shared(key) Recall a fact every agent can see
crew_vote(name, value) Submit a numeric estimate — outliers/poisoned votes are down-weighted
crew_consensus(name) Resolve the Byzantine-robust consensus; equivocators are evicted

Why it's safe under a crew

  • No lost facts. Writes merge deterministically (CRDT) — concurrent agents can't clobber each other.
  • No silent rewrite / no skewed vote. Every contribution is signed and attributable in the Memora engine; a rogue agent's write or an outlier vote is convicted/down-weighted, not trusted on faith.
  • Durable + replayable via a local append-only log.

Pricing

First 25,000 ops free (unlimited agents), then metered per semantic op — see memora.optitransfer.ch. Reads and keepalive are never billed.

Links

Apache-2.0 · a product of optitransfer.ch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

memora_crewai-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file memora_crewai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: memora_crewai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for memora_crewai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f71d5ca2c6a9192770f3e777f78543b05bbf2eafc0cf829c57aa1cd0dbae4357
MD5 d354b8a1d974604849f81b1d97327961
BLAKE2b-256 c8809111fce4b67ac072b295f1fd46a6b3027cfc39f3d6c94e47a9da69182ad5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page