agmen (Python)
Agmen es un framework de código abierto para robótica, IA e IoT. Su núcleo (en C++) es el "sistema nervioso" del robot: mueve mensajes entre nodos de forma rápida, confiable y con marca de tiempo.
Desde la 0.9, este paquete trae el mismo núcleo de C++ ya compilado para
Windows, Linux x64, Linux ARM64 (Raspberry Pi) y macOS (Intel y Apple
Silicon), con Python 3.11 o más nuevo: pip no compila nada. En otras
computadoras se instala la versión de Python puro, que funciona igual pero más
lenta. agmen --version dice cuál usas.
pip install agmen # pip install agmen[numpy] para arreglos como NumPy
from dataclasses import dataclass
import agmen
from agmen import wire
@dataclass
class MotorCommand(wire.Message):
SCHEMA = "MotorCommand{f32 left;f32 right}" # el mismo esquema que en C++
left: float
right: float
pub = agmen.Publisher(MotorCommand, "/cmd") # un topic: sin IPs ni puertos
pub.publish(MotorCommand(0.5, 0.5))
sub = agmen.Subscriber(MotorCommand, "/cmd") # cuantos quieras
sample = sub.receive(timeout=0.05) # None si no llegó nada
Con topics, los nodos se encuentran solos con el agmen hub de la máquina
(agmen run lo arranca). También puedes usar una dirección fija
("127.0.0.1:7500"), sin hub.
Basta con el esquema: el layout en bytes (igual que un struct de C) sale solo.
También instala el comando agmen, que levanta todo tu robot con un solo
comando y abre un panel web para controlarlo:
agmen run robot.toml # todos los nodos + panel web (nodos, logs, gráficas, inspector, manejar)
agmen run robot.toml --red # el panel en tu red local (celular), con clave
agmen web # solo el panel: grafica cualquier mensaje que le llegue
agmen echo 127.0.0.1:7400 # muestra cualquier mensaje en la terminal
agmen topic list # qué topics hay, de qué tipo, quién manda y quién escucha
agmen topic echo /imu # los mensajes de un topic, sin quitarle el puerto a nadie
Tus mensajes también pueden vivir en un archivo .agmen, el mismo que usa
C++ para generar su código:
msgs = agmen.load("arca9.agmen")
pub = agmen.Publisher(msgs.Articulaciones, "/arca9/q")
pub.publish(msgs.Articulaciones(q=[90.0] * 12, modo=msgs.Modo.TROTAR))
Con agmen.load("arca9.agmen", numpy=True), los arreglos llegan como
numpy.ndarray de solo lectura, sin copiar.
agmen gen arca9.agmen --python . escribe el .py (para el autocompletado
de tu editor) y agmen gen arca9.agmen muestra cada tipo con su esquema.
El panel también acepta a Foxglove (solo lectura):
conéctate a ws://127.0.0.1:8080/ws.
⚠ Versión 0.x: la API todavía va a cambiar entre versiones menores.
Documentación, tutorial y código: https://github.com/flkochu/Agmen
Metadata
Release files for agmen 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agmen-0.9.0.tar.gz | 774.3 kB | With provenance | Details for agmen-0.9.0.tar.gz |
Built distributions (wheels)
Total release size: 4.1 MB
Release files / agmen-0.9.0.tar.gz
| Download URL | agmen-0.9.0.tar.gz |
|---|---|
| Size | 774.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc54c7cc97056f5339cc929667ddf0580435af198f15132263d37aff7d02104e
|
|
BLAKE2b-256 checksum How to use checksums |
4e850781d35ab42b2a1dc558eebcd99802f190ebf638d7c8a28306ef10e03ff1
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-py3-none-any.whl
| Download URL | agmen-0.9.0-py3-none-any.whl |
|---|---|
| Size | 116.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
532f1e6e0b5e31c169474cecdd91d2596ca373a9972affce05e165e4fd3544b3
|
|
BLAKE2b-256 checksum How to use checksums |
1c287604005af6aecce4c39667f6a69ec48c790a35d7bbaee851347650d7cb44
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp312-abi3-win_amd64.whl
| Download URL | agmen-0.9.0-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 472.2 kB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0294962fc9bf30781bfb7a0dde747306fd249dd9d30b30ecd672e3eeb4861c1e
|
|
BLAKE2b-256 checksum How to use checksums |
25f09a2b1431476ac2d3b35a4677f1caecf2461e8b8ab9ad4d493e7e9b2ca05f
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | agmen-0.9.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 332.2 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
47a08ff6788f1bd6732747a8304814beb8ff213948b89b119310dbde19900dee
|
|
BLAKE2b-256 checksum How to use checksums |
307598bf9175eaa46ef18bd4d2cfef6cc02865ceedfd0c94238d2df080d3c9f5
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | agmen-0.9.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 303.4 kB |
| Tags | CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
bca89607e24c1aee692e154c342203ff5df370b8613c8d7998ab12966a25e357
|
|
BLAKE2b-256 checksum How to use checksums |
9803d3c44ca92f4afcdb11da10fd4c3fa116a468d689aed15d87e1123a2219fa
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp312-abi3-macosx_11_0_x86_64.whl
| Download URL | agmen-0.9.0-cp312-abi3-macosx_11_0_x86_64.whl |
|---|---|
| Size | 262.7 kB |
| Tags | CPython 3.12 abi3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
58312a50d8ee1be81e7db10305c623c794646dec84c7bc9680d343946845fa2c
|
|
BLAKE2b-256 checksum How to use checksums |
bd8cff388d6e9b5f199f5d00f436f950f1786c753c37d8ebebf041823c5f9d03
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp312-abi3-macosx_11_0_arm64.whl
| Download URL | agmen-0.9.0-cp312-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 252.6 kB |
| Tags | CPython 3.12 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dca51a1d1e3b7d2564eff161898916a4e851801a12bfa1b2f2d4f38879048684
|
|
BLAKE2b-256 checksum How to use checksums |
ac2b7aa1c4d667abee08f03350430a254d46d2069a3882da8631aeb360cf01cc
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp311-cp311-win_amd64.whl
| Download URL | agmen-0.9.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 472.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9876cd1dad4dae6312681c51c31a2a560b5c8429a5e956b2682824a72bb1a92f
|
|
BLAKE2b-256 checksum How to use checksums |
14550ef3b4b5386994517087222d5d7190cfd34626c1f68ae4b7f3bcebe4c9c1
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | agmen-0.9.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 336.5 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
95c7195123cf17084eab78f505bd6ad4dcfa226fe003a2c3d230d048a554df6e
|
|
BLAKE2b-256 checksum How to use checksums |
0f291c21e88ec4c8c0111c7048903839099bd005db6e6cae6415b9e3cf41fb20
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | agmen-0.9.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 307.2 kB |
| Tags | CPython 3.11 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
d1500bff45c714b3a56d10b6a72fe086c93d155f991d9adc352b8610c926b4f2
|
|
BLAKE2b-256 checksum How to use checksums |
c9fb11a7ca41890e9ba92846a597ac723cc77d0bfcc6e142b55b578a98222534
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp311-cp311-macosx_11_0_x86_64.whl
| Download URL | agmen-0.9.0-cp311-cp311-macosx_11_0_x86_64.whl |
|---|---|
| Size | 264.4 kB |
| Tags | CPython 3.11 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
914a4f335b5b6ac5540c43d344c409d01fa32474698c9f79638608b23f9a3049
|
|
BLAKE2b-256 checksum How to use checksums |
631a518861cc415504e04253404692596ca52419148db3e1f128e19fb5cd0b72
|
| 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 4, 2026.
Transparency logRelease files / agmen-0.9.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | agmen-0.9.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 254.4 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a54a7e842d559493d0650c72e9cb4c6159b174b7eab2f775c3fcf7b11a2d942d
|
|
BLAKE2b-256 checksum How to use checksums |
f8d98f52a5f6ae3f090e723b1e1d94582dec720aeacc35c21c514d5fa2b9ab8c
|
| 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 4, 2026.
Transparency logSecurity for agmen 0.9.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.
Full provenance
All 12 files in this release have been uploaded with provenance metadata.
Attestation for agmen-0.9.0.tar.gz
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 4, 2026.
Transparency logA 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.