Hi team! I hope you're all doing well! I need your...
# koog-agentic-framework
e
Hi team! I hope you're all doing well! I need your opinions on how to build an app. The idea is to create an app with a backend to manage data from a database. The backend will use a Ktor to create an API. It will also have one or more Koog agents that will communicate with the app through this API. I'd like your opinion on the following: my idea was to have either an endpoint with an agent associated with each task I need, for example,
/send_message
that returns a string, and another endpoint,
/send_news
, that returns JSON, with another task and another agent. Alternatively, I could use a strategy with subgraphs, where each subgraph is an agent that performs a specific task within that subgraph. Regarding the first option, is there a way for these agents to share agent memory, persistence, checkpoints, etc.? I'd appreciate your input. Thanks
r
Why do you need agents on both frontend and backend?
e
i don't need! i'll use it only in the BE and will communicate the FE by endpoints
r
OK, got it. There is a good
Spring
example on how to build agent on backend: https://github.com/kpavlov/koog-spring-boot-assistant
I'm sure you can do the same with
Ktor
e
Cool!! thanks @rcd27
🤝 1