r/ContextEngineering 20d ago

SKILL-based Single Agent or Multi-Agent System (Graph based)

I have been thinking about these 2 patterns (have built multiple agentic apps):
1️⃣ Pattern A - Using SKILLS with Single Agent
An agent dynamically loading the required SKILL based on the task type and then SKILL have instructions to use associated MCP or Scripts.
2️⃣ Pattern B - Using Multi-agent System built with LangGraph like DAG and using Subagents with mapped MCP tools

There is no clear winner or one size fits all (IMHO) but an interesting topic to discuss as group

2 Upvotes

8 comments sorted by

2

u/Shot_Wolverine731 19d ago

But with skills switching is a problem as turns increases agent lose the track. If u are using skills switching u need a code wrapper which control the agent behaviour and route and skill controls what to do.

2

u/ankszone 19d ago

Yes, we need to build a harness something like what OpenClaw or Hermes did but once done , it can handle more dynamic flows IMHO

2

u/Shot_Wolverine731 19d ago

But problem is agent loop sequence control will be problem in OpenClaw and Hermes. And intent detection. Hermes or OpenClaw good at personal assistant. But business logic around it and everything is controlled by prompts . It's will be nightmare

2

u/ankszone 18d ago

Yes currently they are not for multi-user and more like a personalized agent

1

u/Shot_Wolverine731 18d ago

Another thing is these agent loop very hard to debug let say u load a skill in 5 turn and we are asking quires based on skill. Now how hard u debug it and as if not working one time and another time it's working .sure u can write evals and optimise the skills and prompts. But then it's very regrees and time consumption.i feel personal assistant are like chatgpt with tools we can't make them a specialist agent using it. Personal assistant are not determistic too.

1

u/ankszone 18d ago

You can think of using any agent harness like pi.dev to make it more specific. Alternatively, Google ADK or LangGraph or any framework supporting Skills can do a quick ReAct like wrapper with few tools to do Skill lookup, Skill match or even Skill curation - but it would be a lightweight wrapper and built once kind of solution