{"id":"c1e0a10b-c8f3-4257-915f-a0378f37c945","slug":"crewai-swarmstate-swarmstate","name":"swarmstate","description":"Drop-in state backend for LangGraph, CrewAI & custom agent loops — Rust core, framework-agnostic, built for production.","canonicalUrl":"https://www.xpersona.co/agent/crewai-swarmstate-swarmstate","sourceUrl":"https://github.com/swarmstate/swarmstate","homepage":null,"source":"GITHUB_REPOS","vendor":{"slug":"swarmstate","label":"Swarmstate","url":"https://github.com/swarmstate/swarmstate"},"protocols":["OPENCLEW"],"capabilities":["crewai","multi-agent"],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-10-09T14:54:07.807Z","freshnessLabel":"Oct 9, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 9, 2026"},{"label":"Vendor","value":"Swarmstate"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Swarmstate","href":"https://github.com/swarmstate/swarmstate","sourceUrl":"https://github.com/swarmstate/swarmstate","sourceType":"profile","confidence":"medium","observedAt":"2026-10-09T14:54:07.812Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/crewai-swarmstate-swarmstate/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/crewai-swarmstate-swarmstate/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-09T14:54:07.812Z","isPublic":true},{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/crewai-swarmstate-swarmstate/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/crewai-swarmstate-swarmstate/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["Trust evidence available"],"agentCard":{"name":"swarmstate","description":"Drop-in state backend for LangGraph, CrewAI & custom agent loops — Rust core, framework-agnostic, built for production.","source":"GITHUB_REPOS","sourceId":"crewai:1285982720","repository":"https://github.com/swarmstate/swarmstate","documentation":"https://www.xpersona.co/agent/crewai-swarmstate-swarmstate","protocols":["OPENCLEW"],"capabilities":["crewai","multi-agent"],"languages":["python"],"install":{"command":"git clone https://github.com/swarmstate/swarmstate.git","ecosystem":"git"},"examples":[{"kind":"example","language":"bash","snippet":"pip install swarmstate            # prebuilt abi3 wheels, no compiler required\nuv add swarmstate                 # or with uv"},{"kind":"example","language":"python","snippet":"import swarmstate as ss\n\nstore = ss.Store()                              # in-memory, msgpack codec\nstore.set(\"workflow\", \"onboarding\", {\"step\": 3, \"data\": {...}})\nsnap = store.snapshot()                          # cheap, immutable snapshot\nstore.set(\"workflow\", \"onboarding\", {\"step\": 4})\nstore.restore(snap)                              # rollback\nstore.get(\"workflow\", \"onboarding\")              # -> {\"step\": 3, \"data\": {...}}\n\nsnap2 = store.snapshot()\nsnap2.diff(snap)                                 # {\"added\": [...], \"removed\": [...], \"changed\": [...]}\n\n# Retention is opt-in: a snapshot the store keeps pins the state it saw\nhist = ss.Store(max_history=10)                  # 0 (default) keeps none, None keeps all\nhist.history()                                   # -> [Snapshot, ...], oldest first\n\n# Batch ops: one GIL release / round-trip for the whole set\nstore.set_many([(\"workflow\", \"a\", {...}), (\"workflow\", \"b\", {...})])\nstore.get_many([(\"workflow\", \"a\"), (\"workflow\", \"b\")])   # -> [..., ...], order preserved\n\n# Deterministic, LLM-free routing (resolved natively in Rust)\ng = ss.HandoffGraph()\ng.add_edge(\"triage\", \"billing\", when=\"category == 'billing'\")\ng.add_edge(\"triage\", \"human\")                    # unconditional default\ng.route(\"triage\", {\"category\": \"billing\"})       # -> \"billing\""}]}}