Small packages for Agentica, one folder each in agentica-lang/packages. Each package has its own agentica.toml, versions and docs.

Add one with its prefixed tag, PACKAGE-X.Y.Z, and its folder as --subdir, in a project with an agentica.toml:

agentica add prop https://github.com/agentica-lang/packages --tag prop-0.3.0 --subdir prop

That writes this line of agentica.toml, and the entry of agentica.lock:

[dependencies]
prop = { git = "https://github.com/agentica-lang/packages", tag = "prop-0.3.0", subdir = "prop" }

Packages

  • bond-channels Action Cable channels for Bond apps. One WebSocket per tab at /cable, channels and a pub/sub hub.
  • dock A TCP server. An accept loop, one task per client that runs your handler, and the clean-up when a client ends or crashes.
  • native-gen The C header of an extern module block. Write plain C functions with C types; the wrappers, the argument checks and the tables of the module are generated from the .agc.
  • pool A generic pool of resources. A fixed number of long-lived resources, lent to one caller at a time, with a line, a lease, a health tick and a clean close.
  • prop Property-based testing. State a law, check it on many generated inputs, and get the smallest input that breaks it.
  • websocket-client A WebSocket client (RFC 6455) over std TCP and TLS. Connect to ws:// and wss://, send and receive text and binary messages, and close cleanly.
  • yaml A YAML 1.2 parser. Read configuration files and fixtures into JSON values, with the core schema only, limits against hostile texts, and errors with a line and a column.