All selected work
AI agent

Yak

An AI coworker that lives in Slack and the terminal.

Yak is an AI coworker you can talk to from Slack or a terminal, built with simple layers instead of an agent framework: one chat entry point, a swappable model provider (OpenAI, Claude, or Gemini), and a small set of filesystem tools scoped to a single project folder.

ROLEPersonal project · AI agent
FOCUSSlack bot & terminal AI agent

Not deployed yet — runs locally and in a private Slack workspace.

Yak's terminal chat interface, showing its startup banner and a file-read tool call
Yak answering a question from the terminal, reading a file from the project it is scoped to.
THE WORK

What I built

A small, dependency-light agent: one chat core shared by two interfaces, and file tools it can use on request.

01

Slack & terminal interfaces

Built a Slack Bolt app that replies to @mentions in a thread, and a terminal chat (npm run chat) that keeps a conversation history for one-off or ongoing sessions.

02

Provider-agnostic chat core

One chat() entry point that both interfaces call, with the model backend (OpenAI, Claude, or Gemini) picked from config so switching providers needs no code changes.

03

Scoped filesystem tools

list_files, read_file, and write_file tools confined to a single project directory, with every write confirmed in the terminal before it touches disk.

04

Typed, fail-fast config

A central config module validates required environment variables per provider at startup, so missing keys fail immediately instead of mid-conversation.

TECHNICAL CONTEXT

Tools behind the work

Node.jsTypeScriptExpressSlack BoltOpenAI APIAnthropic APIGemini API

Want to talk through the work?

Contact Yassin