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

Uploaded CPython 3.12macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev8-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.36.2.dev8-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.36.2.dev8-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.36.2.dev8-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.36.2.dev8-cp311-cp311-macosx_11_0_arm64.whl (420.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev8-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.36.2.dev8-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.36.2.dev8-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.36.2.dev8-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.36.2.dev8-cp310-cp310-macosx_11_0_arm64.whl (423.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

amesa_inference_dev-0.36.2.dev8-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.36.2.dev8-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.36.2.dev8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f98fb3347920559beb8edbf8057b8d8837c3515c95f6ad520f1049bfbb17d778
MD5 29e47c2f5a063b990f14a874584e6a3b
BLAKE2b-256 70bb36323777bdf1dbb8b2dccb16bc14c5cebb1f81e2b21f6883186ee5cb48f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fd1bd37023e4eb3da7b9708f9a5dba61cbf58edd4f91595e8c7385b1b966be44
MD5 4d5532937635ce94d2817f67220cd9d4
BLAKE2b-256 58d80f038d66841121a984950eea0d5a3eb852ee49186bbb22d300e3dcc4df43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df3d999f4f78aca463b17668dd6ca47af89d94e54bc9ca9f9765fe49cb8913d1
MD5 e1cf31c12f555a745793d5af6d9329f3
BLAKE2b-256 1605eb84e986f1e84a3339487779faff7680f43c6b0bfde91b85f5c36750b725

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c1a585c1070c4c26400cecc1bc34ee85ef8ac3eff9f677da83f721bf2cbc87b5
MD5 1ffe770ac4d86e3acee8f5e51036f9ff
BLAKE2b-256 ab3e9cdaef84705c736d487b3521bb6fe336fb75c96ecfd38fbefe1beaed99a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 070addd5f9d1fe7a946332490d5e816e5ecdac00e2de4d7096cb4c273620bad7
MD5 fc33b4637b6cba25755a65662c350fd6
BLAKE2b-256 c05e856086783c0cf58c85744698979d77728cd029e05a4d755f58233b4e87c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f5b3680582cd19d540716e4f76c54785bb6076fc20559a4f2abbbf8fe416766
MD5 55de5a82f779594d59b6c7e44ccea07a
BLAKE2b-256 1d3e2235a5417b7775bb7bb5286c6398a0f4b68cd9d06893d6743744fa1fa5b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 faebfa38a5812f983e8f2f616232d9666eba4ed489a8d9de12fa17ce5cee62f2
MD5 3c7d4cdc4a346122d9683f509982d2e7
BLAKE2b-256 82690076d532999afae7eab45ea604cf0ca77e8f96b8add2a6f783cf3e882bf3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44098bfa890f5bb5e167a72bd1307d995ae106912a7b04a409982534f1a93f4e
MD5 9304e863ad708496993d7070ed3b80a1
BLAKE2b-256 85704e6f55e55dcf948871301000e096e63c589aec801369aa43e92146504d16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c5562bb08622e8b2c6e221ef7d1365b07c33088c41db2b3ac15d07bdf5736371
MD5 4340d15e8dfa062fa20e2b68fcd358cc
BLAKE2b-256 0d750a7452a119e10443f8bec41b2fb9b89c5949f6384f2c75fe95374e1434e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 70f3b7ff2b3dd8a83deeb0c937616ffada54c0ec8ba6e05a9f1632a58d61a3eb
MD5 be5d38b50f725f8f6eab7cc0a75e2e55
BLAKE2b-256 ad7c0bfde7aae42b7b2dd60be6fb0d5097258ef79351ff921075f3cdfa644b6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5fe2cdb12bf87e4cb78590c0804168f9aae94c830369618e336ccec69c297339
MD5 3316bbbbdf10f2484ce5b52152a2a924
BLAKE2b-256 327f7b634357f242356b3f5e1652ba322f0f9c5e9e865bc16a0cbe6419da0425

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 580a5f9557453f55ac020f6ca973392c1ccd108f5e2c29b1510f5a47b0e07086
MD5 74153f0d0cd61d89c55ef78d3150a310
BLAKE2b-256 2d990333c4bebd62928e5327da86e2f3566dd222357ec2c5040f31c08ff2c8a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7981a3df9bca6bfe927933b7faad4c349299c9bd15e7f21b264809a023afec8
MD5 9e8127148a4cf3c6a8d79a119b41c432
BLAKE2b-256 11966f83c6078ab492d9e62ac2659d357bdce027d718451ae776a425fda06ba2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ee6f5bf46f317a9641e4dbea6172380aa94a805e71e1bc55ef1077daafd40a16
MD5 6cb9f747fbd894faaa4947ffe0acb0c9
BLAKE2b-256 bd986c15a5d07d65d1a6391be84bf6bd690e9ac27964968bb6bac5bee6073540

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.36.2.dev8-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2580077515ce402c9be6415f0919705576632358e361ba438c0766f9a12391cf
MD5 d41a008b53ee99641f53f290b6b1683a
BLAKE2b-256 b6faaf040e10e26b64551e37a4b440d5157c21f0448f9aad67afb055833cfc2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for amesa_inference_dev-0.36.2.dev8-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.36.2.dev8 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