Skip to content

alainrk/hal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HAL (Hyper Agent Loop)

HAL is a lightweight, efficient graph-based framework for building AI applications in Go.

Features

  • Graph-based execution model
  • Type-safe state management
  • Extensible node system
  • Built-in retry logic
  • Context support for cancellation
  • Thread-safe execution

Quick Start

// Create a graph
g := graph.NewGraph("my-workflow")

// Add nodes
g.AddNode(modelNode)
g.AddNode(functionNode)

// Connect nodes
g.AddEdge(graph.NewEdge(modelNode.ID, functionNode.ID))

// Execute
result, err := g.Execute(ctx, initialState)

Installation

go get github.com/alainrk/hal

About

Hyper Agent Loop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published