Menu

Use skills in your AI SDK agents via bash-tool - Vercel
📰
0

Use skills in your AI SDK agents via bash-tool - Vercel

Vercel News·Malte Ubl·4 days ago
#eqm426u1
#vercel#skills#bash#tool#agent#tools
Reading 0:00
15s threshold

Skills support is now available in bash-tool , so your AI SDK agents can use the skills pattern with filesystem context, Bash execution, and sandboxed runtime access. This gives your agent a consistent way to pull in the right context for a task, using the same isolated execution model that powers filesystem-based context retrieval. This allows giving your agent access to the wide variety of publicly available skills , or for you to write your own proprietary skills and privately use them in your agent. import { experimental_createSkillTool as createSkillTool , createBashTool , } from "bash-tool" ; import { ToolLoopAgent } from "ai" ; // Discover skills and get files to upload const { skill , files , instructions } = await createSkillTool ( { skillsDirectory : "./skills" , } ) ; // Create bash tool with skill files const { tools } = await createBashTool ( { files , extraInstructions : instructions , } ) ; // Use both tools with an agent const agent = new ToolLoopAgent ( { model , tools : { skill , ...…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More