Skip to content
puppyone-aiPublic

About

Environment-Oriented Programing Framework for AI Agents

Resources

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

Image

Puppys

Environment-Oriented Programing Framework for AI Agents

🏠 PuppyAgentTech    📜 Documentation   

Twitter   Discord

-Environment-Oriented-

Build an LLM-friendly environment before building your agents.

-Code-Driven-

Environment, action and reasoning of agents are all based on codes.

-Plug and Play-

Insert agent’s ability into anywhere your existing code.

Image

Environment-Oriented Programming

The most important thing for an agent to work is an agent-friendly environment.

Puppys provides a framework that describe environment as agent can understand.

Image

Code-Driven

Code is the universal language for defining the behavior of LLM-based agents.

Puppys provides a code-driven programming framework that allows agents to generate code based on the current environment to modify the environment accordingly.

Image

Plug-and-Play

Embed the agent's action into any your existing code, transforming your original code into an agentic system

No DSL. No Workflow. Only Python (We understand that you don't like DSL or Workflow)

Image

Install

pip install git+https://github.com/PuppyAgent/Puppys.git

Quick Start & User Case

  1. 📢 Hacker News Reporter
from puppy.pp.mei import Mei

# change the API key to your own
# os.environ["OPENAI_API_KEY"] = ""


def hacker_news_decisiontree(self):

    self.do_check("go to https://news.ycombinator.com/ show the HTML", show_response=True)

    self.do_check("show the top 10 news @llm, and send it to me", show_response=True)

    self.do_check("pick the news that related to Large Language Models, summarize all the news, and send it to me")


hacker_news = Mei(hacker_news_decisiontree)

hacker_news.run()

Dependency

LiteLLM

How to Contribute

We warmly invite you to contribute to the Puppys framework and are excited to see how the community will accelerate its growth as an open-source agent framework! We believe your involvement will enhance its development and shape its future. For a detailed contribution guide, please refer to the following: CONTRIBUTING.md

Contact Us

For collaboration, inquiries, career opportunities, and more, please contact:

Founder: guantum@puppyagent.com

Book a meeting with founders via Calendly

Our Team: puppyteam@puppyagent.com

About

Environment-Oriented Programing Framework for AI Agents

Resources

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages