Awesome
<div align="center">🧠 Synapse
Start building AI-driven applications with Synapse today!
Click here to read the documentation
</div>Synapse allows you to seamlessly integrate and manage AI agents in your Laravel applications. Inspired by Langchain and Saloon, this package simplifies AI agent creation and management, giving you the tools to run them at scale.
Features
- Supports multiple AI integrations, including OpenAI, Ollama and Claude.
- Easily extendable agent lifecycle with customizable hooks.
- Memory options for agents: temporary (CollectionMemory) or persistent (DatabaseMemory).
- Use Laravel's Blade system to create dynamic prompts.
- Build complex
few-shot
agent prompts with message tagging. - Extend functionality by creating custom tools that can interact with agents. Tools can even make additional API calls or invoke other agents.
- Prebuilt agents available for quick and easy use with popular integrations like OpenAI.
Getting Started
Support Synapse's Development
If you would like to support my work, you can donate to my Ko-Fi page by simply buying me a coffee or two!
<a href='https://ko-fi.com/usethefork' target='_blank'><img height='35' style='border:0px;height:46px;' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
Thank you for using Synapse ❤️
Credits
This project would not have been possible without:
- Saloon - https://github.com/saloonphp/saloon
- LangChain - https://python.langchain.com/
- Dexor - https://github.com/bootstrapguru/dexor/
License
This package is open-source and licensed under the MIT License.