Agents patterns
Are your agents falling short? Elevate your AI projects with advanced patterns: ReAct, planning, multi-agents, and more. Practical guide with code!
-->
Install system requeriments
sudo apt updatesudo apt install -y python3 python3-pip git
From here, if you have a debian based system you can use the alfred.deb installer
Install python requeriments
pip install halopip install --upgrade openai
Create source folder
sudo rm -r /usr/src/alfredcd /usr/srcgit clone -b branch_v1.3 https://github.com/maximofn/alfred.gitcd /usr/src/alfredsudo find . -depth -not -name '*.py' -delete
Create symbolic link to /usr/bin/alfred
echo 'alias alfred="/usr/src/alfred/alfred.py"' >> ~/.bashrc
Restart bash
source ~/.bashrc
Loggin to OpenAI and get your OpenAI api key
You can ask to alfred specific questions by typing alfred followed by your question
Or write alfred, intro and keep asking him questions. To finish type exit
If you like it consider giving the repository a star ⭐, but if you really like it consider buying me a coffee ☕.
Are your agents falling short? Elevate your AI projects with advanced patterns: ReAct, planning, multi-agents, and more. Practical guide with code!
🚀 Revolutionize your AI agents! 🧠 LangGraph is not just another library, it's the orchestration framework that gives you total control to build complex agents, with long-term memory and even human intervention! Say goodbye to basic chatbots, it's time to create true intelligence. Dive into this post and discover it!
Learn how to create virtual environments with uv, a package manager and environment for Python written in Rust, which makes it very fast. If you have had problems with the waiting times using conda, or want a faster and easier alternative to venv, enter and see how to use uv.
Hugging Face spaces allow us to run models with very simple demos, but what if the demo breaks? Or if the user deletes it? That's why I've created docker containers with some interesting spaces, to be able to use them locally, whatever happens. In fact, if you click on any project view button, it may take you to a space that doesn't work.
Dataset with jokes in English
Dataset with translations from English to Spanish
Dataset with Netflix movies and series