Huginn

Build self-hosted agents that monitor online sources, pass events through workflows, and act for you.

Source repo
huginn/huginn
Stars
★ 51k
Last updated
3d ago v2026.11.30
FARS reviewed
Nov 08, 2026 +5 new
License
MIT
Primary language
Ruby

At a glance

How it runs
Self-hosted serviceWeb app
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
High · needs real infrastructure
You'll need
Docker or a local Ruby environmentMySQL or PostgreSQLBundlerForemanShell / CLINetwork accessLocal filesystem
Typical use
A self-hosting individual wants to monitor the forecast and receive an email when rain or snow is expected tomorrow.
Not a fit if
  • Teams wanting zero-ops, turnkey hosting; you deploy and maintain the database
  • Individuals unwilling to manage servers, secrets, and upgrades
  • Teams needing fully offline operation; some Agents require external services and API keys
Maintenance
Commits in the last 30 dayslast commit 2026-11-29latest release v2026.11.30 (2026-11-29)+6.9 ★/day over 7 days

What does this agent do, and when should you use it?

Huginn is a self-hosted system for automating online tasks, presented as a hackable alternative to IFTTT or Zapier. Its Agents create and consume events, passing them through a directed graph that connects monitoring, processing, and actions. Agents can read websites and feeds, receive WebHooks, run custom JavaScript, and produce notifications or calls to external services. The core installation can be extended with external Huginn Agent gems configured through ADDITIONAL_GEMS. Huginn ships an official Docker image and also supports local deployment with MySQL or PostgreSQL, keeping the application and its data under the operator's control.

A Huginn workflow connects Agents in a directed event graph. Upstream Agents read or receive information from sources such as websites, RSS, Twitter, IMAP, MQTT, location records, or WebHooks and create events; downstream Agents consume those events, apply configured processing or custom JavaScript, and trigger email digests, SMS messages, WebHooks, or service actions. Documented connections include HipChat, FTP, IMAP, Jabber, JIRA, MQTT, nextbus, Pushbullet, Pushover, RSS, Bash, Slack, StubHub, translation APIs, Twilio, Twitter, and Weibo. Examples include scraping a site and emailing when it changes, counting high-frequency events and sending an SMS when they spike, and orchestrating Amazon Mechanical Turk stages with HumanTaskAgent. Specialized functionality can be packaged as a Huginn Agent Gem and loaded through ADDITIONAL_GEMS.

  1. A self-hosting individual wants to monitor the forecast and receive an email when rain or snow is expected tomorrow.
  2. A project or brand maintainer needs to watch Twitter for mentions of project names and receive updates.
  3. A researcher wants to track the frequency of a term on Twitter and be notified when discussion suddenly spikes.
  4. A traveler or shopper wants continuous monitoring for airfare or shopping deals without repeatedly checking sites.
  5. A website operator needs to scrape pages and receive email when their contents change.
  6. A technical team wants to connect RSS, WebHooks, Slack, Twilio, and email in an internally operated event workflow.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Ports
3000
Environment variables
APP_SECRET_TOKEN
Config files
.env.example .env
Install notes cover
Docker

How do you install or deploy this agent?

For the quickest evaluation, use the official Docker image and the repository's doc/docker/install.md procedure. For a local installation, fork the repository and run git remote add upstream https://github.com/huginn/huginn.git. Run cp .env.example .env, edit .env, and at minimum replace APP_SECRET_TOKEN; install either MySQL or PostgreSQL, prefixing subsequent commands with DATABASE_ADAPTER=postgresql when using PostgreSQL. Run bundle, bundle exec rake db:create, bundle exec rake db:migrate, and bundle exec rake db:seed. Start the application with bundle exec foreman start, visit http://localhost:3000/, and initially sign in as admin with password password. Production options documented in the source include Docker, Heroku, OpenShift, and manual server installation; Huginn launches on Heroku only with a paid subscription plan.

How do you use this agent?

After initialization, run bundle exec foreman start, open http://localhost:3000/, and sign in with admin / password. Create Agents for the required inputs, event-processing rules, and actions, then connect event-producing Agents to event-consuming Agents as a directed workflow. To use WeatherAgent, obtain a Weather Data API key from Pirate Weather and replace api_key: your-key in the seeded WeatherAgent. Development-mode email is intercepted and can be inspected at http://localhost:3000/letter_opener; set SEND_EMAIL_IN_DEVELOPMENT=true in .env to send real mail through SMTP while developing. External Agent gems can be enabled with the ADDITIONAL_GEMS environment variable described in .env.example.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • The directed event graph composes multiple monitoring, transformation, and action stages instead of limiting automation to a single trigger-action pair.
  • Self-hosting keeps the application and data under the operator's control rather than requiring one automation SaaS.
  • The documented integration surface spans scraping, RSS, WebHooks, email, SMS, Slack, Twilio, MQTT, and numerous other services.
  • Custom JavaScript and external Huginn Agent gems provide two documented extension paths.
  • The project offers an official Docker image and supports both MySQL and PostgreSQL.
