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

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.3.tar.gz (26.3 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.3-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aser-0.1.3.tar.gz
  • Upload date:
  • Size: 26.3 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.3.tar.gz
Algorithm Hash digest
SHA256 d4865030e0288401fad3de23ac7e595885e885f0216f6d82815c4ae47df1be9f
MD5 e369db345aa92f187b34d36b4d2634e5
BLAKE2b-256 fc27be9bb337b97b4b142b37ccf76a3a412ef67bd2f5481a6c465374a89a89bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aser-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 34.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e865a99cd4eb6ab68a78a0e6e46058601d8304043c546d0248f5a23e867d07cf
MD5 14f0e6d8bca842ccf6670dd137492192
BLAKE2b-256 7c71efb6a855a38463fbf788441671588b9d3556188fba682fb7b2e4c2bd5b39

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