An AI Agent
Project description
Aser
Aser is equipped with standardized AI capability middleware, such as knowledge, memory, tracing, thinking, API interfaces, and social clients. By dynamically integrating Web3 toolkits, it helps developers quickly build and launch AI agents with native Web3 capabilities.
Website | Documentation | Get Support | 中文
Installation
Install from pypi:
pip install aser
Or clone the repository:
git clone https://github.com/AmeNetwork/aser.git
cd aser
pip install -r requirements.txt
Set up environment variables
Please refer to .env.example file, and create a .env file with your own settings. You don't need to configure all environment variables, just select the ones you use.
.env file example:
#MODEL
MODEL_BASE_URL=https://openrouter.ai/api/v1
MODEL_KEY=<your model key>
Usage
#Basic
from aser.agent import Agent
agent=Agent(name="aser agent",model="gpt-4.1-mini")
response=agent.chat("what's bitcoin?")
print(response)
# Full configuration
aser = Agent(
name="aser",
model="gpt-4o-mini",
tools=[web3bio, exa],
knowledge=knowledge,
memory=memory,
chat2web3=[connector],
mcp=[price],
trace=trace
)
Integrations & Examples
If you clone the project source code, before running the examples, please run pip install -e . in the root directory, which allows Python to find and import the aser module from the local source code. If you install it via pip install aser , you can run the examples directly.
Create an AI Agent with Model example
Create an AI Agent with Memory example
Create an AI Agent with Knowledge example
Create an AI Agent with Tools example
Create an AI Agent with Toolkits example
Create an AI Agent with Trace example
Create an AI Agent with Model Smart Contract Protocol example
Create an AI Agent Server example
Create an AI Agent with CLI example
Create an AI Agent with Thinking example
Create an AI Agent with MCP example
Create an AI Agent with Workflow example
Create an AI Agent with UI example
Create a Discord AI Agent example
Create a Telegram AI Agent example
Create a Farcaster AI Agent example
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aser-0.1.6.tar.gz.
File metadata
- Download URL: aser-0.1.6.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b089ccc25e53be40d11bc7c8217dadfd8b95f05e67e46f8ab6424f97cb066358
|
|
| MD5 |
5a80aaa09e16706763a5c3bd717f68df
|
|
| BLAKE2b-256 |
61c11fdc561532665e9e5d0cffd578ec7fb1dd7749398f026ad6456b8f876fac
|
File details
Details for the file aser-0.1.6-py3-none-any.whl.
File metadata
- Download URL: aser-0.1.6-py3-none-any.whl
- Upload date:
- Size: 37.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65ac90cc70702b920cf453d1833435a59e3c64171dfccbdf3d8aef8fdff003a6
|
|
| MD5 |
80f74eef01a87fc9b5428dffd43c1e81
|
|
| BLAKE2b-256 |
57124d4af302a2e6c698ede9c05773b0df8e7ade0d999f247c09a4e1865b9165
|