Skip to main content

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

Project description

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.

Project details


Download files

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

Source Distribution

omnipulse_agent-1.0.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

omnipulse_agent-1.0.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file omnipulse_agent-1.0.0.tar.gz.

File metadata

  • Download URL: omnipulse_agent-1.0.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for omnipulse_agent-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5f98f5e66d38b8e86797f7d95fc28bf7a093dea9ce9856a178f53ec4135941d3
MD5 2587c90dc8c6709edcd88228278a4cc7
BLAKE2b-256 c0c148138fd670650dd36587da053d61c9315eec17638eb4d82895c66d22a0db

See more details on using hashes here.

File details

Details for the file omnipulse_agent-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for omnipulse_agent-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afe3628be08cd173ab2e154bcc73833b1858e04ba3a42fa06417c1385796bd24
MD5 c70147fb24baf56d5a1383cab1fcc1b9
BLAKE2b-256 ea4b20cd8de3b08408238950cd7f0ae4fd7a01e06c19068ca5d2929ad99b30d2

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