Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
azettl 
posted an update 2 days ago
Post
1132
In my last post, I told you about my discovery of the Open Floor Protocol. Today I want to show you a small npm package I built to make building OFP-compliant agents easier.

➡️ https://www.npmjs.com/package/@openfloor/protocol

Huge credits to David Attwater, who wrote the Python package I heavily relied on.

I also created a small sample parrot agent (𝘤𝘶𝘳𝘳𝘦𝘯𝘵𝘭𝘺 𝘰𝘯𝘭𝘺 𝘪𝘮𝘱𝘭𝘦𝘮𝘦𝘯𝘵𝘪𝘯𝘨 𝘵𝘩𝘦 𝘶𝘵𝘵𝘦𝘳𝘢𝘯𝘤𝘦 𝘢𝘯𝘥 𝘮𝘢𝘯𝘪𝘧𝘦𝘴𝘵 𝘦𝘷𝘦𝘯𝘵𝘴) which just repeats what you tell him. Next, I will implement a sample with multiple agents and a floor manager to show the true power of the Open Floor Protocol.

You can find the code of the sample on GitHub: https://github.com/azettl/openfloor-parrot-agent/blob/main/src/parrot-agent.ts, and you can try the parrot with the OFP tester here azettl/ofp_checker. Just add the URL of the agent: https://kmhhywpw32.us-east-1.awsapprunner.com/ under "Assistant Endpoint URL".

The video below is my first attempt on visualizing on how the basics, incl. floor manager, of the protocol work. 👇
In this post