The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 18 Python Agent Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
agent-protocol
Common interface for interacting with AI agents. The protocol is tech stack agnostic - you can use it with any framework for building agents.
-
swarms
Orchestrate Swarms of Agents From Any Framework Like OpenAI, Langchain, and Etc for Real World Workflow Automation. Join our Community: https://discord.gg/DbjBMJTSWD
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
emerging-trajectories
Open source framework for using LLMs to forecast political, economic, and social events.
-
stableagents
[WIP 🚧 ] Stable, Semi-Autonomous, Reliable and Steerable LLM Agents for production use cases. This is a template of python code but requires you to bring your own model. **NOTE: A custom model for Stable Agents is coming soon**
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: LlamaIndex: A data framework for your LLM applications | news.ycombinator.com | 2024-04-07
Project mention: Show HN: Marvin 2.0 – a lightweight, multi-modal AI toolkit | news.ycombinator.com | 2024-01-17Hey HN! We just released Marvin 2.0.
Marvin is an AI toolkit for developers who want to use LLMs with traditional software. We still see significant challenges integrating LLMs because of how difficult it is to get them to reliably accept and return structured data. Marvin consists of independent, functional tools that address this problem in a variety of ways.
Marvin has always been focused on using LLMs to work with native Python datatypes and Pydantic models. In 2.0 we've expanded this significantly with dedicated APIs for the most common use cases we've seen over the last year: classification, entity extraction, transforming data to types, and generating synthetic data. Marvin 2.0 is also fully multi-modal and supports images as inputs for classification, extraction, and transformation tasks (as well as simple image and speech generation). We've also introduces a Pythonic interface to OpenAI's assistants API, which now powers all of Marvin's interactive components.
We've tried to make an LLM framework that "sparks joy" and captures that same feeling you had the first time you saw an LLM in action. Try it out and let us know what you think!
(Repo: https://github.com/PrefectHQ/marvin)
Project mention: Show HN: eastworld – quickly add generative agents to games, visual novels, etc. | news.ycombinator.com | 2023-08-24Emotion Queries, Player Guardrails, etc. - in a simple small API & server
We have a demo game that we made (https://github.com/game-kings/detective), and a demo video (https://www.youtube.com/watch?v=VSqIzjOk5p4).
The demo game is a murder mystery set in Gold Rush era San Francisco. It includes a somewhat novel scoring mechanism at the end where your ability as a detective is scored based on cosine similarity between the embeddings of your explanation and ours.
We showed this to some friends of ours and, despite it frankly being an extremely hacked together game, they thought it surprisingly fun. This makes us really excited for what kinds of games are possible with tools like this.
We know there’s some similar prior art in this category but we think this still has a lot to offer.
The open-source work like GPTeam (https://github.com/101dotxyz/GPTeam) or ai-town (https://github.com/a16z-infra/ai-town) is mostly geared towards recreations of the Sims, and are not as general purpose as our framework.
There are commercial offerings like InworldAI, but I think our framework exists in a different space - we support Local AI out of the box, and hope this is the direction that gaming goes in. I don’t really want to start paying a subscription for every single-player game in the future. While we wait for chips to get cheaper and open-source models to get better, using GPT-3.5 or GPT-4 produces pretty similar if not better results than commercial offerings.
Of course, our project isn't perfect, isn’t feature-complete and definitely isn’t polish-complete. After showing it to our friends, we realized we need release early to get early feedback from others. We want to make this great and empower open-source LLM gaming in the future. We would love to hear your feedback.
We know for sure that some of you are much more creative storytellers than we are, and we can’t wait to see what you come up with!
Have fun!
Project mention: OpenAI: Streaming is now available in the Assistants API | news.ycombinator.com | 2024-03-14This was indeed true in the beginning, and I don’t know if this has changed. Inserting messages with Assistant role is crucial for many reasons, such as if you want to implement caching, or otherwise edit/compress a previous assistant response for cost or other reason.
At the time I implemented a work-around in Langroid[1]: since you can only insert a “user” role message, prepend the content with ASSISTANT: whenever you want it to be treated as an assistant role. This actually works as expected and I was able to do caching. I explained it in this forum:
https://community.openai.com/t/add-custom-roles-to-messages-...
[1] the Langroid code that adds a message with a given role, using this above “assistant spoofing trick”:
https://github.com/langroid/langroid/blob/main/langroid/agen...
Project mention: Show HN: Common protocol for communication with (and between) AI Agents | news.ycombinator.com | 2023-08-09
Project mention: Swarms – Automating all digital activities with millions of autonomous AI Agents | news.ycombinator.com | 2023-07-10
Project mention: LangChain is slow – Scale to 1K's of bots with LionAGI | news.ycombinator.com | 2024-03-06
Project mention: Instrukt: a TUI AI assistant to explore and understand any complex code base. | /r/programming | 2023-09-07
Project mention: Large language models (e.g., ChatGPT) as research assistants | news.ycombinator.com | 2024-04-27I think LLMs can do a lot more than people assume, but they need to be given the proper frameworks.
When was the last time a researcher, economist, etc. was given 10,000 papers and simply told "do some original work"? That's not how it works. Daniel (the author) provides some good examples where _streamlined_ work can happen, but again, this is pretty basic stuff.
To push this further, though, imagine LLMs that fill in frameworks... A few steps here: (1) do a lit review, (2) fill in the framework, (3) discuss what might be missing, and maybe even try and fill in the missing information.
I'm doing something like this with politics and economics (see: https://emergingtrajectories.com/) and it works generally well. I think with a ton more engineering, curating of knowledge bases, etc., one can get these LLMs to actually find some new "nuggets" of information.
Admittedly, it's very hard, but I think there's something there.
Project mention: Stable Agents – Concise List of What AI Agents Can Do | news.ycombinator.com | 2023-08-08
Project mention: Let agents interact with the world through tool calling | news.ycombinator.com | 2023-08-15
Python Agents related posts
- Large language models (e.g., ChatGPT) as research assistants
- Ask HN: Is RAG the Future of LLMs?
- LlamaIndex: A data framework for your LLM applications
- Long-form factuality in large language models
- LlamaIndex is a data framework for your LLM applications
- Ask HN: What are some actual use cases of AI Agents?
- Ollama Python and JavaScript Libraries
-
A note from our sponsor - WorkOS
workos.com | 28 Apr 2024
Index
What are some of the best open-source Agent projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | llama_index | 30,910 |
2 | marvin | 4,739 |
3 | acme | 3,373 |
4 | GPTeam | 1,553 |
5 | langroid | 1,509 |
6 | agent-protocol | 754 |
7 | swarms | 650 |
8 | lionagi | 236 |
9 | Instrukt | 214 |
10 | talking_with_hn | 102 |
11 | action-branching-agents | 102 |
12 | surv_ai | 92 |
13 | bark-ml | 90 |
14 | GPT-agents | 56 |
15 | emerging-trajectories | 54 |
16 | stableagents | 34 |
17 | ai-traineree | 24 |
18 | BotPlayers | 18 |
Sponsored