Hi everyone, I have a suggestion related to Koog. ...
# koog-agentic-framework
m
Hi everyone, I have a suggestion related to Koog. I think it’s missing triggers. For example, in many use cases, people might want a Telegram message to act as a trigger. This could be implemented easily separately from the Koog framework itself ofcourse, but I just wanted to share the idea.
a
Can you elaborate, please, why it should be a separate feature, and not just something like this:
Copy code
fun onNewMessage(message: Message) {
    agent.run(message)
}
m
it was more about trigerring start of AI agent. That's why I wasn't sure if it would be part of framework or not. (probably not) Something like, already existing implementation of TelegramTrigger, SlackTrigger, and you send message and it starts AI agent.
a
This sounds out-of-scope for Koog as a framework. It’s not about the framework itself, it’s about how you use it (chatbot, HTTP endpoint, etc.). Since invoking pre-configured agent is already a single method call, you can put it in your custom logic, such as various triggers and handlers
👍 3