Limitations
  • Adopters must deploy, secure, upgrade, and operate the application and its MySQL or PostgreSQL database.
  • Some Agents depend on external services and credentials; WeatherAgent, for example, requires a Pirate Weather API key.
  • Local setup involves environment configuration, secret management, database migrations, and process supervision rather than a zero-maintenance hosted account.
  • The seeded development login is admin / password, so operators must address default credentials and production security configuration.
  • Heroku is not a free deployment path: the documentation says Huginn launches only on a paid subscription and recommends a 1GB paid plan or Docker for non-experimental use.

How does this agent compare with similar options?

Huginn describes itself as a hackable version of IFTTT or Zapier running on your own server. Its distinguishing boundary is operator-controlled hosting and data, with customization through JavaScript and external Agent gems; the tradeoff is responsibility for the application, database, upgrades, and security.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Huginn This agent 54 · Major gaps Self-hosted serviceFree ★ 51k 3d ago Ruby —
Sim AI Workspace 49 · Major gaps CLIFreemium ★ 30k 2d ago TypeScript OpenAI API · Claude API
ODS Private AI Server 71 · Some gaps CLIFree ★ 8k 3d ago Python OpenAI API · Claude API
Auto Company 59 · Major gaps CLIFree + model costs ★ 3.2k 2d ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
54/ 100 5-point scale 2.7 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 5 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 12/29
Reliability 5/14
Adaptability 12/18
Convention 13/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The security policy states that Agents can contact any host their owner configures and, with ENABLE_INSECURE_AGENTS, can run shell commands and read local files. It recommends outbound restrictions for shared instances and leaving that feature unset, so some least-privilege guidance exists while default capabilities remain broad (1). Docker’s first login uses a random password printed in logs, and the Heroku setup example asks before deployment, account creation, and pushing; the materials do not show a general execution confirmation or approval mechanism for high-impact Agent actions (1). The README describes events propagating through directed graphs, while the security policy and configuration guide disclose outbound, private-network, shell, and local-file capabilities (2). The install guide instructs operators to restrict .env permissions and configure secrets, but the packet does not describe credential encryption, retention, or redaction practices (1). Workflow actions are version-pinned and checked against a lockfile, and package.json gives explicit dependency versions or ranges; the packet does not establish comprehensive dependency auditing or vulnerability remediation (2). The product explicitly supports external effects such as email, messaging, SMS/calls, webhooks, and file writes, but generic undo or impact previews are not documented (1). No general undo, compensation, or backup recovery mechanism is evidenced (0). The license, original creator, and maintainer are attributed, while publisher identity remains unverified as specified (2).

Reliability5 / 14 · 1.8/5

The README and install documents cover Docker, single-process deployment, and database configuration, but the Heroku guide retains visibly historical output (Ruby 2.0, old buildpacks, and old domain formats) alongside current deployment guidance, weakening consistency (1). The packet identifies Ruby, databases, Docker, email/API services, and several hosting options, but provides no comprehensive availability or dependency failure guarantees (1). Installation documentation points to troubleshooting, and the Heroku guide notes memory, platform, and worker constraints; the sample offers limited general diagnosis and recovery guidance for Agent runtime failures (1).

Adaptability12 / 18 · 3.3/5

The README gives concrete use cases including scraping, RSS, email, webhooks, MQTT, event detection, scheduled digests, and notifications, and addresses both self-hosters and developers (2). The security policy distinguishes visitors, logged-in users, and admins and identifies network and insecure execution capabilities (2). Event graphs, input sources, and scheduled use cases are described, but the sample does not provide complete trigger configuration semantics or boundary rules (2). Documentation covers Docker, Compose, manual Debian/Ubuntu installation, Heroku, and managed hosting, with database, worker, and HTTPS requirements (2).

Convention13 / 18 · 3.6/5

