Skip to content

Latest commit

 

History

88 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-SDK-X

ai-sdk-x logo

Your agent maybe ONLY need this tool.

AI-SDK-X is a Virtual Bash.

It brings bash tool to the AI SDK.

Build agents that interact with a real Unix-like shell.

Supports most Unix commands, curl, git, and WASM runtimes for node and python.

Also includes Skills, Memory, and Patch.

See the Docs.

Quick Start

Install the packages:

npm install ai-sdk-x ai zod

Then, try your agent:

import { X } from "ai-sdk-x";
import { ToolLoopAgent } from "ai";

const bash = X.init();
const tools = await bash.getTools();

const agent = new ToolLoopAgent({
  model: "gpt-5.5",
  tools,
  stopWhen: stepCountIs(20),
});

await agent.generate({
  prompt: `
    First, search and install "frontend-design" Skills.

    Then, read it and implement a "Snake game" in the Workspace.

    Finally, summarise into Memory.`
});

About

✨ Power your Agent with Bash 🔋

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages