Whenever you code your Agents on Agentverse, you will have to do this on the Agent Editor. This Editor allows you to create any Agent application using a set of different imports available on the Agentverse platform. This resource helps you in understanding what’s available and what’s not.
On Agentverse, you can now import the Agent class and create your agent with my_agent = Agent(...). Note that this is simply a wrapper for your pre-loaded agent instance, so any custom configuration you add to the Agent will be ignored. This is because the configuration, seed, name, and address for hosted Agents is already set, and is not allowed to be overwritten.
Additionally, you can now use agent.run() method, but this is also not required. Clicking Run will cause your agent to run whether you include this command or not. The main reason for supporting this is to unify local and hosted Agent code, so that your Agent code can run as either local or hosted without any modifications.
Exceptions:
Bureau is not allowed as each Agent project can contain only a single Agent.Build fast and lightweight for decentralized scenarios using the uagents Framework. Check out the uAgents documentation:
Available classes: Model, Context, Protocol.
Example:
This package allows you to interact with HTTP requests and responses.
Available functions: get, post, put, patch, delete.
Example:
A Python library for interacting with Cosmos-based blockchains. Checkout the CosmPy documentation:
Full access to all functions and features.
Example:
A package to ensure data validation and settings management. It simplifies the process of defining and validating data models by providing a way to declare and enforce data types, constraints, and validation rules on Python data structures.
Full access to all functions and features.
Example:
pymongo allows Python applications to interact with MongoDB databases, making it easy to perform various database operations such as inserting, updating, deleting, and querying documents.
Full access to all functions and features.
Example:
bs4 make it easy to parse and interact with HTML and XML documents for web scraping or data extraction.
Example:
langchain-anthropic contains the LangChain integration for Anthropic’s generative models:
Example:
langchain-community contains third-party integrations that implement the base interfaces defined in LangChain Core, making them ready-to-use in any LangChain application. It is automatically installed by langchain, but can also be used separately:
Example:
langchain-core contains the base abstractions that power the rest of the LangChain ecosystem:
Example:
langchain-google-genai contains the LangChain integrations for Gemini through their generative-ai SDK:
Example:
langchain-google-vertexai contains the LangChain integrations for Google Cloud generative models:
Example:
langchain-openai contains the LangChain integrations for OpenAI through their openai SDK:
Example:
langchain-text-splitters contains utilities for splitting into chunks a wide variety of text documents:
Example:
langchain assists in the development of applications integrating with LLMs:
Example:
nltk is a package for natural language processing.
Example:
openai provides easy access to the OpenAI REST API. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx.
Example:
tenacity is a general-purpose retrying library to simplify the task of adding retry behavior to just about anything.
Example:
unstructured is a library for processing and extracting data from unstructured file formats such as PDFs, Word documents, and more.
Example:
validators is a Python library designed for data validation. It provides simple functions to verify the validity of various types of data:
Example:
web3 is a Python library for interacting with the Ethereum blockchain. It provides functionalities for sending transactions, interacting with smart contracts, and querying blockchain data:
Example:
anthropic is a Python SDK for interacting with Anthropic’s AI models, such as Claude. It allows developers to send prompts, configure responses, and integrate natural language processing into their applications.
Example:
mcp (Model Context Protocol) is a specification and set of tools for connecting AI models with external data sources, applications, and tools through a unified protocol. It allows developers to integrate AI assistants with structured APIs and real-time services.
Example:
httpx is a fully featured HTTP client for Python, supporting HTTP/1.1, HTTP/2, connection pooling, timeouts, streaming, and async requests. It’s a modern alternative to requests with built-in async support.
Example:
asyncpg is an asynchronous PostgreSQL client library for Python, designed for high-performance database interactions.
Example:
faiss-cpu is a library for efficient similarity search and clustering of dense vectors, optimized for CPUs.
Example:
google-genai is Google’s client for accessing Gemini models and other generative AI features.
Example:
huggingface-hub provides utilities to interact with the Hugging Face Hub, allowing you to download and upload models, datasets, and spaces.
Example:
langgraph is a framework for building stateful, graph-based workflows around LLMs using LangChain primitives.
Example:
pypdf is a pure-Python library for reading, manipulating, and writing PDFs.
Example:
It contains the core components and abstractions used by the uAgents framework.
Client library for interacting with the Agentverse platform.
Asynchronous file handling for Python.
Implements the “Happy Eyeballs” algorithm for concurrent IPv4/IPv6 connection attempts.
Asynchronous HTTP client/server framework.
Retry support for aiohttp requests.
Signal handling helpers for asyncio programs.
Runtime-usable type annotations, extending Python typing.
Asynchronous compatibility layer across asyncio, trio, and curio.
Declarative, boilerplate-free class creation library.
Function decorator for retrying with exponential backoff.
HTML and XML parser for web scraping.
Implementation of Bech32 encoding/decoding, used in blockchain addresses.
Efficient arrays of booleans stored as bits.
Fast array operations for NumPy.
Extensible caching collections and decorators.
Root certificates for SSL validation.
Foreign Function Interface for calling C code from Python.
Character encoding detector.
Alternative to chardet for encoding detection.
Cryptographic library for polynomial commitments (KZG).
Package for creating command-line interfaces.
Cryptographic library for elliptic curve operations (secp256k1).
General-purpose cryptography library for Python.
Cython implementation of toolz for fast functional utilities.
JSON support for dataclasses.
Distribution utilities for Python packaging.
Linux distribution information library.
DNS toolkit for Python.
Parse Python docstrings into structured data.
Elliptic Curve Digital Signature Algorithm library.
Elliptic Curve Integrated Encryption Scheme for Python.
Library for handling emojis in Python.
Ethereum ABI encoding/decoding.
Ethereum account management.
Ethereum-specific hashing utilities.
Ethereum keyfile management.
Ethereum key utilities.
Ethereum RLP encoding/decoding.
Ethereum-specific typing definitions.
General Ethereum utilities.
Python wrapper for executing FFmpeg commands for audio/video processing.
Cross-platform file locking library.
Infer file type and MIME type from binary data.
Immutable list implementation for async frameworks.
Filesystem specification for unified file access.
Google API client for Generative Language models.
Core utilities for Google API clients.
Authentication library for Google APIs.
Google Cloud AI Platform client library.
BigQuery client library.
Shared library for Google Cloud Python clients.
Client for Google Cloud Resource Manager.
Client for Google Cloud Storage.
CRC32C checksum implementation.
Support for resumable uploads and downloads.
Common protocol buffer definitions for Google APIs.
Lightweight in-process concurrent coroutines.
IAM policy API client for gRPC.
gRPC framework for Python.
Status code utilities for gRPC.
HTTP/1.1 protocol library.
Hexadecimal byte representation for Ethereum.
HTML parser based on the WHATWG specification.
Low-level HTTP client library used by httpx.
Server-Sent Events (SSE) extension for httpx.
Internationalized Domain Names in Applications (IDNA) support.
Fast JSON parser.
Lightweight pipelining and parallelism library.
Implementation of JSON Patch standard.
Implementation of JSON Pointer standard.
Validation of JSON documents against schemas.
Base specifications for JSON Schema.
Language detection library.
Checkpointing utilities for LangGraph.
Prebuilt components for LangGraph workflows.
SDK for working with LangGraph.
LangChain observability and evaluation platform.
Fast, pure-Python LRU (Least Recently Used) dictionary.
High-performance XML and HTML library.
Object serialization/deserialization library.
Multi-value dictionary implementation.
Extensions to Python typing for mypy.
Fast array expression evaluator.
Core scientific computing library.
Parser for OLE (Object Linking and Embedding) files.
Fast JSON parser and serializer.
Optimized MessagePack serializer/deserializer.
Utilities for version and dependency handling.
PEG parser library.
Python package installer.
Determine platform-specific directories.
Property caching decorator.
Pythonic interface to protocol buffers.
Google’s protocol buffers implementation.
Process and system monitoring utilities.
Elliptic curve cryptography for Ethereum.
Apache Arrow Python bindings.
ASN.1 data structures and codecs.
Common ASN.1 modules.
C parser in pure Python.
Cryptographic library as a drop-in for PyCrypto.
Core validation logic for Pydantic.
Settings management with Pydantic.
JSON Web Token implementation in Python.
Date/time utilities.
Loads environment variables from .env files.
Utilities for ISO 639 language codes.
File type identification using libmagic.
Multipart parsing for form-data (file uploads).
OXMSG file parser.
Unicode text normalization utilities.
YAML parser and emitter.
Fuzzy string matching.
JSON schema reference resolution.
Alternative regular expression engine.
Extensions for the requests library.
Recursive Length Prefix (RLP) encoding for Ethereum.
Immutable data structures in Rust for Python.
RSA cryptographic library.
Geometry manipulation and analysis library.
Compatibility utilities between Python 2 and 3.
Detect currently running async library.
Sorted collection types.
CSS selector library for BeautifulSoup.
SQL toolkit and ORM.
Server-Sent Events (SSE) support for Starlette.
ASGI framework for building web apps.
Tokenizer for OpenAI models.
Functional programming utilities.
Progress bar library.
Backports of newer typing features.
Inspection utilities for typing objects.
Additional runtime inspection for typing.
Adapter tools for uAgents framework.
AI Engine integration for uAgents.
Client library for the Unstructured data processing API.
HTTP client library.
ASGI server implementation.
Virtual environment manager.
Web encoding standards for HTML/CSS.
WebSocket client and server library.
Function decorators and wrappers.
URL parsing and manipulation library.
Zstandard compression library.