Cairnloop 🏔️

Hex.pm VersionHexDocsGitHub Actions CI

An embedded, Phoenix-native customer support automation layer for Elixir applications.

Installation

The fastest way to install Cairnloop is with the Igniter installer. First, add Igniter to your dependencies if it is not already present, then run:

mix deps.get
mix cairnloop.install

The installer adds {:cairnloop, "~> 0.1.0"} to your mix.exs deps and generates a create_cairnloop_tables migration against your detected Ecto repo.

Manual install (without Igniter)

Add Cairnloop to your mix.exs dependencies:

def deps do
[
{:cairnloop, "~> 0.1.0"}
]
end

Then run mix deps.get and generate the migration manually (see the quickstart guide for the migration contents).

Why Cairnloop?

What it does

Cairnloop turns support conversations into answers, product signals, knowledge-base improvements, and safe automated actions — all inside your existing Phoenix app. Incoming messages route through Phoenix Channels to a durable Ecto-backed conversation record. An Oban worker drafts an AI-grounded reply using your published KB and offers it to the operator for approval. Resolved conversations feed back into the KB maintenance queue through a governed review workflow, and support-triggered outbound follow-ups route durably through a configurable Notifier behaviour.

Explore the guides

Contributing

Contributions are welcome. Open an issue or pull request on GitHub. Please follow the existing code style and run mix test before submitting.

License

MIT. See LICENSE.