> For the complete documentation index, see [llms.txt](https://docs.algenta.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algenta.ai/systems-and-infrastructure-kernels.md).

# Systems & infrastructure kernels

- [Data structures and algorithms kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/data-structures-and-algorithms-kernels.md): Binary heaps, a priority queue and circular buffer, a byte-level trie, six sorting algorithms, and sorted-list set operations -- pure-Mojo replacements for heapq, queue, pygtrie, sort, and set.
- [Bit-level and hashing kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/bit-level-and-hashing-kernels.md): Bit-twiddling primitives, non-cryptographic checksums and check digits, a counting Bloom filter, counter-based Philox4x64-10 random draws, and perceptual image hashing for near-duplicate detection.
- [Caching and persistence kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/caching-and-persistence-kernels.md): A TTL cache with hit-rate tracking, an in-memory table/query engine, a key-value store with snapshot/restore, and closed-form memory-sizing arithmetic for pools, allocators, and transformer training.
- [Encoding and cryptography kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/encoding-and-cryptography-kernels.md): Categorical data encoding, closed-form sizing arithmetic for block-cipher modes, classical-cryptanalysis statistics, and closed-form blockchain/consensus metrics — none of which perform an actual cryp
- [Networking and social graph kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/networking-and-social-graph-kernels.md): HTTP/URL protocol primitives, undirected and directed graph-metric arithmetic over adjacency lists, and the scalar cost formulas behind multi-GPU collective communication.
- [Reliability and observability kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/reliability-and-observability-kernels.md): Distributed-training checkpoint/recovery math, LLM-serving health metrics, a structured JSON logger, classical MTBF/Weibull reliability engineering, and perturbation-based sensitivity analysis -- five
- [Scheduling and rate-limiting kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/scheduling-and-rate-limiting-kernels.md): OS-course CPU scheduling algorithms and their metrics, stateless queue/backpressure/rate-limit scoring formulas, three independent token-bucket-family rate limiters, LLM-inference latency micro-optimi
- [Governance and workflow kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/governance-and-workflow-kernels.md): Petri net formalism primitives, real differential-privacy mechanisms, model/audit governance scoring, ESG carbon-accounting arithmetic, and the scalar primitives behind a DAG workflow orchestrator --
- [Utility and control primitive kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/utility-and-control-primitive-kernels.md): Package-dependency graph resolution, portfolio/Kelly-criterion allocation, statistical anomaly detection, backtracking constraint satisfaction, PID/control-theory step-response math, and numerical (no
- [System I/O and serialization kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/system-io-and-serialization-kernels.md): Environment-variable access, pure-string path and URL parsing, weighted/stratified random sampling, MessagePack binary serialization, and the histogram/dedup pair a richer, mostly-undispatchable conta
- [Streaming, structured output, and time kernels](https://docs.algenta.ai/systems-and-infrastructure-kernels/streaming-structured-output-and-time-kernels.md): Nine unrelated infrastructure primitives grouped only by being what is left over -- windowed stream aggregates, LLM structured-output scoring, time-zone/date/unit conversion, glob and template string


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.algenta.ai/systems-and-infrastructure-kernels.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
