# Building AI agents with just bash and a filesystem in TypeScript

DevFeed: [Building AI agents with just bash and a filesystem in TypeScript](<https://devfeed.tech/articles/building-ai-agents-with-just-bash-and-a-filesystem-in-typescript-5883.md>)

Original publisher: [Read original article](<https://turso.tech/blog/agentfs-just-bash>)

Author: Pekka Enberg

Published: 2026-01-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [AI Bots](<https://devfeed.tech/topics/ai-bots.md>), [vercel ai sdk](<https://devfeed.tech/topics/vercel-ai-sdk.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [bash](<https://devfeed.tech/tags/bash.md>), [cloudflare-workers](<https://devfeed.tech/tags/cloudflare-workers.md>), [security](<https://devfeed.tech/tags/security.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [turso](<https://devfeed.tech/tags/turso.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

A tutorial for giving AI agents Bash-like tools through just-bash and AgentFS without exposing the host filesystem.

## Source excerpt

Give your AI agent transparent bash access without a real shell. just-bash runs grep, sed, awk, and cat in TypeScript on top of Turso-backed AgentFS.