Category
video
Date
23 Oct 24
Author
John Allwright
Dapr
Oct 23, 2024

Dapr Day: Floki: Building Agentic Workflows with Dapr

At Dapr Day 2024, we got a fascinating glimpse into the future of workflow automation. Let's dive into how Floki combines Dapr's workflow capabilities with Large Language Models to create intelligent, autonomous systems.
John Allwright

Extending Dapr Workflows with LLMs: A Journey into AI-Enhanced Automation with Floki

At Dapr Day 2024, we got a fascinating glimpse into the future of workflow automation. Let's dive into how Floki combines Dapr's workflow capabilities with Large Language Models to create intelligent, autonomous systems.

From Simple Workflows to AI Integration [22:55]

"Just the fact that we are adding LLM-based components is huge," our presenter explains, demonstrating with a playful Lord of the Rings character generator. While it might seem simple to seasoned developers, this integration opens up exciting possibilities for AI-enhanced workflows.

Enter Floki: Simplifying LLM Integration [23:27]

The real magic happens in the developer experience. Instead of writing boilerplate OpenAI calls, Floki transforms complex LLM interactions into simple task definitions:

python

Copy

@task(description="Pick a character from Lord of the Rings")def pick_character():    

# Magic happens here

"We went from writing a lot of different things to be able to call OpenAI... to something as simple as a task," our presenter demonstrates.

Smart Tasks with Context [24:41]

Floki's approach is clever:

  • Task descriptions become LLM prompts
  • Function signatures automatically become context
  • Deterministic workflows with non-deterministic outputs
  • Built-in logging and monitoring

The Agent Architecture [27:44]

Floki introduces a sophisticated agent system:

  • Defined roles (like "secret holder")
  • Rich context through personas and backstories
  • Tool integration
  • Autonomous decision-making capabilities

Orchestrating Intelligence [29:25]

The orchestrator pattern gets an AI upgrade:

  • LLMs choose appropriate agents for tasks
  • Agents maintain their own tools and reasoning patterns
  • Structured output schemas ensure clean hand-offs
  • Nested workflow capabilities

React Pattern Integration [32:36]

Looking forward, Floki plans to implement the React pattern using Dapr's monitor pattern:

  • Thought-Action-Observation loops
  • Continuous evaluation
  • Goal-oriented processing
  • Final answer detection

The Road Ahead [33:40]

Floki's roadmap includes:

  • Conversational agents using message queues
  • Redis integration for agent memory
  • Unified storage interfaces through Dapr
  • Extended pattern support

Why Build on Dapr?

"With Dapr, it's super easy compared to trying to reinvent a wheel," our presenter emphasizes. Building on Dapr's infrastructure allows Floki to focus on the AI integration rather than rebuilding basic workflow capabilities.

Real-World Impact

This isn't just a technical showcase - it's a glimpse into how traditional workflow automation can evolve with AI capabilities. By combining Dapr's reliability with LLM intelligence, Floki opens up new possibilities for:

  • Intelligent process automation
  • Context-aware workflows
  • Autonomous decision-making
  • Scalable AI integration

Getting Started

Want to explore AI-enhanced workflows yourself? The Floki repository is available for those interested in combining workflow automation with LLM capabilities.

Curious about intelligent workflow automation? Check out the Floki repository and join the conversation about the future of AI-enhanced systems.

More videos

No items found.
Jan 23, 2026
This is some text inside of a div block.

Run Your Mission Critical Workloads Reliably with Diagrid Catalyst

See how Catalyst brings stateful workflows, durable execution, and built-in governance together to run distributed applications and AI agents reliably in production.

Dapr
Jan 13, 2026
This is some text inside of a div block.

Dapr, Simple APIs, & Distributed Systems | RedMonk Conversation with James Governor

Mark Fussell discusses Dapr, a runtime designed to simplify the development of distributed applications.

Dapr
Catalyst
Dec 10, 2025
This is some text inside of a div block.

Dapr University - Running Dapr Workflows with Catalyst

Catalyst streamlines your development efforts and provides greater observability and governance.

Diagrid newsletter

Signup for the latest Dapr & Diagrid news:
Dapr