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

amesa_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

InferenceEngine is internal: the runtime server and the benchmark run agents with it, and users run them through those rather than directly.

Authorization

The engine is authorized by amesa_core.utils.license_util.authorize_inference, with the first of these credentials (InferenceEngine(license=..., license_file=...) in place of the environment):

  • AMESA_LICENSE_FILE: a license file, validated offline (a runtime server's license.lic)
  • AMESA_LICENSE: a license key, validated by the license server
  • AMESA_PLATFORM_TOKEN: a compute job's platform token, as long as the platform accepts it
  • a USB license key, on a drive mounted on the machine

Without one, or with one that is rejected or not valid, InferenceEngine() raises LicenseError; when the server deciding it (the license server, or the platform) doesn't answer, LicenseServerError, a LicenseError that trying again may get past.

Running an agent

from amesa_inference import InferenceEngine

engine = InferenceEngine()
await engine.load_orchestration("path/to/orchestration.json")

# The top agent, or the one named by agent=
await engine.package()

# Each execute() is the episode's next step. The action comes back as the sim gets it in
# training: coerced to its action space and clipped to its bounds
action = await engine.execute(observation, sim_action_mask=action_mask)

# Start a new episode (fresh teachers, controllers and perceptors, no previous action)
await engine.reset()

await engine.close()

Remote agents, perceptors and controllers are handled as in training. Pass config (a NetworkMgr target, localhost:1337 by default) to reach them elsewhere.

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
  • amesa-core
  • amesa-api
  • onnxruntime
  • numpy

License

Proprietary and confidential - Copyright (C) Amesa, Inc

Metadata

Release files for amesa-inference-test 0.42.5.dev124

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-test 0.42.5.dev124
File Actions
amesa_inference_test-0.42.5.dev124-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_test-0.42.5.dev124-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
amesa_inference_test-0.42.5.dev124-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for amesa_inference_test-0.42.5.dev124-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_11_0_arm64.whl
amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_10_9_x86_64.whl
amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details for amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_10_9_universal2.whl
amesa_inference_test-0.42.5.dev124-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_test-0.42.5.dev124-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
amesa_inference_test-0.42.5.dev124-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for amesa_inference_test-0.42.5.dev124-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_11_0_arm64.whl
amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_10_9_x86_64.whl
amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details for amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_10_9_universal2.whl

Total release size: 18.9 MB

Release files / amesa_inference_test-0.42.5.dev124-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL amesa_inference_test-0.42.5.dev124-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.7 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ebc7144cd8be9fac1fc266224e8d0aaa205c33e65b524748f06f30251801b4f8
BLAKE2b-256 checksum
How to use checksums
538004ee4f9af6134236534ba12036db135808cb430c23c6eb770ad58f578e44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL amesa_inference_test-0.42.5.dev124-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.7 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
df740bc4d0659a223d4652e4a3c9a120706dc5a8633afcca8a8a05dc33571e4e
BLAKE2b-256 checksum
How to use checksums
b08a8b31f5b296e889d68477428cef479a789d749750b1a433d1487ea3953faf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_11_0_arm64.whl

Download URL amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_11_0_arm64.whl
Size 562.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2a2f52a6c05bd1e5b3b3cb572b9f259e3a1400be0ddd8d6ae2ad3477d85098bb
BLAKE2b-256 checksum
How to use checksums
7663b1b43680932929b277b2cf8c5c521be6d6b7a179aa70b21c1a89729365f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_10_9_x86_64.whl

Download URL amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_10_9_x86_64.whl
Size 571.1 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
3c56e2e5c5f66b0998c6f2a91a8ad775e8b24b925589e5e759fc95cbf1c99c2e
BLAKE2b-256 checksum
How to use checksums
2e787f31f6b54112034349b5e818384b415fc93c916f70b63954e244de0ff624
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_10_9_universal2.whl

Download URL amesa_inference_test-0.42.5.dev124-cp311-cp311-macosx_10_9_universal2.whl
Size 1.1 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
63d82197dfb69f316bdb1ee7d71e721d3541ec5a1576786b0ea45615afaa731a
BLAKE2b-256 checksum
How to use checksums
7fd47a1eb2e03f873b15c55b699d8b60e88d8a9b12bad2f15501af411ad9be22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL amesa_inference_test-0.42.5.dev124-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
3081f703080f62f6e3cdb4bd7257010875cdd22060a6d6c123c815b0bd4c6832
BLAKE2b-256 checksum
How to use checksums
df6a5354060039f29de428294b0f642f778e91f48a795773b5125cedbcbfa7a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL amesa_inference_test-0.42.5.dev124-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.5 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
19e435cf64db6422c00d847dd14d1f6c8145d9f3a08a9c7332c30a5204520dec
BLAKE2b-256 checksum
How to use checksums
efc8cf5226714196ce697835e0933cedda540ec4b5cfab3b8cb80b478b051c13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_11_0_arm64.whl

Download URL amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_11_0_arm64.whl
Size 569.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f9e7bdf2b5de39f58c8918523ab031cc7fa7644f1da99e924cc8cf1dababf017
BLAKE2b-256 checksum
How to use checksums
4bdab55e1890ade6cff2895afa61a5f9710a91c51dd587772e6aeed91d2e32d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_10_9_x86_64.whl

Download URL amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_10_9_x86_64.whl
Size 577.7 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
33ebc2859db146d7e27a0477f475d568f8256113ca7da2ff89c6fc2e283328be
BLAKE2b-256 checksum
How to use checksums
f8ed245385aa168aa73ad79b1b44e01c7e72bb602c94ea02b3e2a993de199074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_10_9_universal2.whl

Download URL amesa_inference_test-0.42.5.dev124-cp310-cp310-macosx_10_9_universal2.whl
Size 1.1 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
3429707597a18ec6651c997c2b724a27156e621254817e6d05ffdb88c2cde443
BLAKE2b-256 checksum
How to use checksums
ed7ce64f8475f82dfc64d0d9f4e3038ff46a0434a8abe3614cf2ba486cddfd9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for amesa-inference-test 0.42.5.dev124

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.

Full provenance

All 10 files in this release have been uploaded with provenance metadata.

Select from 10 files

Attestation for amesa_inference_test-0.42.5.dev124-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release
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