Hugin

A framework for building agents with a focus on longer running, creative, reasoning tasks.

State Machine Architecture

Every agent step is a state on a stack. Easily replay, step-through, branch, and debug your agent's reasoning.

Multi-Agent Native

Built-in support for parallel agents, shared state with namespaces, and agent-to-agent communication.

Visual Debugging

Real-time monitoring of agent flows, tool calls, and decision trees. Understand exactly what your agent is doing.

Simple Configuration

YAML-based configs for agents, tasks, and tools. Python for custom tool implementations.

Quick Example

pip install gimle-hugin
hugin create

The agent builder wizard will guide you through creating your first agent.

Or create one manually:

# configs/my_agent.yaml
name: my_agent
system_template: default
llm_model: haiku-latest
tools:
  - builtins.finish:finish
# tasks/my_task.yaml
name: my_task
prompt: "Analyze the data and provide insights."
uv run run-agent --task my_task --task-path ./my_agent