Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Amesa Inference

A lightweight inference package for running Amesa agents using ONNX models without Ray or PyTorch dependencies.

Overview

composabl_inference provides a standalone inference engine for running trained Amesa agents. It uses ONNX Runtime for model inference, making it suitable for deployment scenarios where you want to avoid heavy dependencies like Ray and PyTorch.

Features

  • ONNX-based inference: Uses ONNX Runtime for efficient model inference
  • No Ray or PyTorch dependencies: Lightweight package suitable for production deployment
  • Network management: Supports both local and remote objects (agents, perceptors, controllers)
  • Compatible API: Similar interface to Trainer.package() for easy migration

Installation

pip install amesa-inference

Usage

Basic Inference

from composabl_inference import InferenceEngine
from composabl_core import Agent

# Create inference engine (only license needed for license validation)
engine = InferenceEngine(license="your-license-key")

# Load agent
agent = Agent.load("path/to/agent")
await engine.load_agent(agent)

# Package agent for inference (similar to Trainer.package())
await engine.package()

# Run inference
observation = {...}  # Your observation from the simulator
action = engine.execute(observation)

With Remote Objects

The inference engine supports remote agents, perceptors, and controllers, just like the Trainer:

from composabl_inference import InferenceEngine

# Optional: provide custom config for NetworkMgr (e.g., for remote targets)
config = {
    "target": {
        "local": {
            "address": "localhost:1337",
        },
    },
}

engine = InferenceEngine(license="your-license-key", config=config)
await engine.load_agent("path/to/agent")
await engine.package()

# The agent processor will automatically handle remote objects
action = engine.execute(observation)

Cleanup

# Clean up resources
await engine.close()

Architecture

Components

  1. InferenceEngine: Main entry point for inference operations
  2. NetworkMgr: Manages network connections (non-Ray version)
  3. ONNXInferenceEngine: Handles ONNX model loading and inference
  4. ONNXAgentProcessor: Processes agents using ONNX models instead of PyTorch

Differences from Trainer

  • Uses ONNX Runtime instead of PyTorch for model inference
  • NetworkMgr is not a Ray actor (runs in the same process)
  • No Ray initialization required
  • Lighter weight, suitable for production deployment

Requirements

  • Python >= 3.10
  • composabl-core
  • composabl-api
  • onnxruntime
  • numpy

License

Proprietary and confidential - Copyright (C) Amesa, Inc

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

amesa_inference_dev-0.34.2.dev22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

