ai-agents-laravel
shelby_as_a_service
ai-agents-laravel | shelby_as_a_service | |
---|---|---|
1 | 4 | |
30 | 6 | |
- | - | |
8.2 | 9.3 | |
6 days ago | 6 months ago | |
PHP | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ai-agents-laravel
-
Introducing TypeChat from Microsoft
I built and released something really similar to this (but smaller scope) for Laravel PHP this week: https://github.com/adrenallen/ai-agents-laravel
My take on this is, it should be easy for an engineer to spin up a new "bot" with a given LLM. There's a lot of boring work around translating your functions into something ChatGPT understands, then dealing with the response and parsing it back again.
With systems like these you can just focus on writing the actual PHP code, adding a few clear comments, and then the bot can immediately use your code like a tool in whatever task you give it.
Another benefit to things like this, is that it makes it much easier for code to be shared. If someone writes a function, you could pull it into a new bot and immediately use it. It eliminates the layer of "converting this for the LLM to use and understand", which I think is pretty cool and makes building so much quicker!
None of this is perfect yet, but I think this is the direction everything will go so that we can start to leverage each others code better. Think about how we use package managers in coding today, I want a package manager for AI specific tooling. Just install the "get the weather" library, add it to my bot, and now it can get the weather.
shelby_as_a_service
-
Introducing TypeChat from Microsoft
It’s logit bias. You don’t even need another library to do this. You can do it with three lines of python.
Here’s an example of one of my implementations of logit bias.
https://github.com/ShelbyJenkins/shelby-as-a-service/blob/74...
- Easy-to-Deploy Q&A Bot for Discord/Slack
- Documentation Accessible to GPT: Easy-to-Deploy Q&A Bot for Discord/Slack
-
Understanding LangChain Basic Concepts
Sort of. I’ve found it’s value , currently, is not in its intended purpose to build “chains” of tools. The moment you have to do something non-standard you have to build from scratch which is more difficult with all of the abstraction involved.
Where I do find it useful is the many tools it saves me from having to build from scratch. I don’t need to build a page scraper or an embedding service with retries are two things I use it for the bot I built for my companies slack and discord. In theory I could see using it more in my project eventually. https://github.com/ShelbyJenkins/shelby-as-a-service
What are some alternatives?
TypeChat - TypeChat is a library that makes it easy to build natural language interfaces using types.
zod-gpt - Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.
CopilotKit - Build in-app AI chatbots 🤖, and AI-powered Textareas ✨, into react web apps. [Moved to: https://github.com/CopilotKit/CopilotKit]
ts-patch - Augment the TypeScript compiler to support extended functionality
guidance - A guidance language for controlling large language models. [Moved to: https://github.com/guidance-ai/guidance]
CopilotKit - A framework for building custom AI Copilots 🤖 in-app AI chatbots, in-app AI Agents, & AI-powered Textareas.
gollum - Production grade LLM-ops in Golang