AI Agent Notebooks Using LangChain, LlamaIndex, Milvus, and More

https://github.com/ytang07/ai_agents_cookbooks

ai_agents_cookbooks

Cookbooks for AI Agents

Want to learn more AI at events? Follow along with our calendar at lu.ma/oss4ai

What is an AI Agent? An AI that can use other software as tools.

Prereqs:

  • Python 3.10 or higher

Setup

A development container is a running container with a well-defined tool/runtime stack and its prerequisites. You can try out development containers with GitHub Codespaces or Visual Studio Code Dev Containers.

Devcontainer Setup

  1. Install docker and visual studio code, if you haven't already

  2. Install the vscode devcontainer extension

  3. Either click here to automatically install and open the cookbooks in a new devcontainer, or follow the proceeding steps if you want to put them in a more recognizable place.

  4. Clone this repository onto your local computer

  5. Open up the folder in vscode

  6. Press "Ctrl-Shift-P" in vscode, and type "Dev Containers: Rebuild and Reopen"

  7. You should be good!

Codespaces Setup

  1. Just navigate to this repo on github, and in the dropdown menu, select "Codespaces".

You can’t perform that action at this time.

{
"by": "yujian",
"descendants": 0,
"id": 40247807,
"score": 2,
"time": 1714745155,
"title": "AI Agent Notebooks Using LangChain, LlamaIndex, Milvus, and More",
"type": "story",
"url": "https://github.com/ytang07/ai_agents_cookbooks"
}
{
"author": "ytang07",
"date": null,
"description": "Cookbooks for AI Agents. Contribute to ytang07/ai_agents_cookbooks development by creating an account on GitHub.",
"image": "https://opengraph.githubassets.com/9c16af42f0bfe2e5393859dcd09fcf9084c194cb7ae77ed9594078bf0bca7224/ytang07/ai_agents_cookbooks",
"logo": "https://logo.clearbit.com/github.com",
"publisher": "GitHub",
"title": "GitHub - ytang07/ai_agents_cookbooks: Cookbooks for AI Agents",
"url": "https://github.com/ytang07/ai_agents_cookbooks"
}
{
"url": "https://github.com/ytang07/ai_agents_cookbooks",
"title": "GitHub - ytang07/ai_agents_cookbooks: Cookbooks for AI Agents",
"description": "Skip to content Navigation Menu GitHub Copilot Write better code with...",
"links": [
"https://github.com/ytang07/ai_agents_cookbooks"
],
"image": "https://opengraph.githubassets.com/9c16af42f0bfe2e5393859dcd09fcf9084c194cb7ae77ed9594078bf0bca7224/ytang07/ai_agents_cookbooks",
"content": "<div>\n <div>\n <p><a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks#start-of-content\">Skip to content</a>\n <span>\n <span></span>\n</span></p>\n <h2>Navigation Menu</h2>\n <div>\n <ul>\n <li>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/copilot\">\n <div>\n <p>GitHub Copilot</p><p>\n Write better code with AI\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/security\">\n <div>\n <p>Security</p><p>\n Find and fix vulnerabilities\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/actions\">\n <div>\n <p>Actions</p><p>\n Automate any workflow\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/codespaces\">\n <div>\n <p>Codespaces</p><p>\n Instant dev environments\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/issues\">\n <div>\n <p>Issues</p><p>\n Plan and track work\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/code-review\">\n <div>\n <p>Code Review</p><p>\n Manage code changes\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/discussions\">\n <div>\n <p>Discussions</p><p>\n Collaborate outside of code\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/code-search\">\n <div>\n <p>Code Search</p><p>\n Find more, search less\n </p></div>\n</a></li>\n </ul>\n </div>\n</li>\n <li>\n</li>\n <li>\n <div>\n <p><span>Explore</span></p><ul>\n <li>\n <a target=\"_blank\" href=\"https://resources.github.com/learn/pathways\">\n Learning Pathways\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://resources.github.com/\">\n White papers, Ebooks, Webinars\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/customer-stories\">\n Customer Stories\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://partner.github.com/\">\n Partners\n</a></li>\n </ul>\n </div>\n</li>\n <li>\n <div>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/sponsors\">\n <div>\n <p>GitHub Sponsors</p><p>\n Fund open source developers\n </p></div>\n</a></li>\n </ul>\n </div>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/readme\">\n <div>\n <p>The ReadME Project</p><p>\n GitHub community articles\n </p></div>\n</a></li>\n </ul>\n </div>\n </div>\n</li>\n <li>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/enterprise\">\n <div>\n <p>Enterprise platform</p><p>\n AI-powered developer platform\n </p></div>\n</a></li>\n </ul>\n </div>\n</li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/pricing\">Pricing</a>\n</li>\n </ul>\n <div>\n <div>\n <div>\n <p>\n </p><h2 id=\"feedback-dialog-title\">\n Provide feedback\n </h2>\n <p></p>\n </div>\n <div>\n <p>\n </p><h2 id=\"custom-scopes-dialog-title\">\n Saved searches\n </h2>\n <h2 id=\"custom-scopes-dialog-description\">Use saved searches to filter your results more quickly</h2>\n <p></p>\n </div>\n </div>\n <p><a target=\"_blank\" href=\"https://github.com/signup?ref_cta=Sign+up&amp;ref_loc=header+logged+out&amp;ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&amp;source=header-repo&amp;source_repo=ytang07%2Fai_agents_cookbooks\">\n Sign up\n </a>\n </p></div>\n </div>\n </div>\n <div>\n <div>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/login?return_to=%2Fytang07%2Fai_agents_cookbooks\"> Notifications\n</a> You must be signed in to change notification settings\n </li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/login?return_to=%2Fytang07%2Fai_agents_cookbooks\"> Fork\n <span>43</span>\n</a>\n </li>\n <li>\n <p>\n <a target=\"_blank\" href=\"https://github.com/login?return_to=%2Fytang07%2Fai_agents_cookbooks\"> <span>\n Star\n</span> <span>90</span>\n</a></p>\n </li>\n</ul>\n </div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks\">\n <span>Code</span>\n <span></span>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks/issues\">\n <span>Issues</span>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks/pulls\">\n <span>Pull requests</span>\n <span>3</span>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks/actions\">\n <span>Actions</span>\n <span></span>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks/projects\">\n <span>Projects</span>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks/security\">\n <span>Security</span>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks/pulse\">\n <span>Insights</span>\n <span></span>\n</a></li>\n</ul>\n </div>\n <div> \n <div><article><p></p><h2>ai_agents_cookbooks</h2><a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks#ai_agents_cookbooks\"></a><p></p>\n<p>Cookbooks for AI Agents</p>\n<p>Want to learn more AI at events? Follow along with our calendar at lu.ma/oss4ai</p>\n<p>What is an AI Agent? An AI that can use other software as tools.</p>\n<p>Prereqs:</p>\n<ul>\n<li>Python 3.10 or higher</li>\n</ul>\n<p></p><h2>Setup</h2><a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks#setup\"></a><p></p>\n<p>A <strong>development container</strong> is a running container with a well-defined tool/runtime stack and its prerequisites. You can try out development containers with <strong><a target=\"_blank\" href=\"https://github.com/features/codespaces\">GitHub Codespaces</a></strong> or <strong><a target=\"_blank\" href=\"https://aka.ms/vscode-remote/containers\">Visual Studio Code Dev Containers</a></strong>.</p>\n<p></p><h3>Devcontainer Setup</h3><a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks#devcontainer-setup\"></a><p></p>\n<ol>\n<li>\n<p>Install docker and visual studio code, if you haven't already</p>\n</li>\n<li>\n<p>Install the <a target=\"_blank\" href=\"https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers\">vscode devcontainer extension</a></p>\n</li>\n<li>\n<p>Either click <a target=\"_blank\" href=\"https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/UserNobody14/ai_agents_cookbooks\">here</a> to automatically install and open the cookbooks in a new devcontainer, <em>or</em> follow the proceeding steps if you want to put them in a more recognizable place.</p>\n</li>\n<li>\n<p>Clone this repository onto your local computer</p>\n</li>\n<li>\n<p>Open up the folder in vscode</p>\n</li>\n<li>\n<p>Press \"Ctrl-Shift-P\" in vscode, and type \"Dev Containers: Rebuild and Reopen\"</p>\n</li>\n<li>\n<p>You should be good!</p>\n</li>\n</ol>\n<p></p><h3>Codespaces Setup</h3><a target=\"_blank\" href=\"https://github.com/ytang07/ai_agents_cookbooks#codespaces-setup\"></a><p></p>\n<ol>\n<li>Just navigate to this repo on github, and in the dropdown menu, select \"Codespaces\".</li>\n</ol>\n</article></div>\n </div>\n </div>\n <div>\n <p>\n You can’t perform that action at this time.\n </p></div>\n <details>\n <summary></summary>\n </details>\n <p>\n </p>\n <p>\n </p>\n </div>",
"author": "",
"favicon": "https://github.githubassets.com/favicons/favicon.svg",
"source": "github.com",
"published": "",
"ttr": 56,
"type": "object"
}