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 Why is the sky blue? llm_infer return """ 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.0.tar.gz (4.1 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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: m8_core-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 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.0.tar.gz
Algorithm Hash digest
SHA256 2e7faac143681f5bed3de975728699e057dcaf9c8b36d55e08ddf12e466958c1
MD5 05286d985dc08cd2233dce6b214942c7
BLAKE2b-256 9f413e19f03565a5e6968cdc7778a53566b43ec210045f68a927c08a9518cfe3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: m8_core-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4bdf5cfabbe8571fc75bb6ffe72aded8ef4063edd73ee60a0e83c98c96e17635
MD5 06db2474237baf0489a7ba13dcc62fc3
BLAKE2b-256 41eb6e232ddaccd5b025e38ff05a36396823aa0ec44fc69e48417a0d8ea89b65

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