amesa_inference_dev-0.34.2.dev22-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_11_0_arm64.whl (418.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_10_9_x86_64.whl (416.5 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_10_9_universal2.whl (832.9 kB view details)

Uploaded CPython 3.12macOS 10.9+ universal2 (ARM64, x86-64)

amesa_inference_dev-0.34.2.dev22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

amesa_inference_dev-0.34.2.dev22-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_11_0_arm64.whl (419.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_10_9_x86_64.whl (419.0 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_10_9_universal2.whl (835.8 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

amesa_inference_dev-0.34.2.dev22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

amesa_inference_dev-0.34.2.dev22-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_11_0_arm64.whl (421.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_10_9_x86_64.whl (421.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_10_9_universal2.whl (840.8 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbd92e2822f039e9eec1ff9014ec7e2c8fc5e9ff2866040fbc6a8c520ba7aa3c
MD5 d44ccf186fb9af86ccb3152a641c53bf
BLAKE2b-256 1d6d0ef263ba05cdaf0483deefa025f9318173dcfc78020c95377d419406b2ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 11a57d770937bc18fa53d480676ee3425713cf510bdea344a6d155197cf28332
MD5 cbe439e656c7c0a0d6da06f488d3c4e2
BLAKE2b-256 6e868ed7c02ff27eba657ae941fb291263ac1c3454558ccc666bf4922085465c

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b75cdb4df29c9618d266305cfad05c3a09ffca36c179b972379719206321df4
MD5 09b3d020763e15c18e68334b6864d55c
BLAKE2b-256 be2adcf929b95bf81b52b70355520ecc59c16dc3d4b209002c7422f7e2860cd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 346a2eeb1e22795e1b049d21764748464c42a564dd40fbe15f215b937e3d76b3
MD5 28e44b77810171feb35efd671d18f204
BLAKE2b-256 b06f36a8e0a63e3117108c8cc5079b2685b8a1296cc6bd466798337c25638c9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_10_9_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 bfff5c61079bbea8496b2ef3d95cdd5ff1bfddb8d6e996748577454fbda58323
MD5 43e7b8b75c1a582c64df4330ba1f4d52
BLAKE2b-256 e93642e8d7f40ba417cc74a82e567a4f2d3848ea4b1da22d7f9a294b4615fc0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp312-cp312-macosx_10_9_universal2.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91590aa4a803e649859a57a154cab407eca57cea8de83225915573864b242195
MD5 3d447b5c194197b3c94d1b2f3d10089c
BLAKE2b-256 279154c9a52860c700bc2c1c9f12a6bfbcf79697b7b26328296d5cf8d9969b00

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 493b9f57ecfefdb328a56eb68fec64d8afd7e1092b321d573b192b69d5130378
MD5 31bb8a79d99a50b9a3948631d378fd52
BLAKE2b-256 c8c5dbede0ecde477f0206d4ef71d6d07c089ae12286c86680c4f7f7fb4359e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 05588d1f25f126d13e36b304e6e5397797f16dc4d57deeeab5235aca0a492707
MD5 c52bdc3375e2e44950579aadfa0fc6fb
BLAKE2b-256 b13edae7a050fa7e1ac8052e967a35923c698af20e666a018e75079490e2899b

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f78f21512376addb14b7b75552e200f91514ab4968f264934e044a159b99109b
MD5 fa98e689944ace8f8ed21e8b5aa86546
BLAKE2b-256 6d0fb1a22447de2e8c6a1855a50a48ed5782303b2c427ccbeb7b72cfdb665ed9

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b42e3f63c300553e7841cfcaf4940a015d0355e6b27d4605fd5a895a1d955c08
MD5 05ca84697775bbb3d38ae520dce77b54
BLAKE2b-256 a4f896c3a4973ac37da9e92534b777856c84a8960d51e2060540bf6a4f84d3b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp311-cp311-macosx_10_9_universal2.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 89d42df4f908fdb76218e4e9236c34eb3a900ff3ebb409024fd7471290185399
MD5 f8952d783af7377452a62d0847c826d6
BLAKE2b-256 5f81a3fca91ebaff644e84b49531157fcad1c159c7df42c05fcbc88791e25728

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 61180b68b70083711413496f45172ae38797ca9138b76c88b80d4561bc4d4c80
MD5 477c7dc0e2b80c9e9e44e39fd9731c46
BLAKE2b-256 731393dc1c92ed3303ccce40915e506a484ce1b6e2c851179f339057309c1e2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 581b3cc9993ca65c8c3520db3e65ce6a3623ac49f1d4149477e8409919980e54
MD5 9180519a9ee46c16b0fd24eb9df049a2
BLAKE2b-256 d5688dc4e10c18d8cd9d4b83fbb78a84a965f93fe6e453a812b46df30bb41ea3

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1076925f79135cc27d8681564272e0e14720a95cc868a6ea93dbff9314fdf26d
MD5 a4edcbff47ee5962e8f4a8ab34cb8a35
BLAKE2b-256 1da4f8531b6a0155187334b7d588d37e70d3c183e84c0241e1a149d1fe765db3

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9cc2d8ee4f962a1cdb2f6c0da46bf061c93c85ccd5a32b4daa379f4d591d5ae6
MD5 ac87afe89c009f917ba883c0904a47f9
BLAKE2b-256 cd31c71b7c05757e06037302a3bcbd21d1e681c6c275de6ba5e5b44fb89d1fae

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev22-cp310-cp310-macosx_10_9_universal2.whl:

Publisher: build-and-publish-package-dev.yaml on Composabl/sdk.composabl.ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.34.2.dev22 This release

15 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