Skip to main content

Aglet core: protocols, runtime, event bus, plugin loader.

Project description

aglet

The pluggable Agent runtime: protocols, runtime, event bus, plugin loader.

aglet is the core of the Aglet project — a framework where every Agent capability is a swappable plugin distributed as its own PyPI package.

What's inside

  • The 9 first-class Element protocols (perception / memory / planner / tool / executor / safety / output / observability / extensibility) plus the ModelProvider plugin point.
  • An immutable AgentContext + ContextPatch event-sourcing model.
  • The default canonical Loop (Runtime.run / Runtime.resume) with built-in Hook system, Budget enforcement, three routing strategies, and four plugin runtimes (in-process, subprocess, HTTP, MCP).
  • A YAML config loader and a Registry that auto-discovers third-party Techniques via Python entry points (aglet.techniques, aglet.models, aglet.elements).

Install

aglet alone is enough to build an agent in Python; install built-in Techniques separately to actually run something useful.

pip install aglet                                          # core only
pip install aglet-cli aglet-builtin-planner-echo \
            aglet-builtin-perception-passthrough \
            aglet-builtin-output-streaming-text \
            aglet-builtin-memory-sliding-window \
            aglet-builtin-obs-console                      # smallest runnable agent

Then:

aglet init my-agent && cd my-agent
aglet run agent.yaml --input "hello"

Status

Alpha (0.1.0a1) — the protocols are still subject to backwards-incompatible change before 1.0. Interfaces are documented in the architecture doc.

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aglet-0.1.0a4.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aglet-0.1.0a4-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

Details for the file aglet-0.1.0a4.tar.gz.

File metadata

  • Download URL: aglet-0.1.0a4.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for aglet-0.1.0a4.tar.gz
Algorithm Hash digest
SHA256 47ffe37f57e1a4dc691f75aa2b99b384c5902f410b105ca4bcf8e3a848a32b37
MD5 36944db04dfa4ca5da5239d780a5b13e
BLAKE2b-256 3cbc85f6ff1d5133c0efdf6e83bcb60e3174391c7ba854a0b76a5557180f4a5a

See more details on using hashes here.

File details

Details for the file aglet-0.1.0a4-py3-none-any.whl.

File metadata

  • Download URL: aglet-0.1.0a4-py3-none-any.whl
  • Upload date:
  • Size: 50.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for aglet-0.1.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 122fe40fbdee31ed8afaa77b46ef7280e53add41ea59243dfbf8bb84d66f61a4
MD5 a4ab1c03f47d19c822635d34d8e72819
BLAKE2b-256 e7862abfdc499359127436872b258318f22f836a1e6e64cf7029de042ebb1e1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page