Skip to content

Instantly share code, notes, and snippets.

View herissondev's full-sized avatar
🥖

Aimé Risson herissondev

🥖
View GitHub Profile
@herissondev
herissondev / ElixirAiAgent.ex
Created August 13, 2025 14:55
Minimal AI agent in elixir
defmodule ElixirAiAgent do
@moduledoc """
A minimal ai agent implementation showcasing how simple it is to build AI agents in Elixir.
Combines agent logic and server management in one module.
"""
use GenServer
alias LangChain.Chains.LLMChain
alias LangChain.Message
@herissondev
herissondev / Sam_ortex.livemd
Last active June 4, 2024 14:09
Segment Anything Model using Ortex library

Segment Anything Model (SAM) using Ortex

Mix.install([
  {:ortex, "~> 0.1.9"},
  {:image, "~> 0.37"},
  {:nx_image, "~> 0.1.2"},
  {:exla, "~> 0.7.2"},
  {:kino, "~> 0.12.3"},