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, "/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, 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
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

⚠ 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.5.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.5.0
File Size Uploaded Provenance Actions
agmen-0.5.0.tar.gz 57.4 kB With provenance Details for agmen-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 119.3 kB

Release files / agmen-0.5.0.tar.gz

Download URL agmen-0.5.0.tar.gz
Size 57.4 kB
Tags Source
SHA-256 checksum
How to use checksums
02034cbc257bad12a8e2edaca5114a9096b872be3191d7876b5cb567b6a7e260
BLAKE2b-256 checksum
How to use checksums
a13d58fc97206484982523dbfcd7f47d7e60ac156ee6f79134ada80b984af621
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.5.0-py3-none-any.whl

Download URL agmen-0.5.0-py3-none-any.whl
Size 61.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b698aae6ba2df3d12751cd653079af3cc8d9211e6a1f0b7b224f98fdd820729f
BLAKE2b-256 checksum
How to use checksums
cea34aed925e019da46249680291ce1edfea4b8a1de91f2912e19deda8b1fcb0
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.5.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.5.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