Skip to main content

flux-opcodes

Bytecode instruction set for agent runtimes. Language-agnostic opcode spec: define, validate, encode, decode. The instruction set that agents speak natively.

Usage

from flux_opcodes import Opcode, Instruction, InstructionSet

isa = InstructionSet().define_defaults()
program = [
    Instruction(Opcode.LOAD, [0, 100]),
    Instruction(Opcode.ADD, [0, 1]),
    Instruction(Opcode.EMIT, [0]),
    Instruction(Opcode.HALT),
]

# Encode to bytes
data = isa.encode_program(program)

# Decode back
decoded = isa.decode_program(data)

Includes agent-specific opcodes: EMIT (tile), RECEIVE (message), SLEEP (yield).

Zero deps. pip install flux-opcodes

Metadata

Release files for flux-opcodes 0.1.0

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

Source distribution (sdist)

Source distribution for flux-opcodes 0.1.0
File Size Uploaded Provenance Actions
flux_opcodes-0.1.0.tar.gz 3.6 kB Without provenance Details for flux_opcodes-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flux-opcodes 0.1.0
File Interpreter ABI Platform Actions
flux_opcodes-0.1.0-py3-none-any.whl Python 3 none any Details for flux_opcodes-0.1.0-py3-none-any.whl

Total release size: 7.2 kB

Release files / flux_opcodes-0.1.0.tar.gz

Download URL flux_opcodes-0.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ceaf132cbb9784fa16f8cb6aada8083dfc4899836c832e7703ab01386e5d8d9d
BLAKE2b-256 checksum
How to use checksums
b5262e8db50bb4151f01911810e0876ff8fa942fc171c9754eacbe6258078d8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / flux_opcodes-0.1.0-py3-none-any.whl

Download URL flux_opcodes-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88cdef4eb2f468758c1a41044f433e8aeed55b4d3b6630fc2665d065132bf92d
BLAKE2b-256 checksum
How to use checksums
8b5975803a036b3f7f956aedd968fdc57b962621c1b2470cdc33ab9c209d0042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for flux-opcodes 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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