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.35.1.dev7-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.35.1.dev7-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.35.1.dev7-cp312-cp312-macosx_11_0_arm64.whl (418.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.35.1.dev7-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.35.1.dev7-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.35.1.dev7-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.35.1.dev7-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.35.1.dev7-cp311-cp311-macosx_11_0_arm64.whl (419.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.35.1.dev7-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.35.1.dev7-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.35.1.dev7-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.35.1.dev7-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.35.1.dev7-cp310-cp310-macosx_11_0_arm64.whl (421.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.35.1.dev7-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.35.1.dev7-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.35.1.dev7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eecfb069c1820e6183bf48cfed95cf64378ceac2cbd8ad8eaf546ef6b0c8ad1d
MD5 2f0d371ef70d3c02f237b431ec2e33dd
BLAKE2b-256 efd7ef61f7bdca51c5f01565e2a561ed332f38abb775602203a86443cd92a273

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dd2b6d9592695e4789f5ccdd6afce9cfc82eeab9a18530bbaad7a68d711f70ce
MD5 116eb24dd01cda7b0a873c9a6b8f994b
BLAKE2b-256 b7d1d122fbf3d5c000023769e3ece467921bcd648a38515d4d0edccf44efa0c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e35d2c113e13d2e356935099cc6297deba8955eba3ce9da1e140dd6e88ac666
MD5 a407401bda382238418a5d0d5fefa399
BLAKE2b-256 0be67a5fa41dc36f50783adc34be2fb2c6b6dfda3041cb32a6327319e7bc371a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d6bcbe1d502825c2362938e2163331355504e4f6304fd71f43645121cfbec51a
MD5 995f4472f4e8491f8231218dfc580a04
BLAKE2b-256 54ce24400c52cef792fe99b328dee40204743405d6a69b694ac2d046c944d4d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 089c27fdac8388d261a54b1f033831d03322aaa1ae9dcd16a1308f5e7283ecf6
MD5 7d7a8725532e1c62af9b185415df4698
BLAKE2b-256 1dfb4b500864f46ec97942caa74225a314c5713bc879c49efa9d1d2421fc17ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d8991ab212a89061d55af9a56bcc7a81539ffdd403b47a3ffd9c6effefdd0a7a
MD5 01e629f873c937429f776846704b9c11
BLAKE2b-256 e672be708573702afc01405a03c86eb5cc76af52d8e92d0ff07b1557a4fecd9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 110aa1938ccf1ce67ebefa8dbe4902a2328f40cc552f412ccaaa4293a50ba36e
MD5 cf548dacf96b49989690ac953b644bd8
BLAKE2b-256 bafe7de4b068f7a1a512b7278f9a838cc7ab34c0ba401beeb185b8340664b29e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5c809cf8b517272291574295934025c701550822304c833df444940f0c3cda95
MD5 50c131a741bd38ad07f3dca594dc64f6
BLAKE2b-256 5c70648c3161d4620846f3ca515a35ac787ebc3d8608552f2996de78fa60dfa0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e2a02be4dd9bfc1c8864be21f99ea16e71e9423272213b2394c5da9efdd64e15
MD5 2421f8233a7d2c70ba8185b37fbb5233
BLAKE2b-256 6748becadd08e1bfd0b92b1e59f09b7cd143faba14840ae9edc1dfc3237e4a2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 fd65ffffe5da896e37aa729b21bedf801117bafedbaf63a0b7699d9b9962bf55
MD5 0f00fc11976792b173080d29d26c5c30
BLAKE2b-256 017207730c1fd30ff4b7407e69ca1c4f9fcac934956aab55ba95dd6a970b633b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7466fdf06460f550aec862f477a66e166e1b0e2a8cfa50a525b57f00e19da293
MD5 4e21e3276abf56947cb21fc2718b9bcf
BLAKE2b-256 d516913d0ba8f9d191aba956b55100f0e52efbb1dd64c3119ee1e443cd45b7c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 28ea0e582b595497ebb5f97af3c54bf7b1a8cf8e99ad5c03958eb07d2ff47184
MD5 3ea6c63f33a1f1c0fcd67d5ca8008d8f
BLAKE2b-256 05064c942dc561dab311facdff5c6ceb398ce6792d6a6615237d2f9f6e5a2f65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82e2d5454d79feb8b8fd6ce765603be9c49cc9cf249134f8de3fb0361870e211
MD5 322ea594785d6738b33019f4685b1fb3
BLAKE2b-256 dcf375a3d7d7dc20e0112f4a8044308f8a195bd4c9d83bac98946a80936b12b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7e9d432479f6963a8eee4f909b1f18f8cc792ec52b97550219805b1908cd6942
MD5 c66a74f5802af1035194747cea4799f6
BLAKE2b-256 57a0f9a98ed854560cd8e7191a94e38a113b1ceac9a7cb755d986fb54afa39db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev7-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9d07d3d749767ea286de06ef1d753bce05ecb3f3748cca1a3dafa3a1d8ed7a73
MD5 429b3f48fffa851a633b0a594b7fb943
BLAKE2b-256 f4aa24136f748043543d784fd4ebfd88b6e4b718683c662a9b4ffd236134c1dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.35.1.dev7-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.35.1.dev7 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