AI products and toolsReviewed · xyproto

Algernon

Algernon is a self-contained, general-purpose web server written in Go for serving websites and building web applications from one executable, using Markdown, HTML, templates, JSX or Lua scripts, with database access, users and permissions, and optional Ollama-based AI features. AI features need a separately running Ollama server, and the experimental .prompt file feature needs model responses within 10 seconds.

Researched 13 Nov 2026

In short.

Algernon is a self-contained, general-purpose web server written in Go for serving websites and building web applications using Markdown, HTML, templates, JSX or Lua scripts, with database access, users and permissions, and optional Ollama integration. Its AI functions depend on a separate Ollama server and suitable computing resources. It provides Lua APIs for generation, image description and text-distance comparisons, plus an experimental file format that generates web content. That file format has a documented 10-second response limit and caches results while Algernon remains running; performance, output quality and production behavior are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to the complete supplied README.md from [https://github.com/xyproto/algernon/blob/main/README.md], fixed at commit afe22980e9f982ed33f996e26b5c59cf8eeba84f, and the accompanying LICENSE notice. Linked pages, implementation code, tutorials, samples, images, executables, container contents and model files are excluded. Nothing was executed. Installation, generated outputs, latency, hardware capacity, security and production behavior remain unverified.

The overview

Identity

Algernon is a Go-based web and application server by Alexander F. Rødseth. The README identifies version 1.17.13 and describes a self-contained executable with an embedded Lua interpreter, page rendering, database integrations and Ollama support.

The original documentation address is [https://github.com/xyproto/algernon/blob/main/README.md]. Algernon provides the web application layer; the documented AI functions connect to Ollama rather than running models inside the Algernon executable.

Assessment

Algernon is a plausible fit for developers who want Lua request handlers, rendered pages, database access and model calls in the same web stack. Its main attraction is the number of integrated capabilities available with relatively little initial configuration.

The experimental prompt-file route offers a short path from a written prompt to generated content, but the documented 10-second response requirement constrains model and hardware choices. The README recommends its Lua AI functions for finer control, without establishing their timeout behavior.

Users

Beginners can start with Markdown pages or a small index.lua handler before adding model calls. Creating an AI application still requires understanding how to run Ollama, choose a model and handle generated output.

Experienced developers may find the Lua request APIs, configurable listeners, database connections and plugin interface useful for building custom applications. Developers with an established web stack should weigh those integrated features against the work of adopting Algernon's Lua and directory-based application structure.

Capabilities

The documented web features include HTTP/2, optional HTTP/3, Lua and Teal handlers, Markdown and template rendering, JSX/TSX conversion, React 19 support, caching, rate limiting, users and permissions. Storage options include built-in Bolt and integrations with several external databases.

The AI API includes OllamaClient, model downloading and inspection, prompt generation through ask and creative, and image description through describeImage. It also documents comparisons between prompts and between embeddings, which are numeric representations of text or other data. Available distance methods include cosine, Euclidean, Manhattan, Chebyshev and Hamming.

Experimental .prompt files can generate content such as HTML pages. These features are documented capabilities; their correctness, generation quality and performance are not independently established.

Using it

Requirements

The documented source-installation route requires Go 1.26 or later. The README also points to prebuilt releases and lists Linux, macOS and 64-bit Windows support. It does not establish the availability or compatibility of every release artifact.

AI functions require Ollama running locally, or an Ollama address configured through OLLAMA_HOST. Missing models can download on first use. The default model is documented as qwen2.5-coder:1.5b, while a larger mixtral example illustrates that computing requirements vary substantially by model.

Validated minimum RAM, GPU memory and processor requirements are unknown. The prompt-file feature specifically requires an Ollama response within 10 seconds; this requirement is not established as a limit for every Lua AI function.

Mechanism

Algernon serves a directory or uses a Lua server script to register request handlers. Special index filenames determine how a directory is rendered. Their documented priority matters: an index.lua or index.html can take precedence over an index.prompt in the same directory.

A .prompt file specifies the response content type on its first line, the Ollama model on its second, a blank third line and the prompt on subsequent lines. Algernon requests generated content from Ollama and caches the result for as long as Algernon is running. ClearCache() also clears the AI cache.

The Lua API distinguishes ask, described as producing reproducible output, from creative, described as producing varying output. The README does not document enough generation settings or model pinning to establish reproducibility across model changes or different installations.

Setup

The README's quick Go installation command is go install github.com/xyproto/algernon@latest. It also links to prebuilt releases at [https://github.com/xyproto/algernon/releases/latest]. These moving references do not necessarily retrieve the documented snapshot.

For a basic development page, the documented approach is to create index.lua containing print("Hello, World!") and start algernon -e. This development mode enables debugging, uses the built-in Bolt database and serves regular HTTP.

For AI features, start Ollama separately and configure OLLAMA_HOST when needed. Then use the documented Lua AI functions or create an index.prompt file. Installation success, connection behavior and first-use model downloads are not assessed.

Example

The README demonstrates creating a client with oc = OllamaClient("mixtral") and requesting code with oc:ask("Write a quicksort function in OCaml"). This illustrates calling a selected model from Lua; the displayed answer is a documentation example, not evidence that generated code is correct.

Its web-generation example uses index.prompt with text/html on the first line, gemma on the second, a blank line and a request for a complete HTML document containing inline CSS animations and JavaScript. This illustrates generated page content, subject to the documented response limit and cache lifetime.

Assessment & evidence

Limitations

The prompt-file format is explicitly experimental and requires a model response within 10 seconds. Cached output lasts while Algernon is running, so that cache alone does not establish consistent output after a restart.

The self-contained executable description does not cover the entire AI deployment: Ollama and model files remain separate requirements. Exact hardware needs, concurrent-generation behavior, error handling and security of generated HTML are not assessed.

Other documented limits include auto-refresh support restricted to Linux and macOS, possible operating-system file-watch limits and no package.loadlib support in the embedded Lua implementation. No execution evidence establishes production reliability or performance.

Fit rationale

The practical benefit follows from combining page rendering, application handlers, storage APIs and model calls. A developer who wants those components together has a clearer reason to adopt Algernon than someone who needs only a model endpoint.

Model choice remains a separate decision. A broad web feature set does not establish that a particular model will produce useful answers or meet latency targets. Likewise, the README's prompt-distance examples illustrate an API; they are not model-quality benchmarks or validation of a retrieval system.

Alternatives

Within Algernon, the documented alternative to experimental .prompt files is its Ollama-related Lua API, which the README recommends for finer control. For simple document preview, algernon -m README.md serves a Markdown file once without requiring an AI application.

For an existing application, keeping its current web stack and adding an Ollama client is a possible architectural alternative, inferred from the separation between Algernon and the model server. The evidence provides no named competitor comparison or measured advantage over that approach.

Evidence

The documentation snapshot is README.md at commit afe22980e9f982ed33f996e26b5c59cf8eeba84f, available at [https://raw.githubusercontent.com/xyproto/algernon/afe22980e9f982ed33f996e26b5c59cf8eeba84f/README.md]. Its accompanying license is at [https://raw.githubusercontent.com/xyproto/algernon/afe22980e9f982ed33f996e26b5c59cf8eeba84f/LICENSE].

These documents support descriptions of intended capabilities, commands and license conditions. Implementation files, the linked tutorial, samples, release binaries, container images and model documentation are outside this evidence. Nothing was executed; example outputs and badges do not establish successful installation, measured performance or runtime correctness.

Access & freshness

Costs

The README states no prices; hosting, hardware and model-running costs are not documented.

An AI deployment needs storage for model files and computing resources for Ollama, in addition to the web server. Capacity and operating expense depend on the chosen model, hardware and deployment arrangement. The software's redistribution permissions do not establish a zero-cost deployment.

Rights

The accompanying BSD-3-Clause license permits source and binary redistribution, with or without modification. Source distributions must retain the copyright notice, conditions and disclaimer; binary distributions must reproduce them in documentation or accompanying materials. Using the copyright holder's or contributors' names to endorse derived products requires prior written permission.

The license disclaims warranties and liability. The README also credits CC0 drawings used in the logo, but no image files are included here. Licenses for Ollama models, external dependencies and third-party assets are not established by this license notice.

Freshness

The snapshot was captured on 13 November 2026 at 23:02 UTC, and its README identifies version 1.17.13. The capture timestamp is not a release date.

The current release, package availability and compatibility with later Ollama or model versions are unknown. Commands using @latest or @main and links to latest releases can resolve to content different from this fixed commit.

Next steps

Start by deciding whether Algernon's Lua web stack suits the application. Its documented local development example provides a small first step before introducing Ollama and model downloads.

For generated pages, measure whether the chosen model meets the 10-second requirement, including first-use behavior, and check what happens when generation fails or the server restarts. If finer control is needed, inspect the Lua AI API's timeout and error behavior before depending on it.

Before deployment, verify generated-output quality, review how generated HTML will be served and confirm the chosen model's license and resource requirements. These outcomes are not established by the README.

Evidence for this report

LICENSEnotice · checked 2026-11-13
README.mdselected · checked 2026-11-13