Agent vs PromptTemplate vs Skill #17087
-
DiscussionHi, I already have some agents in my Theia app, each with its own registered tools. In our setup, we use the Orchestrator as the default agent, so if the user does not specify which agent to use, the Orchestrator agent can select the best agent for the user's prompt. Since Theia now has several ways to provide a custom system prompt to the agent (prompttemplate file or skill file), this sometimes leads to confusion about which to use. My questions are:
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Hi @safisa, thanks for starting this discussion! 👋 The Theia community will take a look soon. In the meantime, you might find helpful information in: 💙 Eclipse Theia is built and maintained by a community of contributors and sponsors. If Theia is valuable to your work, consider sponsoring the project. For professional support, training, or consulting services, learn more about available options. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Great questions and honestly, this is an area where things are moving incredibly fast and there's no single "right answer." Let me try to shed some light on the different mechanisms. Prompt Templates vs. SkillsThe difference is more technical/historical than conceptual. We've had prompt templates ( The Full Picture Is Even More ComplexIn terms of what you can actually do to structure your AI setup, there are several mechanisms and they can be combined: a) Orchestrator routing: The Orchestrator agent analyzes the user's request and routes it to the best-fitting agent. Importantly, the Orchestrator delegates the full session to the selected agent — once routed, the user stays with that agent for the remainder of the conversation. In our experience, results with this approach have been mixed. It tends to hide the existence of different agents from the user, which becomes problematic especially when agent capabilities are closely related to each other. b) Agent-to-agent delegation: In contrast to the Orchestrator, this only delegates a single step to a sub-agent for a specific aspect, not the whole session. The key advantage is that everything happening in the delegation does not pollute the context of the main session — it's a clean delegation with defined input and output, and the sub-agent can have its own separate set of tools. Example: a GitHub agent can handle a GitHub-related action (collect info, create a PR, etc.) and return only the result to the main agent. c) User-driven extension: Users can extend agents themselves with skills, prompt fragments, tools (including MCP servers), or slash commands — giving them control over what capabilities are available. d) Capabilities (since 1.69): We now offer a way to encapsulate the various technical extension mechanisms into a user-visible concept. So instead of the user having to "activate delegation to the GitHub agent," it simply becomes "Activate GitHub." This abstracts the underlying technical approach into something more intuitive. Practical GuidanceAs I said, there's no clear-cut answer on which approach works best — it depends on many factors: what are the use cases, how large are the base prompts, how complex is the task, etc. But in our experience from various projects, it helps to consider the following key tradeoff: Precision vs. usability without being explicit The more reduced and focused an agent's capabilities are, the better it usually performs. However, this makes orchestration harder and potentially requires the user to understand which agent to use or which capability to enable. So as a practical starting point:
Hope that gives you a useful overview! That said, it's really hard to give more concrete guidance without knowing your particular use case in detail — the "right" approach depends heavily on what your agents actually do, how their capabilities overlap, how complex the tasks are, and what your users expect. If you can share more specifics about your setup, we're happy to dig deeper. Best, |
Beta Was this translation helpful? Give feedback.
-
|
Hi @JonasHelming |
Beta Was this translation helpful? Give feedback.
Hi,
Great questions and honestly, this is an area where things are moving incredibly fast and there's no single "right answer." Let me try to shed some light on the different mechanisms.
Prompt Templates vs. Skills
The difference is more technical/historical than conceptual. We've had prompt templates (
.prompttemplatefiles) in Theia AI for about 1.5 years now. Skills (SKILL.md) were released more recently as an emerging standard across AI coding tools. We support skills specifically to allow users to leverage existing skills from that ecosystem. One notable difference though: agents are capable of loading skills on demand, which helps keep the context window lean until a skill is actuall…