Stevenic / agentm-py

A library of "Micro Agents" that make it easy to add reliable intelligence to any application.
MIT License
8 stars 3 forks source link

Migrate Agent Implementations to Python #25

Closed debuggerone closed 2 months ago

debuggerone commented 2 months ago

Overview

This issue focuses on migrating the agent functions from JavaScript to Python. These agents are essential for the core functionality of the library and include tasks such as filtering, mapping, sorting, and answering grounded questions. The migration will ensure all agent functionalities are preserved and optimized for Python.

Tasks

Subtasks Overview

  1. Filter, Map, Sort, Grounded Answer Functions:
    • Migrate core agent functions such as filterList, mapList, sortList, and groundedAnswer to Python.
    • Ensure all logic, including asynchronous behavior, is translated correctly using Python's async/await syntax.
  2. Utility Functions:
    • Translate utility functions like splitText.ts to Python.
    • Ensure these functions are optimized for Python’s standard libraries and idiomatic code practices.