Python Agents

Open-source Python projects categorized as Agents
Topics: AI llm Python Gpt gpt-4

Top 18 Python Agent Projects

  • llama_index

    LlamaIndex is a data framework for your LLM applications

  • Project mention: LlamaIndex: A data framework for your LLM applications | news.ycombinator.com | 2024-04-07
  • marvin

    ✨ Build AI interfaces that spark joy

  • Project mention: Show HN: Marvin 2.0 – a lightweight, multi-modal AI toolkit | news.ycombinator.com | 2024-01-17

    Hey 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)

  • 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.

    WorkOS logo
  • acme

    A library of reinforcement learning components and agents

  • GPTeam

    GPTeam: An open-source multi-agent simulation

  • Project mention: Show HN: eastworld – quickly add generative agents to games, visual novels, etc. | news.ycombinator.com | 2023-08-24

    Emotion 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!

  • langroid

    Harness LLMs with Multi-Agent Programming

  • Project mention: OpenAI: Streaming is now available in the Assistants API | news.ycombinator.com | 2024-03-14

    This 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...

  • 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.

  • Project mention: Show HN: Common protocol for communication with (and between) AI Agents | news.ycombinator.com | 2023-08-09
  • 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

  • Project mention: Swarms – Automating all digital activities with millions of autonomous AI Agents | news.ycombinator.com | 2023-07-10
  • 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.

    InfluxDB logo
  • lionagi

    Powerful Intelligent Workflow Automation

  • Project mention: LangChain is slow – Scale to 1K's of bots with LionAGI | news.ycombinator.com | 2024-03-06
  • Instrukt

    Integrated AI environment in the terminal. Build, test and instruct agents.

  • Project mention: Instrukt: a TUI AI assistant to explore and understand any complex code base. | /r/programming | 2023-09-07
  • talking_with_hn

    The full experience of chatting with your favourite news website.

  • Project mention: How can I put my app in the Gallery? | /r/StreamlitOfficial | 2023-12-10
  • action-branching-agents

    (AAAI 2018) Action Branching Architectures for Deep Reinforcement Learning

  • surv_ai

    A framework to empower forecasting using Large Language Models (LLMs)

  • Project mention: SurvAI: Prediction Models Powered by AI Agents | news.ycombinator.com | 2023-06-11
  • bark-ml

    Gym environments and agents for autonomous driving.

  • GPT-agents

    Browsing-enabled GPT agents with different personalities.

  • emerging-trajectories

    Open source framework for using LLMs to forecast political, economic, and social events.

  • Project mention: Large language models (e.g., ChatGPT) as research assistants | news.ycombinator.com | 2024-04-27

    I 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.

  • 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**

  • Project mention: Stable Agents – Concise List of What AI Agents Can Do | news.ycombinator.com | 2023-08-08
  • ai-traineree

    PyTorch agents and tools for (Deep) Reinforcement Learning

  • BotPlayers

    Play with agents and more.

  • Project mention: Let agents interact with the world through tool calling | news.ycombinator.com | 2023-08-15
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Agents related posts

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com