You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Six adapters exist today — LangGraph, CrewAI, AutoGen v0.4+, LangChain, OpenAI Agents SDK, and the Claude Agent SDK. Each is 100–200 lines and does the same thing: drive the framework's iteration, call your error_fn on each event, stamp framework= on telemetry.
What's missing? Reply with the framework and, more usefully, what your loop looks like in it — where the iteration boundary is and what you'd count as the error. The iteration boundary is the part that varies and the part that takes the time to get right.
On my list, unranked: Pydantic AI, DSPy, LlamaIndex Workflows, smolagents, Agno, Semantic Kernel, Mastra, Haystack. Upvote the ones you'd use, or name one that isn't there.
If you don't want to wait: the raw observe() API works against any iterable, and the adapters are thin enough to crib. Copy whichever of loopgain/integrations/{langgraph,crewai,autogen,langchain,openai_agents,claude_agent_sdk}.py is closest in shape to your framework.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Six adapters exist today — LangGraph, CrewAI, AutoGen v0.4+, LangChain, OpenAI Agents SDK, and the Claude Agent SDK. Each is 100–200 lines and does the same thing: drive the framework's iteration, call your
error_fnon each event, stampframework=on telemetry.What's missing? Reply with the framework and, more usefully, what your loop looks like in it — where the iteration boundary is and what you'd count as the error. The iteration boundary is the part that varies and the part that takes the time to get right.
On my list, unranked: Pydantic AI, DSPy, LlamaIndex Workflows, smolagents, Agno, Semantic Kernel, Mastra, Haystack. Upvote the ones you'd use, or name one that isn't there.
If you don't want to wait: the raw
observe()API works against any iterable, and the adapters are thin enough to crib. Copy whichever ofloopgain/integrations/{langgraph,crewai,autogen,langchain,openai_agents,claude_agent_sdk}.pyis closest in shape to your framework.All reactions