Documentation Index
Fetch the complete documentation index at: https://docs.ame.network/llms.txt
Use this file to discover all available pages before exploring further.
Install & Setup
Install
Install from pypi: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)
Running your Agent
from aser.agent import Agent
agent=Agent(name="aser agent",model="gpt-4.1-mini")
response=agent.chat("what's bitcoin?")
print(response)