Skip to main content

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

Metadata

Release files for amesa-inference-legacy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for amesa-inference-legacy 1.0.0
File Actions
amesa_inference_legacy-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for amesa_inference_legacy-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
amesa_inference_legacy-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for amesa_inference_legacy-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
amesa_inference_legacy-1.0.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for amesa_inference_legacy-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
amesa_inference_legacy-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for amesa_inference_legacy-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl
amesa_inference_legacy-1.0.0-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details for amesa_inference_legacy-1.0.0-cp311-cp311-macosx_10_9_universal2.whl
amesa_inference_legacy-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for amesa_inference_legacy-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
amesa_inference_legacy-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for amesa_inference_legacy-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
amesa_inference_legacy-1.0.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for amesa_inference_legacy-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
amesa_inference_legacy-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for amesa_inference_legacy-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl
amesa_inference_legacy-1.0.0-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details for amesa_inference_legacy-1.0.0-cp310-cp310-macosx_10_9_universal2.whl

Total release size: 14.3 MB

Release files / amesa_inference_legacy-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL amesa_inference_legacy-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.8 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
00ae35ff74cf3a43193125bd4704cd25b2eb108fb7009c4c6bf3415902c38e25
BLAKE2b-256 checksum
How to use checksums
4d55aa143639641a57e7b414bfd5db7fa51ec6b6a98b39ad1f51f33bf2a5f43a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL amesa_inference_legacy-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.8 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
e3aac39048a56fba33a527a1aba3763417c9a8ffaece1e9bd18f1611130730c9
BLAKE2b-256 checksum
How to use checksums
2641f18581b5da1cd35aeed085d0791a9826c3f82fb7a60641ea426db5a25339
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL amesa_inference_legacy-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Size 433.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e5c94dfdb278c66a00a2267e4885aa41121c390269af06a7d4bb3c6347b41b0f
BLAKE2b-256 checksum
How to use checksums
e4aeff24265d30e14ebda664a1a0654c54658f6057aa873c6a36f2abca32e6c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl

Download URL amesa_inference_legacy-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl
Size 437.0 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7c800a6050d8984965121cb774d9694b3289b86a047578041fba07ab7b03de8d
BLAKE2b-256 checksum
How to use checksums
5ff8b94a12031556f6e4ef6aa19989c74383f5f9367c8d06098d1a79018a7683
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp311-cp311-macosx_10_9_universal2.whl

Download URL amesa_inference_legacy-1.0.0-cp311-cp311-macosx_10_9_universal2.whl
Size 869.1 kB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
5fd1905356f99e078c8e6451424ebdec1866785f122303fdb5076be5befcca01
BLAKE2b-256 checksum
How to use checksums
18e1ea89000fdb5638183e30c4934a79a6f5aafe9a0ac14b071e38166d35cebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL amesa_inference_legacy-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a9c72445fa206ed39c0c8a89690e878580e4c0666301fd6d10135407efd8ff09
BLAKE2b-256 checksum
How to use checksums
69196fe038b271e75bea9e63e479130c570777cd04847cfde576d611e116f3dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL amesa_inference_legacy-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.6 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
407a699dee368555dbe00a3a5869da470cdf9ff8892094e6df075ea89e6b1040
BLAKE2b-256 checksum
How to use checksums
57e30bd53ec0444e0d0fcad6c26a56fbed52c5e705775ed79415613fa73c2e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL amesa_inference_legacy-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Size 438.5 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7a9c70d67d23c4530bdf3ffebbc4c00ed936a4de842394f4652c37437e737e0a
BLAKE2b-256 checksum
How to use checksums
4b33616e99a64cc891a39bd513a89532409c38a1a6dc854d72bb00d0ae10b3a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL amesa_inference_legacy-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 442.2 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
61dd195a2aa3b5a6918573ad489a18c482432ffd9fa7c3286153bd6ec252589f
BLAKE2b-256 checksum
How to use checksums
37750fa621ab9e4ed2d1d022835b097b47833b855a36f8d3f15a85b7c803a62b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / amesa_inference_legacy-1.0.0-cp310-cp310-macosx_10_9_universal2.whl

Download URL amesa_inference_legacy-1.0.0-cp310-cp310-macosx_10_9_universal2.whl
Size 879.1 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
c5d08e95ae165c0e816e53f91ad9da889d0d173d42b0ecb50079cfc827da678b
BLAKE2b-256 checksum
How to use checksums
43fc56a23de0a9e5d2dbedc6d1b4a861d6f6b9f182d3d4138b0060b67703ffcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Security for amesa-inference-legacy 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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