Jfeng3 / superagent

πŸ₯· Superagent - The agent framework for large language models

Home Page:https://docs.superagent.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Superagent πŸ₯·

The agent framework for large language models

GitHub Contributors GitHub Last Commit GitHub Issues GitHub Pull Requests Github License Discord

🧐 Superagent

Superagent is an open source agent framework that enables any developer to integrate production ready AI Agents in their applications in a matter of minutes.

πŸŽ₯ Demo

demo.mp4

✨ Use cases

Superagent allows you to build any AI application/micro service you want, including:

  • Question/Answering over Documents (LLM Finetuns/Vectorstores)
  • Chatbots
  • Co-pilots & AI assistants
  • Content generation
  • Data aggregation
  • Workflow automation

πŸ‘€ Features

  • Memory
  • Streaming
  • Custom finetuning πŸ†•
  • Python/Typescript SDKs
  • REST API
  • API connectivity
  • Vectorization
  • Support for proprietory and OSS LLMs
  • API concurrency

πŸ“‹ Documentation

For full documentation, visit docs.superagent.sh

To see how to contribute, visit Contribution guidelines

πŸ› οΈ Getting started

Clone the Superagent repository into a public GitHub repository or fork it from https://github.com/homanp/superagent/fork.

If you plan to distribute the code, keep the source code public.

Both the API and UI require a database in order to work. We recommend settings this up on Supabase.

Superagent API
  1. Navigate to /libs/superagent

  2. Rename the env.example to .env and make sure you have all mandatory values set:

  3. Create a virtual environment

    virtualenv venv
    source venv/bin/activate
  4. Install dependencies

    poetry install
  5. Run database migrations

    poetry run prisma migrate dev
  6. Start the server

    uvicorn app.main:app --reload
Superagent UI
  1. Navigate to /libs/ui

  2. Rename the env.example to .env and make sure you have all mandatory values set

  3. Install the dependencies

    npm install
  4. Run the development server

    npm run dev
    
Superagent legacy

Please refer to the README in /libs/legacy for further instructions.

🫢 Contributions

Superagent is an open-source project, and contributions are welcome. If you would like to contribute, you can create new features, fix bugs, or improve the infrastructure. Please refer to the CONTRIBUTING.md file in the repository for more information on how to contribute

⭐ Acknowledgements

We want to give a big shout out to following open source projects, without which Superagent wouldn't be possible.

About

πŸ₯· Superagent - The agent framework for large language models

https://docs.superagent.sh

License:MIT License


Languages

Language:JavaScript 37.2%Language:TypeScript 31.7%Language:Python 28.2%Language:Shell 0.6%Language:MDX 0.5%Language:Dockerfile 0.4%Language:Smarty 0.4%Language:PLpgSQL 0.3%Language:CSS 0.2%Language:HTML 0.2%Language:Nix 0.1%Language:Makefile 0.1%