News for hackers. Stuff that matters.

Show HN: I made AI agent lib that you will understand

https://github.com/Pravko-Solutions/FlashLearn

Every time I wanted to use LLMs in my existing pipelines the integration was very bloated, complex, and too slow. This is why I created a lightweight library that works just like scikit-learn, the flow generally follows a pipeline-like structure where you “fit” (learn) a skill from sample data or an instruction set, then “predict” (apply the skill) to new data, returning structured results.

High-Level Concept Flow

Your Data --> Load Skill / Learn Skill --> Create Tasks --> Run Tasks --> Structured Results --> Downstream Steps

And the bast part: Every step can be saved and reused as JSON!

Installation:

pip install flashlearn

( 3 comments | 2 points | on HN )
Re:Show HN: I made AI agent lib that you will understand by hassleblad23 on Tuesday February 04, 2025 @03:17PM (#42937998)
Great work OP.
Re:Show HN: I made AI agent lib that you will understand by galgia on Tuesday February 04, 2025 @03:41PM (#42938275)
Thank you! It took a while :)
Re:Show HN: I made AI agent lib that you will understand by codenote on Tuesday February 04, 2025 @09:57PM (#42943125)
That's great! I'm also currently developing a product to execute workflows with AI agents, so I understand those challenges very well.