Giter Site home page Giter Site logo

dapper-magician / swarmlogic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kyegomez/swarmlogic

0.0 0.0 0.0 35 KB

Layout an app idea and swarms of autonomous agents will build out the backend logic for you!

License: Apache License 2.0

Python 100.00%

swarmlogic's Introduction

SwarmLogic: Your Fluid AI-Powered Backend

SwarmLogic is an innovative backend solution leveraging swarm intelligence and powered by advanced AI models. It evolves based on API calls, automatically inferring business logic and managing data persistence, saving you from the complexities of traditional backend development.

Objective

SwarmLogic aims to revolutionize backend development by reducing complexity, saving time, and increasing efficiency. We aim to create a system where backends can evolve based on API calls, automatically inferring business logic, and managing data persistence.

Architecture

SwarmLogic follows a unique architecture inspired by swarm intelligence. At its core, SwarmLogic utilizes an array of AI agents, each capable of learning and adapting from every API call.

  • API Calls: The starting point of our architecture. Any API call triggers our AI swarm.
  • AI Swarm: A group of AI agents that interpret the API calls, infer the business logic, and handle the data state.
  • Business Logic Inference: Our AI agents use natural language understanding and processing capabilities to understand the purpose of the API call and derive the business logic.
  • Data State Management: SwarmLogic automatically manages the data state based on the inferred business logic. It can handle data persistence for different schemas and data sources.

Getting Started

Prerequisites

  • Python 3.7 or above
  • FastAPI
  • An OpenAI API key

Installation

Clone the repository by running the following command in your terminal:

git clone https://github.com/kyegomez/SwarmLogic.git

Once cloned, navigate to the SwarmLogic directory:

cd SwarmLogic

Install the required Python packages:

pip install -r requirements.txt

Usage

To start the server, run the following command in the terminal:

uvicorn main:app --reload

The FastAPI server will start and you can interact with the backend via http://localhost:8000.

For API calls, make a POST request to http://localhost:8000/{app_name}/{api_call} with a JSON body.

Example

curl -X POST "http://localhost:8000/todo_list/create_todo" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{\"app_name\":\"todo_list\",\"api_call\":\"create_todo\"}"

In case of an error or exception, check the app.log file in the root directory for detailed information.

Contributing

We appreciate contributions of any kind and acknowledge them on our README. Please follow the existing coding style, use descriptive commit messages, and remember to test your contributions before submitting a pull request.

Roadmap

We're dedicated to innovating backend development, and our roadmap is a testament to that. Each phase is a calculated step towards making our vision a reality. To learn more, check out the roadmap file file in the root directory.

License

This project is licensed under the terms of the MIT license. See LICENSE for additional details.

Acknowledgments

A big thank you to our team of researchers, software engineers, and technology enthusiasts committed to innovating and revolutionizing how backends are built. Your hard work is appreciated!

Happy coding!

swarmlogic's People

Contributors

kyegomez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.