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.37.1.dev23-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.37.1.dev23-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.37.1.dev23-cp312-cp312-macosx_11_0_arm64.whl (420.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.37.1.dev23-cp312-cp312-macosx_10_9_x86_64.whl (418.7 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

amesa_inference_dev-0.37.1.dev23-cp312-cp312-macosx_10_9_universal2.whl (836.7 kB view details)

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

amesa_inference_dev-0.37.1.dev23-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.37.1.dev23-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.37.1.dev23-cp311-cp311-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.37.1.dev23-cp311-cp311-macosx_10_9_x86_64.whl (421.1 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

amesa_inference_dev-0.37.1.dev23-cp311-cp311-macosx_10_9_universal2.whl (840.0 kB view details)

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

amesa_inference_dev-0.37.1.dev23-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.37.1.dev23-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.37.1.dev23-cp310-cp310-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.37.1.dev23-cp310-cp310-macosx_10_9_x86_64.whl (423.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

amesa_inference_dev-0.37.1.dev23-cp310-cp310-macosx_10_9_universal2.whl (845.1 kB view details)

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

File details

Details for the file amesa_inference_dev-0.37.1.dev23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c500edfad8f692eb592cbf1b11e9f92167a84ac3daed927bbc3921eef5f5480
MD5 a97820a464158472e9707749ec3c64f2
BLAKE2b-256 11996ec2a2703477403351b6719e04f7bebe9fdcaa2cd4dcc267621b274161bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a40b76918ba2a15ce037547336d78dbad5e480233b41a0e83cdf324b52fcdd08
MD5 284162ed2b9c82e4007c10f674716430
BLAKE2b-256 f9117f08f91b799a4fe72c334b20a004bf141c7ac843b507e58ae1fd5b088999

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 de61a6a3ea3d7e7cd6fe6dbfb469f0887f611799219bfc17986c5a815e19e246
MD5 31dfd2605dd582b2bc58a80a408b751c
BLAKE2b-256 fe366ab49254fcb0193fd0f338286edc9907a14a45eedfd08206e84e6dfaccbd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 468659fa7444d4dbfdd4168a64d0181a704d3bb3426a81f3c20a49454d4b80bb
MD5 7a77bcaa4aa2accd8b212ebac9cb96f6
BLAKE2b-256 334a9f4ccd63049e7999ec07a2740a9dc27eb5a0f62393b0ad4815a8abf3ba2a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7f6991078d6803a59d1e37c4ee71bd59133f00ffbc0e82891ad8666bb0dc1b0c
MD5 855a3d1ac02a60e96125187bd6093908
BLAKE2b-256 40f30b4fa68adbf1b8e2899e7ee5fa372054a174930df2e4beafbebfe0c00667

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b7bef95bb1cf072eed083d6d1d87609aaf3ef8cf5250ae42884e3657e3cbe7f8
MD5 242223aee4b1f6666cbfe51a040227aa
BLAKE2b-256 a41ac8c8e2976ac2824bfde58d0d11c3ec6e0144352a6f518d06cc28de49a193

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1c0f5b6b4c7bbcfc1352a780cbab6777223779fb8bbe62089c69b95d85f11347
MD5 3a43968aeff0acb55d9737bd404e3e16
BLAKE2b-256 805e27b535da41d38a42992539755d3ae5fa40e53b84a37b5e6fb8917b1a8535

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2964edb3fd2e8e772b79a5e04159179f3900a804a98f0c9bb5a0c3872ac78f79
MD5 4efaa1fa9a26966af0647870e0333857
BLAKE2b-256 935b5cb6ba4de2d17b21e87ee1f0872301223ee947cdf745069cfe6a05cf730c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2bfd8a43c87ccc6c1c48d417e05adb15baa8deac388a02c937982b41eaed0c8d
MD5 1390cda33eae10790d86e417765268aa
BLAKE2b-256 c402b497558efaf3225b17db2bfe671fcecbe3c656829e6ffaf6e13d1f2e4513

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 dad303620164f4d81a1c03715978ee48556249d1c6399a7c19cf8bddc8a1b15b
MD5 f9dee9b4424aaaebcc032f917fe8cc51
BLAKE2b-256 c7e5e4591075b4711e0b165592015a959b00d8c8e3700b5492a6d593a81effa0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2ad9bc3e23a61a47ffa011ac2f10ffc807addf1e2ca2fbde4fe6d0704cc4f13b
MD5 bf00a9d7ffff1800ca3d8ba5bfffc3b7
BLAKE2b-256 41833bdb909eb86bb03bee9fc23f3ef99ee205ce65eb61fe00f2b0d0da0311d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3dfed6da6f01473dcd77662401c90c14d393fa112ebf61fb3d3909439ed2758d
MD5 6abbfccf8e5c78822f41260e5dd8a986
BLAKE2b-256 fdb8eb9758d1ceb9cd1abcf71572e24738a632e2ea04e4219916e78f3b7af3fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7fad7899330ea3905904151893593936eef1b0ec95c32b84c2a55e8069864da3
MD5 89fcf41dae00e8ec9a31eb96532a2bd1
BLAKE2b-256 e65e92d959eb310135bdcaad15c524270125c8d470ad9b2066778d8efdfe624b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cfd0ac48c0fd7363ed6a030f5e2a7d86b4891b8ccd7adfada7bc436b89cafd12
MD5 e978563790ae2cccd41c9adced90b3c1
BLAKE2b-256 53bcaf71d7f9f677d1d0c81985aab2e3767c5a4a18a851d7a105052050293d7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.37.1.dev23-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5e6c88c3204e26450e6da08b1c1e53731216844860dc2fdb24be997006cc447e
MD5 e842eaf57944545137584024a31b851f
BLAKE2b-256 128d72c2ec29417adddc2071c95969e50eed56bb5f18a0b26ebf96a9eadc163e

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.37.1.dev23-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.37.1.dev23 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