Ag

Agents Made Simple

Hacker News

Agents Made Simple

I have built many AI agents, and all frameworks felt so bloated, slow, and unpredictable. Therefore, I hacked together a minimal library that works with JSON/dict/kwargs definitions for each step, allowing you a simpler way to define reproducible agents. It supports concurrency for up to 1000 calls/min, giving you speed and predictability in your workflows. Install pip install flashlearn Input is a list of dictionaries Simply take user inputs, API responses, and calculations from other tools and feed them to FlashLearn . user_inputs = [{"query": "When was python launched?"}] Skill is just a simple dictionary A skill is an LLM’s ability to perform a task, containing all the necessary information. You can create your own, use predefined samples, or generate them automatically from example data. ConvertToGoogleQueries = { "skill_class": "GeneralSkill", "system_prompt": "Exactly populate the provided function definition", "function_definition": { "type": "function", "function": { "name": "ConvertToGoogleQueries", "description": "Convert the given question into between 1 and n google queries to answer the given question.", "strict": True, "parameters": { "type": "object", "properties": { "google_queries": { "type": "array", "items": {"type": "string"} } }, "required": ["google_queries"], "additionalProperties": False } } } } Run in 3 lines of code Load the skill, create tasks (a list of dictionaries), and run them in parallel. Results are easy to parse in downstream steps. skill = GeneralSkill.load_skill(ConvertToGoogleQueries) tasks = skill.create_tasks([{"query": "User's query"}]) results = skill.run_tasks_in_parallel(tasks) Get structured results The output is a dictionary, where each key corresponds to an index in the original list. This lets you keep track of results easily. flash_results = {'0': {'google_queries': ["QUERY_1", "QUERY_2"]}} Pass on to downstream tasks Use the structured JSON output in your next steps. queries = flash_results["0"]["google_queries"] results = SimpleGoogleSearch(GOOGLE_API_KEY, GOOGLE_CSE_ID).search(queries) msgs = [ {"role": "system", "content": "insert links from search results in response to quote it"}, {"role": "user", "content": str(results)}, {"role": "user", "content": "When was python launched?"} ] print(client.chat.completions.create(model=MODEL_NAME, messages=msgs).choices[0].message.content) Feel free to ask anything!

Share card

Actual performance

5points
6comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: supports, para · Missing: reddit linkedin, podcasting, created
83%83% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, model · Missing: mac, macos, cursor
78%78% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: google, way, para · Missing: mobile apps, ios, personal
48%48% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, 000, io · Missing: https docs, excited, just released
31%31% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: calls · Missing: plus, platform, intuitive
29%29% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat · Missing: web3, crypto, cryptocurrency
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Peargent
Peargent81%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI Agents Made Simple

Product Hunt+94Open Source
Da
Damn Simple Carpooling44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Damn Simple Carpooling

Hacker News53
si
simple dependencies in CoffeeScript.52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

simple dependencies in CoffeeScript.

Hacker News4
Pt
Ptrfy, simple textbook digitization44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ptrfy, simple textbook digitization

Hacker News2
Di
Discovering and Comparing Gadgets Made Simple39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Discovering and Comparing Gadgets Made Simple

Hacker News1
Da
Daodalus - MongoDB querying & aggregation made simple (Ruby)40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Daodalus - MongoDB querying & aggregation made simple (Ruby)

Hacker News3
Si
Simple Webworkers44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple Webworkers

Hacker News2
Si
Simple Mandelbrot renderer in Haskell70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple Mandelbrot renderer in Haskell

Hacker News4
Si
Simple Translations for Nurses and their Patients32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple Translations for Nurses and their Patients

Hacker News1
A
A simple bytecode interpreter in Clojure61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A simple bytecode interpreter in Clojure

Hacker News1