Python Agents

Open-source Python projects categorized as Agents

Top 22 Python Agent Projects

  • llama_index

    LlamaIndex is a data framework for your LLM applications

  • Project mention: Show HN: Route your prompts to the best LLM | news.ycombinator.com | 2024-05-22
  • marvin

    ✨ Build AI interfaces that spark joy

  • Project mention: I'm puzzled how anyone trusts ChatGPT for code | news.ycombinator.com | 2024-05-08

    I've never tried it myself, but Prefect does have something like this with their Marvin AI library for Python.

    https://github.com/PrefectHQ/marvin?tab=readme-ov-file#-buil...

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • acme

    A library of reinforcement learning components and agents

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

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

  • 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 Business Operation 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
  • gigax

    LLM-powered NPCs running on your hardware

  • Project mention: Show HN: LLM-powered NPCs running on your hardware | news.ycombinator.com | 2024-04-30

    But we're also working with the https://cu.bzh platform to create demos using their engines - those should give you inspiration as well!

    [1] https://github.com/GigaxGames/gigax/blob/main/tests/test_ste...

  • mychatGPT

    GPT chat with your docs!

  • Project mention: Can I let AI read a group of information from books and what not and then let it answer questions? | /r/ArtificialInteligence | 2023-06-04
  • julep

    Open-source backend for building stateful AI apps

  • Project mention: Show HN: Julep: A platform to manage memories, knowledge and tools for LLM apps | news.ycombinator.com | 2024-05-14
  • 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.

  • emerging-trajectories

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

  • Project mention: Google AI search feature suggested using glue to keep cheese sticking to a pizza | news.ycombinator.com | 2024-05-24

    You can 100% do this. We do that at my startup (https://emergingtrajectories.com/). We build a fact base from reliable sources or information you give us, and we have multiple layers of checks to ensure the LLM only references those facts.

    It is not 100% foolproof, though, and depends on how broad your universe of knowledge needs to be. If you can only cite from 3 sources or 100 facts, this is easy to verify and force...

    For Google, they need to have the world's information (they are a global search engine, after all) -- deciding what is true or not is incredibly complex and there are many shades of grey.

    I think part of this is also just eye-catching headlines -- Google searches aren't reliable either, but we've learned to live with them and incorporate them into personal workflows that work for us. LLMs are new and we're still figuring out how to do this as users (and as product builders).

  • GPT-agents

    Browsing-enabled GPT agents with different personalities.

  • stableagents

    Stable, Semi-Autonomous, Reliable and Steerable LLM Agents for production use cases.

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

    data-to-paper: Backward-traceable AI-driven scientific research

  • Project mention: Data-to-paper: autonomous stepwise LLM-driven research | news.ycombinator.com | 2024-05-11
  • 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

  • Effective Unit Testing for REST APIs with Node.js, TypeScript

    1 project | dev.to | 25 May 2024
  • Google AI search feature suggested using glue to keep cheese sticking to a pizza

    1 project | news.ycombinator.com | 24 May 2024
  • Show HN: Route your prompts to the best LLM

    7 projects | news.ycombinator.com | 22 May 2024
  • Increase Your Code Coverage with Cover-Agent

    1 project | dev.to | 22 May 2024
  • How to Automate Test Generation with AI: Using CodiumAI Cover-Agent

    1 project | dev.to | 22 May 2024
  • Cover Agent: open-source test generation (implements Meta's TestGen-LLM paper)

    1 project | news.ycombinator.com | 22 May 2024
  • We created the first open-source implementation of Meta's TestGen–LLM

    4 projects | news.ycombinator.com | 21 May 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 Jun 2024
    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. Learn more →

Index

What are some of the best open-source Agent projects in Python? This list will help you:

Project Stars
1 llama_index 32,094
2 marvin 4,868
3 acme 3,399
4 langroid 1,736
5 GPTeam 1,576
6 agent-protocol 804
7 swarms 739
8 lionagi 256
9 Instrukt 232
10 gigax 199
11 mychatGPT 124
12 julep 264
13 talking_with_hn 105
14 action-branching-agents 105
15 surv_ai 93
16 bark-ml 90
17 emerging-trajectories 58
18 GPT-agents 57
19 stableagents 35
20 data-to-paper 296
21 ai-traineree 25
22 BotPlayers 18

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com