PulseHive
Shared Consciousness SDK for Multi-Agent AI Systems
PulseHive is a Rust SDK where AI agents share knowledge through a persistent substrate (PulseDB) instead of passing messages. Agents perceive each other's experiences through configurable lenses, enabling implicit coordination without explicit communication.
This is the meta-crate — it re-exports pulsehive-core and pulsehive-runtime with optional LLM providers.
Quick Start
[]
= { = "1.0", = ["openai"] }
= { = "1", = ["rt-multi-thread", "macros"] }
use *;
use ;
async
Feature Flags
| Flag | Enables | Dependency |
|---|---|---|
openai |
OpenAI, Azure, Ollama, vLLM, Groq, Together | pulsehive-openai |
anthropic |
Claude Opus, Sonnet, Haiku | pulsehive-anthropic |
Core Primitives
| Primitive | Purpose |
|---|---|
| HiveMind | Orchestrator — deploys agents, manages substrate |
| Agent | LLM-powered or workflow (Sequential/Parallel/Loop) |
| Tool | Pluggable capability given to agents |
| Lens | Perception filter — how an agent sees the substrate |
| Experience | Knowledge unit stored in PulseDB |
Multi-Agent Workflows
// Sequential: each agent perceives previous results via substrate
let pipeline = AgentDefinition ;
// Parallel: agents work concurrently, sharing substrate in real-time
let team = AgentDefinition ;
// Loop: repeat until [LOOP_DONE] or max iterations
let refiner = AgentDefinition ;
Language Bindings
- Python:
pip install pulsehive(PyO3) - TypeScript:
npm install @pulsehive/sdk(napi-rs)
Links
License
AGPL-3.0-only