# Files over tools: how we built the Knock Agent with a virtual filesystem and bash

Original title: Files over tools: how we built our agent with a virtual filesystem and bash

> Hacker News story 48845364 · language: en · submitted 2026-07-09
> Web version: https://zeli.app/story/48845364
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 9 · by [cjbell](<https://news.ycombinator.com/user?id=cjbell>) · 💬 1
[original](<https://knock.app/blog/how-we-built-the-knock-agent-virtual-filesystem-and-bash>) · [HN discussion](<https://news.ycombinator.com/item?id=48845364>)

## Summary

We built the Knock Agent to manage customer messaging by replacing complex API tools with a virtual filesystem and bash. Instead of exposing every API endpoint, we give the agent a file-based view of your account, allowing it to explore context and script changes efficiently. By porting just-bash to Elixir, we created a lightweight, secure environment that mirrors how developers work locally, enabling the agent to edit workflows and templates directly before persisting changes back to Knock.

## Key quote

> We believe a full sandbox is—at this stage—overkill for our simple needs.

---

## Cite

- Page: https://zeli.app/story/48845364
- Date: 2026-07-09
- Source: knock.app (https://knock.app/blog/how-we-built-the-knock-agent-virtual-filesystem-and-bash)
- Hacker News: https://news.ycombinator.com/item?id=48845364

## Other languages

- zh: https://zeli.app/zh/story/48845364 · markdown: https://zeli.app/zh/story/48845364.md
- ja: https://zeli.app/ja/story/48845364 · markdown: https://zeli.app/ja/story/48845364.md
- ko: https://zeli.app/ko/story/48845364 · markdown: https://zeli.app/ko/story/48845364.md
- de: https://zeli.app/de/story/48845364 · markdown: https://zeli.app/de/story/48845364.md
- es: https://zeli.app/es/story/48845364 · markdown: https://zeli.app/es/story/48845364.md
