Skip to main content

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.

Este paquete es la implementación de referencia en Python del formato de mensajes. Con él, un nodo de Python habla con nodos de C++ sin dependencias extra.

pip install agmen
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, "127.0.0.1:7500", topic="/cmd")
pub.publish(MotorCommand(0.5, 0.5))

sub = agmen.Subscriber(MotorCommand, "127.0.0.1:7500")
sample = sub.receive(timeout=0.05)     # None si no llegó nada

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, manejar)
agmen web                # solo el panel: grafica cualquier mensaje que le llegue
agmen echo 127.0.0.1:7400   # muestra cualquier mensaje en la terminal

⚠ 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.4.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 agmen 0.4.0
File Size Uploaded Provenance Actions
agmen-0.4.0.tar.gz 43.5 kB With provenance Details for agmen-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agmen 0.4.0
File Interpreter ABI Platform Actions
agmen-0.4.0-py3-none-any.whl Python 3 none any Details for agmen-0.4.0-py3-none-any.whl

Total release size: 90.2 kB

Release files / agmen-0.4.0.tar.gz

Download URL agmen-0.4.0.tar.gz
Size 43.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b434ebbb524085b9041aa37c34cada9d9df185c685e70bb78c63c5adbd88a961
BLAKE2b-256 checksum
How to use checksums
7216ee884851088423d9ea47e91150866d3f7e3eb5d84ee257e9d82b2610bad8
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 / agmen-0.4.0-py3-none-any.whl

Download URL agmen-0.4.0-py3-none-any.whl
Size 46.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43a8dec8222fdc8fde4f519c20c7159a086a9f32ed1b93d1cc1aeabcba2caa74
BLAKE2b-256 checksum
How to use checksums
912a4d659f23d9ac408082d8abb457ee14365725a7ed52fb594348181951e8f9
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 agmen 0.4.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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agmen-0.4.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 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.

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