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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-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.dev6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90b39d48e2aeaed176306c16fcc4143950ee229d0182cc46e129b52967eca7a2
MD5 b98bd255b92248f9c885dd735f1be255
BLAKE2b-256 0efcf087616bd73a0253025d29ec95df73dfc228dd7ceddbe7531462ec04b8c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b590a82216435d61a4db9e4fe003dcbf0685fe3da7dc8daa7ce99765d07771ac
MD5 86bdb41c372240f1706a16e2516a6e7d
BLAKE2b-256 c49c468de03f4a584ff3ea2216ea7b957590f7f0671e342944ef86e15410aff1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0779b2ee79d892d8862ac7a936aeeedc2bbe2638939e6a30a61d80ed85aa89a8
MD5 f295d9ef47081b82157140be8a81a0f6
BLAKE2b-256 bf13689f0ea176d2060b9417e83d0f8f63b3df4f342d1a5dc3c4974eb4869eaf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 264fb2b08beb48589683b884a6a9c759f903b4ecf786dd5eb4ea1b1399af2d48
MD5 74adfcaca7177573858475a51025446a
BLAKE2b-256 f8db40e16470f12e16c5ce9891dd969f0eb00437c66afaf71f49fe1cff7e3ddf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b227982758a82a327b0cb6f5d3af2eecf0bca878ea871a0a290e703ce1d2caa2
MD5 57ca4dd8c667f28ccf8f9b7d0f0739f7
BLAKE2b-256 46c6c9e260c1e8cd1dc29d238f68736d80068ea5634e66fc54691a9d6dfcd00c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c70a9de7a83de8a403fa15453a51c5fef2ff3be228268cc077839b79f4ae2911
MD5 5d0b36cb87fbfddc3e75936305b9caee
BLAKE2b-256 97cf00d3e90f80b5f4a351c0af94ff5f2da8d3ed7821ff23fc6e82772da2b95c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ecd18a766c7289e2ad12b35a572fa738a9274040aca90ac99414afdb14c4b0d3
MD5 e4678c3f3fa951149942b3b1c6849b9a
BLAKE2b-256 feac136915df797e040061c61a771c88bc2ff10acef3901fcaf285b6d41ccf96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 70172653d197a195bb2f00b2fa66709742b29102a088b76a224ecac232e96253
MD5 31f7b587caf226c2d4d114af4c90960a
BLAKE2b-256 787b34ef364e09847a09026f07d01287243b5eea7fa41ae6e208973bfb34f34a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6e489d10279769146182dd9be1155da1ae2aa3b070127ca1e3d97d86f17b907c
MD5 3d18c9f2d6ec9f085c72f61199f990f3
BLAKE2b-256 32accce5cf154d019f7c8c31d906e7adb204505900f8d6a70e2dde825e3b5963

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c13c1de4582d4395e62474e35513fc7be0ab7bf8f5523aececa0539bbd8e2492
MD5 27675dda8005062997e87945c2af83e6
BLAKE2b-256 270bc34a81477bb2c02d1a8e0bfc35403a6aab0234930a426fe4744417b7ae5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 21b799be4869451df4e45ed5baa4bea11a71f17b1ebde44ce9d34051e8f0fb9f
MD5 516af07c4c00d84510a29f5a659fbc28
BLAKE2b-256 a3f47f7c4628872ac64f4cf812b54aab00703a5d2444d9df288bdef2f47a6559

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 31ccc409150291d64b70c75bc5a11c51e4738d91ca96d053df28add7a59c050e
MD5 703d17cc39444fe4188342b634c688ef
BLAKE2b-256 7135a76ca8ea4c61a4747d6a5d6a6d0f89c3c9f5e92b631874c97ae814f61925

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c5627b5c65e5d2977ce1eb9b4e81d497349d003d4c0d827fce7c16d4563e6cf2
MD5 0090f3dd051c51ba63e714468e990257
BLAKE2b-256 4f832098c561c6b803be46c5ca6462980140e4564a94885e5c23c10e87503af7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fba472b72642e45822619c1652443387132a22729e3964f2adadf1c64f56cad8
MD5 e2b9807cff66936553ad59a8f331af86
BLAKE2b-256 d34d5ed48b39d078feb41a13eaf1dd20b6e9bb584fd148dc5489d288274390fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for amesa_inference_dev-0.35.1.dev6-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 962ce43cfc5ed4a7112a116cbf12bba3fb31af414d5d46adc7a4f2140facfd07
MD5 b302a7630f87a604ab4ac97ea8ba9b22
BLAKE2b-256 47c119ff47fca64c06fed2c6a392cb547109566aeb16822f7ec269e6bd8f002e

See more details on using hashes here.

Provenance

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