Skip to content

Aeris (Autonomous Engine for Real-time Intelligent Support) a lightweight framework for building LLM integrated assistants

Notifications You must be signed in to change notification settings

Jay-Madden/aeris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aeris 🧚 -- Autonomous Engine for Real-time Intelligent Support

General AGI assistant framework/playground

A fastapi inspired lightweight llm agent framework.

Allows for easily adding and removing model integrated functions. And keeping track of a long stateful interaction with a given model.

Example

from llm.session import Session, SessionGroup

group = SessionGroup()

@group.function("Reads a file on the computer at a given path")
def read_file(
    file_path: Annotated[
        str, Param(description="The relative path to the file to read")
    ]
) -> str:
    with open(file_path) as f:
        return f.read()


session = Session(
    token=token, default_model="gpt-4o-mini"
)

session.add_group(group)

def main() -> None:
    try:
        while True:
            text = input("User >> ")
            session.make_request(text)
    except SessionEndError:
        pass
    except KeyboardInterrupt:
        pass

Maybe one day this will actually be useful 😆

Configuration

Name Description
OPENAI_API_KEY Your openai api key
USER_NAME The name of the primary person interacting with the assistant (Defaults to john doe)
LOCATION The primary location of the person interacting with the assistant (Defaults to new york)

About

Aeris (Autonomous Engine for Real-time Intelligent Support) a lightweight framework for building LLM integrated assistants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages