Skip to main content

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:

pip3 install aser

Clone the repository:

git clone https://github.com/AmeNetwork/aser.git
cd aser
pip3 install -r requirements.txt

Set up environment variables

Please refer to .env.example file, and create a .env file with your own settings. You can use two methods to import environment variables.

Using python-dotenv:

pip install python-dotenv

Then add the following code to your python file.

from dotenv import load_dotenv
load_dotenv()

Exporting all variables in the terminal:

export $(grep -v '^#' .env | xargs)

Basic Usage

from aser.agent import Agent
agent=Agent(name="aser agent",model="gpt-4.1-mini")
response=agent.chat("what's bitcoin?")
print(response)

Integrations & Examples

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aser-0.1.4.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aser-0.1.4-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file aser-0.1.4.tar.gz.

File metadata

  • Download URL: aser-0.1.4.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for aser-0.1.4.tar.gz
Algorithm Hash digest
SHA256 abe92195584245d01b2a46b27030852e80af146587d22a467812fe187df73ae2
MD5 3f173b414b969c206ab47cffa2e6829c
BLAKE2b-256 c94b05dead5d23a42b054a392a092b95afeaf33fea8a50b6143040ca5f7dc283

See more details on using hashes here.

File details

Details for the file aser-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: aser-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for aser-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c70a8ba3e0733ae51a49f6ba3db57a70f516dca21bef17a795fb03a3a2ccc5d
MD5 6242346d6e27e473598d2522c4f99882
BLAKE2b-256 02d432707c0259ac9887e29fa4d3720fb2ad0a9d0f12d5bbaf5ceb0052e316b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page