Local AI agent for terminal, TUI, and web.
Zyn is a local AI agent designed for terminal and web usage. It supports persistent sessions, system tools, multiple AI providers, session exports, and configurable models.
- Node.js 18+
- npm
- Internet connection for remote providers
npm install -g zyn-ai
zyngit clone https://github.com/SoyMaycol/Zyn.git
cd Zyn
npm install
npm startzyn
zyn "Explain this project"
zyn --new
zyn --resume IDInside Zyn:
/web
/web 0.0.0.0:3000
Or directly:
npm run webSupported languages:
enes
Commands:
/lang
/lang en
/lang es
| Command | Description |
|---|---|
/help |
Show available commands |
/status |
Show current status |
/history |
Show recent actions |
/memory |
Show memory summary |
/sessions |
List saved sessions |
/new |
Create a new session |
/resume <ID> |
Resume a session |
/title <text> |
Rename session |
| Command | Description |
|---|---|
/model |
Show or change model |
/models |
List models |
/providers |
List providers |
/lang <en|es> |
Change language |
/config show |
Show config |
/auto on|off |
Toggle auto approval |
/cwd <path> |
Change working directory |
| Command | Description |
|---|---|
/tools |
List tools |
/skills |
List skills |
/gmail connect |
Connect Gmail with Google OAuth + PKCE |
/gmail status |
Show Gmail connection status |
/gmail disconnect |
Remove saved Gmail tokens |
/cwd |
Show working directory |
| Command | Description |
|---|---|
/web |
Start web interface |
/transcript |
Show transcript |
/export |
Export session |
| Command | Description |
|---|---|
/stop |
Stop current task |
/reset |
Reset session |
/exit |
Exit Zyn |
In the TUI, press ESC twice to stop the current task.
Custom models can be added using data/models.json.
Example:
{
"models": {
"my-gemini-flash": {
"label": "Gemini Flash",
"provider": "gemini",
"geminiModel": "gemini-flash"
}
}
}