fetchai / uAgents
A fast and lightweight framework for creating decentralized agents with ease.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing fetchai/uAgents in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewuAgents: AI Agent Framework uAgents is a library developed by Fetch.ai that allows for creating autonomous AI agents in Python. With simple and expressive decorators, you can have an agent that performs various tasks on a schedule or takes action on various events. π Features β’ π€ **Easy creation and management**: Create any type of agent you can think of and implement it in code. β’ π **Connected**: On startup, each agent automatically joins the fast-growing network of uAgents by registering on the Almanac, a smart contract deployed on the Fetch.ai blockchain. β’ π **Secure**: uAgent messages and wallets are cryptographically secured, so their identities and assets are protected. β‘ Quickstart Installation Get started with uAgents by installing it for Python 3.10 to 3.13: pip install uagents Running a Demo Creating an Agent Build your first uAgent using the following script: Include a seed parameter when creating an agent to set a fixed address, for example from an environment variable: Otherwise the agent's private key will be stored locally alongside its name in . If you create the agent without a name , a new address will be generated each time you run the agent. Giving it a task Give it a simple task, such as a greeting: Running the Agent So far, your code should look like this: Run it using: You should see the results in your terminal. π Documentation Please see the official documentation for full setup instructions and advanced features. β’ π Introduction β’ π» Installation β’ Tutorials β’ π€ Create an Agent β’ π£οΈ Agent Communication β’ π½οΈ ASI:One Compatible Agent β’ Key Concepts: β’ πAddresses β’ πΎ Storage β’ π Synchronous Communication β’ π Agent Broadcast π± Examples and Integrations The repository contains several examples of how to create and run various types of agents as well as more intricate integrations. This is the official place for internal and community open source applications built on uAgents. Python Library Go to the folder for details on the Python uAgents library. uAgents Core The folder contains core definitions and functionalities to build 'agent' like software which can interact and integrate with Fetch.ai ecosystem and agent marketplace. β¨ Contributing All contributions are welcome! Remember, contribution includes not only code, but any help with docs or issues raised by other developers. See our contribution guidelines for more details. π Development Guidelines Read our development guidelines to learn some useful tips related to development. β Issues, Questions, and Discussions We use GitHub Issues for tracking requests and bugs, and GitHub Discussions for general questions and discussion. π‘ Disclaimer This project, uAgents, is provided "as-is" without any warranty, express or implied. By using this software, you agree to assume all risks associated with its use, including but not limited to unexpected behavior, data loss, or any other issues that may arise. The developers and contributors of this project do not accept any responsibility or liability for any losses, damages, or other consequences that may occur as a result of using this software. License The uAgents project is licensed under Apache License 2.0.