Skip to main content

High-performance Python client for the M8P Hypervisor and Agent Runtime.

Project description

m8-core

The Official Python Client for the M8P Hypervisor.

M8P is a unified execution engine for AI Agents, combining Vector Storage, Logic, and Inference into a single high-performance runtime. m8-core allows you to orchestrate M8P sessions from Python.

Installation

pip install m8-core

Quick Start

from m8_core import M8
SESSION_ID = "my_agent_v1"

1. Initialize Memory

init_script = """
vdb_instance AGENT_MEM dim=4096 max_elements=10000
return "Ready"
"""
M8.EnsureExists(SESSION_ID, code=init_script)

2. Run Inference

script = """
store <prompt> Why is the sky blue?
llm_infer <prompt> <result>
return <result>
"""
response = M8.RunSession(SESSION_ID, script)
print(response)

Requirements

Python 3.8+
requests

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

m8_core-0.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

m8_core-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file m8_core-0.1.1.tar.gz.

File metadata

  • Download URL: m8_core-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for m8_core-0.1.1.tar.gz
Algorithm Hash digest
SHA256 12dd482f5c5bd18dfbac619cbceafb0087e78270c76d55e2f934014cb1001e1c
MD5 3881217a506842eaa27e1f13cca5574c
BLAKE2b-256 04fb249f79a16032bdeadb7bcf786ba3f3488282ffd23f6d8a187819e5fb5fed

See more details on using hashes here.

File details

Details for the file m8_core-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: m8_core-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for m8_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 561adaa53bb38a7a17f3642894d2a476e01eab761e8e0fde0a06ff9a2f9e792e
MD5 1a1b4e44d5adbe1c86ceba48c447942f
BLAKE2b-256 0f2eecaaf35069b5b467faf51acd585ce95f494dd19b9938f197953191924d9d

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