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.dev2-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.dev2-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.dev2-cp312-cp312-macosx_11_0_arm64.whl (414.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.34.2.dev2-cp312-cp312-macosx_10_9_x86_64.whl (416.4 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

amesa_inference_dev-0.34.2.dev2-cp312-cp312-macosx_10_9_universal2.whl (829.1 kB view details)

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

amesa_inference_dev-0.34.2.dev2-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.dev2-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.dev2-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.dev2-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.dev2-cp311-cp311-macosx_10_9_universal2.whl (831.8 kB view details)

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

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 663e66d6d69ef8c5ab4520227a58e0e9aa2dd971fd1d6c0882b68b71564fb9a6
MD5 1ab1dee5ef4298f6b46fea63fe9181d1
BLAKE2b-256 98141a120d5215a6f00be0a159cf5ddb1de6325021fcb452c79ee128def914b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bc54fc30347c8a37288db2f8949b85b36c6a13fcf42012f19ec587e3b621fb0a
MD5 8593c8a2e838731009584cea6a3c15db
BLAKE2b-256 3d926cd87ea5b052b922b5716aeee70bc989498ada82a44d21293b70e0560d9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 515fbd06e40cf3b521b79c86799fa306fc7265b1067dabdacaef659775fff374
MD5 69ad869e0b56b34783f8ed5ed1a8315e
BLAKE2b-256 38487901b8f795aeb722bc29fed377409d6ed2ced1ab887ecfd835d3cebbdb02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c930cb0957f5e3c2ece830054b727bb6e57091be767e18c201bb422104b908d4
MD5 5cced4740401b6d97e072c83551fa6c9
BLAKE2b-256 bdc3449e52270eaea11992b5291def649772ea7e799aa3bc7abd28b48feddc82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 62f23d7351a0875fb1689783b959020b4e42486aad21f1d3f9f700813329629a
MD5 a1b413bc7f595b936985fc1d3f48d5ba
BLAKE2b-256 3f866a447ab0bf3b03ac2c14b65d5c4fb85876dccb1a5e25e711b55e943070df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15c8b67bb8a7232483d3cdbded68bc8eec33cd1e77bd436af6462334b770c3de
MD5 1b225c27046f5be65575bb5660e8e2ba
BLAKE2b-256 858391756033b56c15c7b5562e89095d87f289def3360de3ce7a715dfecc9426

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 117202148eea85a95718c4463a4ac624e25a4fa53bd872da6503b6c99c8ca6e3
MD5 aeef4ffbebde4c358b0536e6c9d55b82
BLAKE2b-256 0d659a56d1cf33dcbfa9f868958af11dd3daed29066fb0465ba13cc6438320d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 da71926d3bcad5e32a4a828ce508337c6e1b64a410537e0157b1be7dea3f5d09
MD5 ad53cf1c7b17d76d10af87d6db567da8
BLAKE2b-256 9433f5cf8609ccce745912fa62fa316470040dddaf560a783c7021c37da8bc9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3d983184bf6061a6db4bdcbed6d13487f1537dcce653f1174f9006c112edb5fa
MD5 5287a9e58056d0f9b05ad1dbf0d6f75a
BLAKE2b-256 c9bd2e4c7e16cbd95d1260c058ba1b2277bffd1addf1509553207b9d2afff600

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 955ad0256fbeacfe9fb2ef420118d91873f0f060583b4b7734a06ee356c6ed0d
MD5 63a15a177c8a4941dd4ceaffdecffcf7
BLAKE2b-256 bf0d8262b35a734fe817e2b918b369b5cdc4127b9f1fef227de01beb2f13cda1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7aaf2b2a3e1d5b66cee80ee00e8b62c60bad46ba9433f51da1caf9ac68016ea5
MD5 1a357a32c1830aef37b897cf66702e22
BLAKE2b-256 0ee5c60b69388ac68b3c499d95c2d3602c92904c0f7e0b134adb797b6af7ed77

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 64acb12313934d1cff203ca64e5bdfa3fffbb2f65900915a04def71da017ae1b
MD5 bb7d5cdb04427b6e1de273c4a7ea8b1d
BLAKE2b-256 bd553e0efa16a60df95480702fc55f8e2c1884500bb52f608a7823b1d6fa37bd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb4d60df8c8fc6c98b532040cdb8d1473675741be23a62a2382215d262ec9efb
MD5 ba3d00d1a8f0bdfecb5edca3907c541c
BLAKE2b-256 fb96dc6767dc07f6f086d39384a0cad0c56365ccbb9bbfab0c5c926443f463f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5322819190861a119814ddc24ece93c21df8aaf45a8e07e3025421e2dd0c21c3
MD5 3c3c583caa4d9d8993cfc014e2139cd6
BLAKE2b-256 f8c1e6123f0610a4c6392d56ecae59914e95ee163333fb1d0b76548a26ee1b1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.34.2.dev2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c329f4b595f68d08c6bf862d015918fe341db53317558f5643e83f6582076de5
MD5 70038c48edba6fbe8b9e712ed88ba7aa
BLAKE2b-256 c40a9029ba93ef64b587c26c610878ba898fa2933a4364b458f7c4c93e62d0c3

See more details on using hashes here.

Provenance

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