feat facade agent [WIP]#73
Conversation
|
Cool. This is a good start. Note that we have two clients for "Agentic agents": the AgentRunner for the repl, and the FastAPI endpoints in So if you look at AgentRunner and DynamicFastAPIHandler, you will see these calls to the RayFacadeAgent:
those are the key methods that you will want to implement for the LangChainFacade. |
I've upgraded vendor_agent.py according to your feedback. Plz check and teach me.. |
https://github.com/supercog-ai/agentic/blob/main/examples/oss_deep_research.py#L53
Create a LangChain Wrapper
langchain_wrapper = LangChainWrapperAgent(
name="Research Agent",
model=GPT_4O_MINI,
langchain_agent=langchain_agent
)
Create a BrowserUseAgent
browser_agent = BrowserUseAgent(
name="Browser Assistant",
model=GPT_4O_MINI
)
Create an operator agent that can use both agents
operator = Agent(
name="Operator",
tools=[langchain_wrapper, browser_agent],
instructions="""
, model=GPT_4O_MINI
)