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.dev11-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.dev11-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.dev11-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.dev11-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.dev11-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.dev11-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.dev11-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.dev11-cp311-cp311-macosx_11_0_arm64.whl (414.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev11-cp311-cp311-macosx_10_9_x86_64.whl (419.4 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

amesa_inference_dev-0.34.2.dev11-cp311-cp311-macosx_10_9_universal2.whl (831.9 kB view details)

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

amesa_inference_dev-0.34.2.dev11-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.dev11-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.dev11-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.dev11-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.dev11-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.dev11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a131d9d8ba695d969752f14adf81c2af0529381150e102f1675fd2873fdec4e
MD5 7de921425e6ec7ec9d2dd4688602cd7d
BLAKE2b-256 238f23f507ae86fc04b5b690a904d5d15a5acc9064b3c60d3b3bfca7ccf133d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3e0f4aca8008efb9aade453fb81d8fa7b598cc638bf8996756baaf78649635b0
MD5 8d35ed2cfaaaba865123a32110a0b258
BLAKE2b-256 0194c9d1346d52c98f5fc4d87417ebe77ee83890032ebb7f4d534a2175dbbd5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e4727996c5bb4e8a2275e7f6e73d38cb50eca76645b3ef8321fe88507b0992e
MD5 7bf666556a7906e25d7ac97defb9bbdd
BLAKE2b-256 6cdc912bbf3d09b8e6cba0f9bbbbd0b0dee758ab796b36daef6d3523e6a1c397

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 62f92a35d03b238c85277753fe4262ba0418e7560cc7bcbd8007cbdfcff8b366
MD5 6e713adeee730987b4b7bf7b4e217a1f
BLAKE2b-256 05c50f231e6f49869b5bb526f83840edbe049e7cd48a90f37bd786944d054910

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 93b2922d5b979c19a8bd590f2658958e1d1b713b8c54527d7a281c6744aa462d
MD5 7fd3631c4cb3101616282d1ed37533d7
BLAKE2b-256 3c895a8e5f48b494cde605418aa47dd6b5d5a47523efe5c433f8df6158d9e2a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ede5f6fef6515d58ffa3f04aeded99f3b43378f00f8814cff6737e53a763ca0
MD5 c5ffa6f4c228e1072689638f9768592f
BLAKE2b-256 0e4b2699442ef73ab0a53ecf331964a2a2fad3e9bed20b2e0ef62c8aa43e1503

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 39c58898ef015ca6c8c9b082aeb9afaea32891c3f710a90fb55d7a61ae25fc07
MD5 61f96296115f636b1b658a58c3edabcd
BLAKE2b-256 da76c15be42e2ea52a180595e57638edabba1ece92425a5dffa4ae628ad0bfe1

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88469700ce15aed3348df51b2528813c5dcaefac13bd09b1b4aa9d6250845ca9
MD5 ec02cba625b4c786d4fdc09d2ff014e9
BLAKE2b-256 32a092b0dfe2d8248755848d7fd4347dfaea5aa6182956501a3a9ee1b18b1796

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8aaef3beb650f56c90677b1b44eb44e884168d8c460be0536195adfbbf5b648b
MD5 e9c2658c62b39c28bb09770c3010ba13
BLAKE2b-256 1de1dc06914f21638073e6595c0eaeb06282e0c24342aab1a6bb1ce2bf09bf29

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 07281c60cd6a08b9f034673f14dfb8a6b60c9cd580315879ab3c62ced7070ab7
MD5 dbe276fc6ae4c06e98895274b910d40a
BLAKE2b-256 3ffd95b8387ba75fdfa5daa00d620eca4a80f5d32233d247ee208fa71d6bc8af

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c32cf3753f16710111ad6c0dbc208408b8739937a839a7c34ad2d7e6c8a495e5
MD5 151ce3980206c3b55dc940420922c3e4
BLAKE2b-256 82450631b4e0b934722aecd171c6157eb8cb431ad2f761cd820e7dd901c115e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b781d07106cbd125c658d7a5b2e5645d95eee0992364fa33323fc6014d00a464
MD5 ef320999ae990d055a466b9b89813edf
BLAKE2b-256 03674d6efc2cbc32568f73786ba07f9f60c0dfa3b451604326a025e0d8709adf

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 663975905d0e01b5473eff23b8a0fa72cb213fb20bd2739b29940ebdcfa80385
MD5 000c81af4acab1e9be9ae421c074a49d
BLAKE2b-256 67da14e0448e0c3d7c97e28ba27826b7b6f0463b14a033176bf685768ef4e253

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9579dc4362726eff65fbef27502070d78f9f2b3d55be6d8c60a11efd479c2027
MD5 44e82b39dea54e45f140dd1d46e10891
BLAKE2b-256 cfeac06b726aca2d2bf69417f382782c047f3430aaeab8e430750d83906b4be4

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev11-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 6d35a66ae650fc74824c40b6b4bafbd0a9782a63add3781730cfa774440e63e1
MD5 e743579cd58d7a3f24c9b9157e9b61f0
BLAKE2b-256 2b0a18b0b08da217aa4b8215c4760a6dd26ac604be9da57d2403b902102df9dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.34.2.dev11-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.dev11 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