-
Notifications
You must be signed in to change notification settings - Fork 241
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
examples overhaul #260
Comments
uAgents Examples Proposal
This example integrates the core concepts from "01-first-agent" (startup), "02-interval-task" (on_interval), and "04-storage" (storage) to create an agent that introduces itself upon initialization. Following the introduction, the agent then periodically prints an incremented counter.
Removed example "03-multiple-agents" and integrated code from "05-send-msg" and "15-wallet-messaging,"explaining both ways to send a message
Use "06-send-tokens" example code to illustrate how agents can handle token transactions.
Use "08-local-network-interaction" example code
Introduces a simple, yet illustrative example of protocols by leveraging the "14-broadcast" code. This example is aimed at showcasing how to broadcast messages to two other agents containing the same protocol created in the example.
Create a straightforward example demonstrating database (DB) integration.
Use example "11-mailbox-agents" code
Use example "12-remote-agents" code
Use example "13-agent-name-service" code Delete: Examples 07, 09 and 10 Any suggestions on examples 16 and 17? Are there any plans for changes for on_query and chit_chat? |
Overall I like it! Just a few suggestions:
|
Thanks for starting this and I already like the suggestions. My comments and observations (well mostly requests for discussion):
|
I also like the proposal and agree with what has been said by James and David. The only thing that I would like to pick up is the Bureau topic as I do think that it's a valuable addition to having agents running locally. It shines when using protocols to create a scalable agent platform from a single web-server as I've done in the EV charging example and I believe that there may be a case for using the Bureau as a load balancer for the task that the agents are designed for. |
This is a good point. I think that each agent in the multiple-agent examples should have their own file so they can be run independently or deployed to Agentverse. We would then have the option of including from uagents import Bureau
from alice import alice
from bob import bob
bureau = Bureau()
bureau.add(alice)
bureau.add(bob)
bureau.run() just to make it easier to run these examples. But the |
Does agentverse support |
No, the |
The text was updated successfully, but these errors were encountered: