swarmlogic


Nameswarmlogic JSON
Version 0.6.4 PyPI version JSON
download
home_pagehttps://github.com/kyegomez/SwarmLogic
SummarySwarmLogic - Pytorch
upload_time2023-08-25 03:01:10
maintainer
docs_urlNone
authorKye Gomez
requires_python>=3.6,<4.0
licenseMIT
keywords artificial intelligence deep learning optimizers prompt engineering
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

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

Once cloned, navigate to the `SwarmLogic` directory:

```bash
cd SwarmLogic
```

Install the required Python packages:

```bash
pip install -r requirements.txt
```

## Usage

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

```bash
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

```bash
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](docs/ROADMAP.md) 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!


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kyegomez/SwarmLogic",
    "name": "swarmlogic",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6,<4.0",
    "maintainer_email": "",
    "keywords": "artificial intelligence,deep learning,optimizers,Prompt Engineering",
    "author": "Kye Gomez",
    "author_email": "kye@apac.ai",
    "download_url": "https://files.pythonhosted.org/packages/89/20/38d400a349755c906a81768e97f2bd03f21c22fcbb53a8d42af554e02ca2/swarmlogic-0.6.4.tar.gz",
    "platform": null,
    "description": "# SwarmLogic: Your Fluid AI-Powered Backend \n\nSwarmLogic 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.\n\n## Objective\n\nSwarmLogic 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.\n\n## Architecture\n\nSwarmLogic 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.\n\n* API Calls: The starting point of our architecture. Any API call triggers our AI swarm.\n* AI Swarm: A group of AI agents that interpret the API calls, infer the business logic, and handle the data state.\n* 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.\n* 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.\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.7 or above\n- FastAPI\n- An OpenAI API key\n\n### Installation\n\nClone the repository by running the following command in your terminal:\n\n```bash\ngit clone https://github.com/kyegomez/SwarmLogic.git\n```\n\nOnce cloned, navigate to the `SwarmLogic` directory:\n\n```bash\ncd SwarmLogic\n```\n\nInstall the required Python packages:\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\nTo start the server, run the following command in the terminal:\n\n```bash\nuvicorn main:app --reload\n```\n\nThe FastAPI server will start and you can interact with the backend via `http://localhost:8000`.\n\nFor API calls, make a POST request to `http://localhost:8000/{app_name}/{api_call}` with a JSON body.\n\n### Example\n\n```bash\ncurl -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\\\"}\"\n```\n\nIn case of an error or exception, check the `app.log` file in the root directory for detailed information.\n\n## Contributing\n\nWe 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.\n\n## Roadmap\n\nWe'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](docs/ROADMAP.md) file in the root directory.\n\n## License\n\nThis project is licensed under the terms of the MIT license. See `LICENSE` for additional details.\n\n## Acknowledgments\n\nA 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!\n\nHappy coding!\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "SwarmLogic - Pytorch",
    "version": "0.6.4",
    "project_urls": {
        "Homepage": "https://github.com/kyegomez/SwarmLogic"
    },
    "split_keywords": [
        "artificial intelligence",
        "deep learning",
        "optimizers",
        "prompt engineering"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f97e82cee7f722aa67f4e136359392b37fb78077a6d55acfd0728bbe43dbf39b",
                "md5": "d51af3f28f445dc632de0af34150dd06",
                "sha256": "3c50924830be745955ca7cecf47a335e72c024ddb6f0a22be50dabe9a937759f"
            },
            "downloads": -1,
            "filename": "swarmlogic-0.6.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d51af3f28f445dc632de0af34150dd06",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6,<4.0",
            "size": 17031,
            "upload_time": "2023-08-25T03:01:08",
            "upload_time_iso_8601": "2023-08-25T03:01:08.681591Z",
            "url": "https://files.pythonhosted.org/packages/f9/7e/82cee7f722aa67f4e136359392b37fb78077a6d55acfd0728bbe43dbf39b/swarmlogic-0.6.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "892038d400a349755c906a81768e97f2bd03f21c22fcbb53a8d42af554e02ca2",
                "md5": "ab62878c8621bbc11558064d4a31dfbc",
                "sha256": "811a583143f94444a92ba3a36c675954febbfa4a62b8a0c9cea98766e10edf61"
            },
            "downloads": -1,
            "filename": "swarmlogic-0.6.4.tar.gz",
            "has_sig": false,
            "md5_digest": "ab62878c8621bbc11558064d4a31dfbc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6,<4.0",
            "size": 13692,
            "upload_time": "2023-08-25T03:01:10",
            "upload_time_iso_8601": "2023-08-25T03:01:10.175635Z",
            "url": "https://files.pythonhosted.org/packages/89/20/38d400a349755c906a81768e97f2bd03f21c22fcbb53a8d42af554e02ca2/swarmlogic-0.6.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-25 03:01:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kyegomez",
    "github_project": "SwarmLogic",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "swarmlogic"
}
        
Elapsed time: 0.10806s