Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI #9

Open
ai-christianson opened this issue Dec 25, 2024 · 3 comments · May be fixed by #11
Open

Web UI #9

ai-christianson opened this issue Dec 25, 2024 · 3 comments · May be fixed by #11
Labels
enhancement New feature or request

Comments

@ai-christianson
Copy link
Owner

ai-christianson commented Dec 25, 2024

This issue is to track adding a web UI to the project.

Idea: abstracted UI layer with real-time messaging

  • Abstract the UI so that we can have pluggable input/output modules. Right now we call rich.Panel to output CLI agent status panels. All these calls could be replaced with a generic output_panel call.

  • When web UI is enabled, the output_panel call would send a message using socket.io, which would be received by the frontend and rendered using shadcn or some other frontend component

  • When used in terminal, the output_panel function would use the current rich.Panel implementation

Mock up of a potential shadcn/react frontend: https://replit.com/@achristianson/AIAgentDashboard?v=1

Proof of concept of python/react connection via socket.io: https://replit.com/@achristianson/RealtimeSocketSync?v=1

Zo >>> 6 made progress on a streamlit UI here: https://discord.com/channels/1316891174149292082/1316891174149292085/1321385471867359242


As of now we have some ideas and some partial implementation.

@ai-christianson ai-christianson added the enhancement New feature or request label Dec 25, 2024
@leonj1
Copy link
Contributor

leonj1 commented Dec 26, 2024

If you have a wireframe in mind attach it when you get a chance.

@leonj1 leonj1 linked a pull request Dec 26, 2024 that will close this issue
@ai-christianson
Copy link
Owner Author

@leonj1 we had someone looking into a web UI in the discord channel as well. I posted some thoughts and ideas too. I will update this issue with links to the conversations and ideas once I get to a real computer.

@ai-christianson
Copy link
Owner Author

@sosacrazy126 has a WIP PR for this here:

#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants