agent icon indicating copy to clipboard operation
agent copied to clipboard

Feature Request: Langchain js integration

Open magick93 opened this issue 1 year ago • 1 comments

Hi

It would be great to have langchain js integrated, to allow other models, and especially to have multiple LLMs as actors having a group conversation.

magick93 avatar Mar 02 '24 01:03 magick93

Hey @magick93, I agree! I'll kick this off soon, and would love community help to contribute/test it.

davidkpiano avatar Mar 03 '24 23:03 davidkpiano

Hi David,

Would be happy to contribute. making a transition to offering custom agent development and stateX will be a core part of it.

p-drolima avatar Jun 03 '24 01:06 p-drolima

Hi David,

Would be happy to contribute. making a transition to offering custom agent development and stateX will be a core part of it.

Thanks for the offer! I have updated the API and have it at a good place; can you take a look and see how much effort it would be to make a LangChain adapter?

davidkpiano avatar Jun 23 '24 08:06 davidkpiano

Hi David,

Great to hear you have the API in a good place. I know probably this is still something you haven't gone through yet but would be good to have a look at the API documentation so I can make a proper assessment of effort to get the adapter.

p-drolima avatar Jun 23 '24 13:06 p-drolima

Since @statelyai/agent now uses the Vercel AI SDK under the hood, you can adapt it with Langchain: https://sdk.vercel.ai/docs/reference/stream-helpers/langchain-adapter

davidkpiano avatar Jul 17 '24 12:07 davidkpiano