aser

aser

Aser is a lightweight, self-assembling AI Agent frame.

Stars: 134

Visit
 screenshot

Aser is a middleware tool equipped with standardized AI capabilities such as knowledge, memory, tracing, thinking, API interfaces, and social clients. It dynamically integrates Web3 toolkits to help developers quickly build and launch AI agents with native Web3 capabilities.

README:

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:

#OPENAI
OPENAI_API_BASE=https://openrouter.ai/api/v1
OPENAI_KEY=<your openai 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 a Discord AI Agent example

Create a Telegram AI Agent example

Create a Farcaster AI Agent 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 Swarms example

Create an AI Agent with MCP example

Create an AI Agent with Workflow example

Create an AI Agent with UI example

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for aser

Similar Open Source Tools

For similar tasks

For similar jobs