feat: add support for Open Agent Spec #829
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements support for Open Agent Spec, an open-source agent specification standard originally developed by Oracle.
Currently, this integration supports LangGraph and WayFlow agent frameworks as runtimes for Agent Spec.
Right now, this implementation depends on features of Agent Spec and WayFlow that are not yet released on PyPI. Namely, it depends on Agent Spec Tracing, a new standardization of tracing for Agent Spec agents. Please clone both repos locally to test this PR. The cloned repos (main branch) should be put in the same directory as the ag-ui repo.
We currently support 4 examples for LangGraph and WayFlow runtimes: agentic-chat, backend-tool-rendering, human-in-the-loop, and tool-based-generative-ui. Support for other examples, such as the agent state ones, will be added in the future.
As mentioned in the README, the FastAPI server adds an endpoint for each runtime, which are mapped in the Dojo config.
CopilotKit docs PR: CopilotKit/CopilotKit#2874
Closes #828