r/OpenWebUI • • 10d ago

Question/Help Event driven agents

Firstly, I am loving OWUI. I'm not running it at work, just as an easy-to-use agent orchestrator on a home lab, with open terminal and tether.

I haven't made a huge use of tether yet, but I've got an open terminal up on a docker container running on an always-on debian box.

The question I have: is it easy to create event-driven automations beyond cron-like timers? I would love to build webhooks or message queues that respond to "whatever", and have them wake up my agents to do work.

I know there are first class webhooks that are user-based, but my quick view of these seem to be "outgoing" webhooks, which would make a lot of sense in a work managed environment (log sink, SIEM, budgeting, whatever), but are there any functions that would enable an "incoming" event to be captured and wake up an agent?

I want to steal the always-on grokbot and muse concept, but build it in this wonderful product that I'm now using **constantly**!

(by the way, an agent bootstrapped with open terminal is as capable as anything i've ever seen. I have deep research agents that are doing amazing work in some of my aresearch projects)

23 Upvotes

11 comments sorted by

15

u/openwebui 🛡️ Maintainer 10d ago

Investigating!

3

u/Remarkable-Main-4542 10d ago

thankyou!!!! 😄

2

u/scottybowl 6d ago

It would be incredible to see grok bot style agents inside Open WebUI - this is the missing feature. You’ve got all the ingredients already

1

u/berot3 6d ago

👀

3

u/Tartarus116 10d ago

The way I do it is have n8n orchestrate. E.g. gitea webhook > n8n > fire-and-forget open-webui chat (bc n8n isn't suitable for workloads that run for hours amd therfore can't babysit the OWUI chat). Ideally, you'd put a concurrency limit in there somewhere if you run local models and don't want to overwhelm your hardware.

2

u/Poprouter 10d ago

you could run a small webhook listener outside owui that sends a request to the chat completions api with an api key, the agent as the model and the event in the message

1

u/a_hegemon 10d ago

Would love to see suggestions too! Have set up multiple automations on a schedule but am figuring out how to set up event triggered flows

1

u/Laconia_Astronomer 10d ago

I would also love this feature, leaving my upvote here