Skip to main content

omnipulse-agent

The Agentic Control Plane for the OmniPulse Zero-Copy Hashing Architecture

PyPI Version License Python


⚡️ Engineering Outcomes

omnipulse-agent is engineered for extreme performance. We are completely shifting the paradigm of how AI agents interact with high-performance backends.

  • Zero-Copy Latency Reduction: Eliminate JSON serialization overhead entirely.
  • Memory-Safe Cross-Language Architecture: Seamlessly route LLM commands from Python to a Rust/C++ backend safely.
  • 15+ GB/s DMA Transfer Potential: Utilize POSIX Shared Memory and Apache Arrow to hit memory bandwidth limits, leaving network bottlenecks in the dust.
  • Direct-to-Metal Dispatch: Route LLM intelligence straight into raw compute via our optimized stdio pipelines.

🚀 Installation

pip install omnipulse-agent

💻 Quickstart

Below is a minimal example demonstrating how to initialize the Anthropic client within the OmniPulse ecosystem and execute a zero-copy task, like generating a fingerprint.

import os
import asyncio
from omnipulse_agent.mcp_client import MCPClient
from omnipulse_agent.control_plane import AgenticControlPlane
from anthropic import AsyncAnthropic

async def main():
    # 1. Initialize the Async Anthropic Client
    anthropic = AsyncAnthropic(api_key=os.environ.get("ANTHROPIC_API_KEY"))

    # 2. Setup the OmniPulse Agentic Control Plane
    control_plane = AgenticControlPlane(
        anthropic_client=anthropic,
        model="claude-3-opus-20240229",
        backend_path="/path/to/rust/backend"
    )

    # 3. Connect and execute
    await control_plane.start()
    
    # 4. Route a command directly (Zero-Copy)
    result = await control_plane.execute_command(
        command="generate_fingerprint",
        data_payload={"region": "us-east", "intensity": "high"}
    )
    
    print(f"Zero-copy execution completed! Result: {result}")
    
    await control_plane.stop()

if __name__ == "__main__":
    asyncio.run(main())

🏗 Architecture Highlight

Traditional LLM agentic frameworks serialize data to JSON and send it over HTTP/gRPC, choking the network stack and wasting CPU cycles.

OmniPulse does things differently:

  1. Apache Arrow Memory Format: Data remains in an in-memory columnar format that both Python and Rust/C++ understand natively.
  2. POSIX Shared Memory: Instead of sending payloads over sockets, we pass pointers to shared memory regions.
  3. Rust stdio Pipe: Control commands are dispatched over lightweight, ultra-fast stdio pipes directly to the compute engine.

The result? Multi-gigabyte LLM context windows and large embedding arrays mapped into the backend's memory space instantly.

📄 License

This project is licensed under the Apache 2.0 License. See the LICENSE file for more details.

Metadata

Release files for omnipulse-agent 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnipulse-agent 1.0.0
File Size Uploaded
omnipulse_agent-1.0.0.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for omnipulse-agent 1.0.0
File Interpreter ABI Platform
omnipulse_agent-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.7 kB

Release files / omnipulse_agent-1.0.0.tar.gz

Download URL omnipulse_agent-1.0.0.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5f98f5e66d38b8e86797f7d95fc28bf7a093dea9ce9856a178f53ec4135941d3
BLAKE2b-256 checksum
How to use checksums
c0c148138fd670650dd36587da053d61c9315eec17638eb4d82895c66d22a0db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / omnipulse_agent-1.0.0-py3-none-any.whl

Download URL omnipulse_agent-1.0.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afe3628be08cd173ab2e154bcc73833b1858e04ba3a42fa06417c1385796bd24
BLAKE2b-256 checksum
How to use checksums
ea4b20cd8de3b08408238950cd7f0ae4fd7a01e06c19068ca5d2929ad99b30d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page