huginn/huginn

▲ 38 stars today★ 50,240⑂ 4,336

Create agents that monitor and act on your behalf. Your agents are standing by!

About huginn/huginn

huginn/huginn is an open-source project on GitHub, mainly written in Ruby. Create agents that monitor and act on your behalf. Your agents are standing by! It currently holds 50,240 stars and 4,336 forks with 695 open issues, and was last pushed on 2026-10-31 (repository created 2013-03-10).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #51 with 38 new stars today.

GitHub Repository Details

Repository huginn/huginn · default branch master · size 12213 KB · watchers 727 · source: GitHub REST API and repository README

README

![Huginn](https://raw.github.com/huginn/huginn/master/media/huginn-logo.png "Your agents are standing by.")

-----

CI Coverage Status Sponsor

What is Huginn?

Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do.

the origin of the name

Here are some of the things that you can do with Huginn

Ask questions and share your ideas in GitHub Discussions.

Join us!

Want to help with Huginn? All contributions are encouraged! You could make UI improvements, add new Agents, write documentation and tutorials, or try tackling issues tagged with "help wanted". See CONTRIBUTING.md to get started.

Have an awesome idea but not feeling quite up to contributing yet? Head over to our official 'suggest an agent' thread and tell us!

Examples

Here are some example screenshots. Below them are instructions to get you started.

Example list of agents Event flow diagram Detecting peaks in a stream of events Browsing the Events your Agents created Logging your location over time Making a new agent

Getting Started

Try it with Docker

The quickest way to check out Huginn is the official Docker image, which runs everything in one container:

docker run -it -p 3000:3000 ghcr.io/huginn/huginn

Open http://localhost:3000/ and log in as admin with the password printed once in the container log. See the Docker documentation for persistent storage, an external database, and the multi-container image.

Local development

If you want to hack on Huginn, fork this repository and then:

By default, email messages are intercepted in the development Rails environment and shown at http://localhost:3000/letter_opener. To send real email via SMTP while developing, set SEND_EMAIL_IN_DEVELOPMENT to true in your .env file.

If you need more detailed instructions, see the Novice setup guide.

Running the specs

All Agents have specs, and there are acceptance tests that run Huginn in a headless browser.

Deployment

Huginn runs as a web process plus a background worker, backed by MySQL or PostgreSQL. Pick whichever of the following fits how you run things.

Docker Compose on your own server

This is the recommended way to run Huginn in production. The official images are published to ghcr.io/huginn/huginn (all processes in one container) and ghcr.io/huginn/huginn-single-process (one process per container). Example Compose files for MySQL and PostgreSQL are in docker/single-process/; the Docker documentation explains configuration through environment variables.

The same Compose files work on self-hosted platforms that deploy from Compose, such as Coolify and Dokploy.

Dokku on your own server

For Dokku, we recommend the official single-process Docker image with separate web and worker containers. See the Dokku deployment instructions for a minimal Dockerfile and Procfile, database configuration, and explicit Dockerfile builder selection.

Managed platforms

Any platform that runs a public Docker image with an always-on worker and a managed database can host Huginn. Create a web service and a worker service from the single-process image (the worker runs /scripts/init bin/threaded.rb), attach a PostgreSQL or MySQL database, and set the environment variables described in the Docker documentation. Platforms known to fit this shape include Render, Fly.io, Railway, and DigitalOcean App Platform. None of them keeps a worker running on a free tier, so expect a small monthly bill.

Managed Huginn hosting offered by sponsors is listed there, along with the listing policy. Community-maintained guides for other providers are on the wiki.

Packaged by the community

Huginn is also packaged for YunoHost and available in Unraid Community Applications. These packages are maintained by their communities and may lag behind releases.

Manual installation on any server

Follow the installation guide to install from source on Ubuntu or Debian. Heroku is still supported, but is no longer the cheapest or simplest option.

Optional configuration

See doc/manual/configuration.md for outbound request restrictions on shared instances, the WeatherAgent API key, running without SSL, and private development setups.

Using Huginn Agent gems

Huginn Agents can be written as external gems and added to your Huginn installation with the ADDITIONAL_GEMS environment variable. See the Additional Agent gems section of .env.example for more information.

If you'd like to write your own Huginn Agent gem, please see huginn_agent.

Our general intention is to encourage complex and specific Agents to be written as gems, while continuing to add new general-purpose Agents to the core Huginn repository.

Sponsors

Huginn is maintained by Akinori Musha (@knu) in spare time. You can support its development by sponsoring the maintainer. Company sponsors and sponsored hosting providers are listed in doc/sponsors.md, along with the listing policy.

License

Huginn is provided under the MIT License.

Huginn was originally created by @cantino in 2013. Since then, many people's dedicated contributions have made it what it is today.

GitHub Stars & Activity

50,240Stars
4,336Forks
695Open issues
RubyLanguage

GitHub Popularity

GitHub stars50,240
Forks4,336
Open issues695
Primary languageRuby
LicenseMIT
Stars gained today38
Created2013-03-10
Last pushed2026-10-31

Trending History

Daily boardrank #51 · ▲ 38 stars
Weekly boardrank #72 · ▲ 122 stars
Monthly boardrank #82 · ▲ 293 stars

Related AI Projects

1

obra / superpowers

Shell★ 309,942⑂ 27,571▲ 663 stars
→
2

mattpocock / skills

Shell★ 308,196⑂ 25,934▲ 882 stars
→
3

anthropics / skills

Python★ 185,808⑂ 21,939▲ 756 stars
→
4

DietrichGebert / ponytail

JavaScript★ 181,437⑂ 9,980▲ 621 stars
→
5

f / prompts.chat

HTML★ 175,423⑂ 22,393▲ 213 stars
→
6

msitarzewski / agency-agents

Shell★ 165,662⑂ 26,818▲ 334 stars
→
7

Graphify-Labs / graphify

Python★ 139,947⑂ 13,346▲ 686 stars
→
8

ggml-org / llama.cpp

C++★ 132,980⑂ 25,006▲ 120 stars
→

More AI Rankings