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.0a1.tar.gz (34.2 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.0a1-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aglet-0.1.0a1.tar.gz
  • Upload date:
  • Size: 34.2 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.0a1.tar.gz
Algorithm Hash digest
SHA256 bedf61e5306d0204397ac0c2865eb38de516b532d27dd0d1e46769d212520464
MD5 2486160256dc5351f66f82a768feb716
BLAKE2b-256 b45e4c107c6f9320095b64ff43719847861b59f4e921ca5caf5814730560d0af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aglet-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 49.7 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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 a23e30e934b5dee3c121ee633d24c5a8c92b569241ebadbdcc51d33c864a361e
MD5 f58647de283192c940e3c76c2d5430fc
BLAKE2b-256 078ab5d902d40993c76ad2cea7d6592568c8832041b1764d51c15ace92739ed8

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