The README is organized into product overview, examples, setup, deployment, extensions, and license sections, with separate security, configuration, and installation documents; the packet does not contain the full documentation tree (2). Docker quick start, development steps, and production installation are provided; the manual guide is scoped to Debian/Ubuntu and marked best-effort, while some details depend on linked documents (2). Huginn and Agent terminology is stable across the sample, which also explains external Agent gem extensions (2). Screenshots, Docker/Heroku examples, and use cases are provided, with links to a wiki, discussions, and troubleshooting; no consolidated FAQ is shown (2). The materials identify unsupported older security releases, best-effort installation guidance, potentially lagging community packages, and extra outbound restrictions for untrusted users (2). The repository includes the full MIT license text and a README license statement (3). The security policy describes date-based releases and recording fixes in CHANGES.md, but the changelog itself is not in the packet (2). The README names a single spare-time maintainer; the security policy warns that response may take time and assigns community packages to their communities (2).

Effectiveness7 / 13 · 2.7/5

The event graph, many integrations, transformation tools, and self-hosted deployment offer configurable automation, but the packet does not show concrete Agent output schemas or action result examples (2). For self-hosted automation, monitoring, event routing, and notification integrations provide clear added capability; realized value depends on user configuration and integrations (2). Deployment requires a persistent worker, a database, and potentially paid hosting; the docs flag free-tier limitations and provide a Heroku cost example but do not quantify overall resource or maintenance cost (1).

Verifiability5 / 8 · 3.1/5

Core product and deployment claims in the README have corresponding descriptions in the installation and configuration documents; external linked content is not treated as evidence here (2). The architecture, security model, and installation requirements are corroborated across supplied files, but no code or test sample is provided to verify concrete execution behavior (2). This assessment treats explicit documentation as evidence, keeps uncovered runtime and security behavior unknown, and makes no execution or testing claim (2).

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • Agents can contact any host they are configured to reach; apply outbound restrictions on shared instances and avoid enabling ENABLE_INSECURE_AGENTS.
  • Before exposing Huginn to users who are not fully trusted, review network isolation and credential handling; the persistent worker and database also create ongoing costs.
  • The Heroku guide contains historical deployment output and an SMTP_PASSWORD example that looks credential-like; do not use the example value for a real account.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 62c9d80dc59d New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/huginn.svg)](https://followagents.com/en/agents/huginn)
<a href="https://followagents.com/en/agents/huginn"><img src="https://followagents.com/badge/huginn.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2026.11.30
    Release notes excerpt
    This security release strips Set-Cookie from restricted Agent web responses. On a shared instance with the default settings, this prevents a non-admin user's Agent from setting cookies on the Huginn origin. Instances that explicitly enable ALLOW_UNRESTRICTED_AGENT_WEB_RESPONSES allow those headers. …
    View on GitHub ↗
  2. v2026.11.27
    Release notes excerpt
    This security release makes SlackAgent send webhook requests through OUTBOUND_PROXY when configured, including when Smokescreen is enabled in the official Docker images. Previously, SlackAgent could send requests directly despite that setting. This matters most on shared instances where users can configure Agents and the proxy blocks access to internal services. Upgrade to this release if you rely on OUTBOUND_PROXY to restrict outbound requests. No new proxy settings or database migration are required. …
    View on GitHub ↗
  3. v2026.11.19
    Release notes excerpt
    This security release upgrades Huginn's Docker images to Ruby 4.0.10. Ruby 4.0.10 fixes vulnerabilities in Regexp and String case conversion. [Ruby 4.0.10 release announcement](https://www.ruby-lang.org/en/news/2026/11/18/ruby-4-0-10-released/) · [#3847](https://github.com/huginn/huginn/pull/3847) …
    View on GitHub ↗

FAQ

Does Huginn require a paid cloud service?
No. It can run through the official Docker image or a manual installation on your own server. The documented Heroku option does require a paid subscription, and selected external APIs or messaging providers may impose their own costs.
Is it tied to ChatGPT, Claude, or another model provider?
The supplied material documents no ChatGPT, Claude, or model-API dependency. Its core is a self-hosted event graph connected to services selected by the operator.
Which credentials are required before first use?
A local installation must at least replace APP_SECRET_TOKEN in .env. Individual Agents may need additional credentials, such as a Pirate Weather API key for WeatherAgent or configuration for SMTP and other connected services.
Why does email not leave the development environment?
Development-mode messages are intercepted by default and shown at /letter_opener. Set SEND_EMAIL_IN_DEVELOPMENT=true in .env when real SMTP delivery is required during development.
Can functionality be added without merging it into Huginn core?
Yes. Agents can be distributed as external Huginn Agent gems and added to an installation with the ADDITIONAL_GEMS environment variable.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts