Absurd Agent Demo

About

This is a demo application showcasing Absurd, a PostgreSQL-based durable execution system created by Armin Ronacher (creator of Flask).

The app demonstrates how Absurd can be used to build reliable task queues with:

  • Durable task execution with automatic checkpointing
  • Webhook callbacks on task completion
  • Tag-based routing for task categorization
  • Simple REST API for task management

Tech Stack

  • Backend: FastAPI + Absurd + PostgreSQL
  • Frontend: HTMX + Tailwind CSS
  • AI: Pydantic AI

How It Works

  1. Submit a task with an optional tag
  2. Task is queued in PostgreSQL via Absurd
  3. Worker picks up and processes the task
  4. If a webhook is registered for that tag, it gets called with the result

KIOSK Mode: Oblique Strategies

This instance is running in KIOSK mode, which means it returns Oblique Strategies instead of making API calls to a language model. Oblique Strategies is a deck of cards created by Brian Eno and Peter Schmidt in 1975, designed to help creative people break through blocks by suggesting lateral thinking approaches.

When you submit a prompt, the system will:

  • Wait approximately 3 seconds (with slight randomization)
  • Return a random Oblique Strategy from the collection
  • Store the result in the database with full durability guarantees

This mode demonstrates Absurd's capabilities while keeping the deployment secure and avoiding external API dependencies.