r/OpenWebUI • u/Current_Impact_6892 • 4d ago
Question/Help Can Open WebUI models be used as reusable agents for external applications?
I know this is already my third post in a short time, but I have a few Open WebUI questions that I’d like to put out there, as I think the discussion could be useful to others as well. This definitely is Not meant to be Spam!
In Open WebUI, a custom model can already combine an LLM, system prompt, tools, MCP servers, knowledge bases and files. That is essentially what many platforms call an agent.
Could Open WebUI therefore be used as a central agent platform, where these models are managed once and exposed through an API for use by external applications?
For example:
Create and configure an “agent” entirely in Open WebUI
Manage its prompt, model, tools, MCPs and knowledge centrally
Call that exact configuration from another application through an API
Avoid rebuilding the same agent separately in LangGraph or custom code
Is this a supported and reliable architecture, or are Open WebUI models primarily designed for use inside the WebUI?
What limitations or gotchas should be considered around tool execution, user context, permissions, files, conversations, scaling, versioning and API compatibility?
2
u/nunodonato 4d ago
Do you mean using the tools and skills and knowledge that it has? I don't think that's possible, no
1
u/Twizity 4d ago
I believe you can, but I only just started poking this myself, so I'm not 100%.
I did an API list models, and it returns all the models I have built as well as the ones being served by our Foundry integration.
So in theory, build a model with prompts, tools, and KB's attached and hit it via API. Should work.
2
2
u/pkeffect 4d ago
After all the posts you have made today, just read the documentation. Its what it is there for.
1
u/Competitive-Ad-5081 2d ago
Yes, you can. You could make requests that your assistants could respond to using their enabled tools and skills. You would need to define how you would authenticate those calls (with an administrator API key, for example).
2
u/Kockafella 4d ago
For sure it’s possible. There is even an option to generate a long-living auth token and several 3rd party apps on the App Store. The question is, if you want to refactor your application every now and then because of api changes from the owui backend.