SquidWings

Open source · AGPL-3.0 · Indonesian first

Open-source AI agent for the terminal and web

SquidWings runs on your own machine. It chats, reads PDFs and Office files, researches the web with sources, makes videos, and does real coding work: it edits files, runs commands in a sandbox, then checks its own results. You pick the model, including cheap ones or one running locally.

Linux and macOS
$ git clone https://github.com/zynxx24/SquidWings.git
$ cd SquidWings
$ ./linux.sh setup   # Windows: windows.bat setup
  • Linux, macOS, Windows
  • Any OpenAI-compatible model
  • 144 tools
  • Every feature free
  1. 01You

    Terminal chat, web UI, a Terminal panel per chat, and a Telegram bot

  2. 02Go gateway

    Serves the pages and WebSocket. The chat page loads in 8 ms instead of 37 ms

  3. 03Python agent

    Orchestrator, model router, and machine learning such as OCR and Whisper

  4. 04Rust core

    The heavy work: Office documents, PDF text, file search, token counts, relevance ranking

  5. 05Sandbox

    Agent commands in bubblewrap or Docker, network off by default

The layers of SquidWings, from what you use to where commands run.

Preview

What you get

Real screenshots of the Web UI, taken on 5 December 2026 (the interface is in Indonesian). One research question: the agent read two web pages, then answered with its sources. The chat list is hidden and the bottom is cropped; the answer is unchanged.

SquidWings Web UI on a desktop: a question about the Model Context Protocol, a three-point answer, and two source links
Desktop, 1280 px wide. The "2 dari web" line marks the pages the agent read.
The same chat on a 390 px phone screen, with the message box and model picker at the bottom
Phone, 390 px wide. The answer keeps running on the laptop while the phone screen is off.
./linux.sh check
Alat:
  [OK   ] Python: 3.14.5 (perlu 3.12 atau lebih baru) - agent, model AI, dan server web
  [OK   ] git: 2.43.0 (perlu versi apa saja) - mengambil versi terbaru SquidWings dan skills dari GitHub
  [OK   ] Rust (cargo): 1.96.0 (perlu 1.92 atau lebih baru) - inti harness dan worker untuk dokumen, PDF, OCR, dan pencarian file (wajib sejak migrasi)
  [OK   ] C linker: cc 13.3.0 (perlu cc, gcc, atau clang) - linker yang dipakai Rust
  [OK   ] Go: 1.27.4 (perlu 1.27 atau lebih baru) - gateway web yang lebih cepat (tanpa Go, server Python jalan sendiri)
  [OK   ] Ruang build (/tmp): 10.9 GB kosong (perlu 1.5 GB) - folder sementara tempat Rust dan Go dibangun (dihapus setelah selesai)

Bagian yang dikompilasi (dibangun otomatis oleh launcher):
  [OK   ] Inti Rust harness: terbaru
  [OK   ] Worker Rust: terbaru
  [OK   ] Gateway Go: terbaru

Checkout developer: ya, tidak mengambil dari GitHub
Program untuk video, audio, dan render (ffmpeg, Node, HyperFrames): ./linux.sh tools

Semua yang wajib sudah siap.

Real output on the developer's laptop (the tool speaks Indonesian). On your machine, anything missing is marked together with the command that installs it.

Spec

One app for code, documents, research, and media

Chat, agent teams, a model router, a web terminal, voice, trading, and a video editor live in one place. What a task does not need stays stored and out of the model's context.

ModelsAny OpenAI Chat Completions compatible endpoint: Claude, GPT, Gemini, DeepSeek, Qwen, Llama, or a local model in Ollama and LM Studio. The model list is fetched automatically.
InterfacesTerminal chat (CLI), web UI, a per-chat Terminal panel in the browser, and a Telegram bot, all on one orchestrator.
Coding agentReads and edits files, runs commands and tests in a sandbox, then checks the result before it answers.
DocumentsReads text and images from PDF, Word, PowerPoint, Excel, EPUB, ZIP, and scans with local OCR. Writes Word, PowerPoint, Excel, CSV, and PDF files you download from the chat.
Web researchSearches through SearXNG or Brave, opens several pages, reads them, and cites its sources.
Video and audioDownloads video, audio, or subtitles from YouTube and about 1,800 other sites (yt-dlp), transcribes locally with faster-whisper, and renders video from code to MP4 (HyperFrames or Remotion).
Agent teamsAn n8n-style workflow canvas: delays, OR gates, schedules, Telegram bots, and databases. Only the lines you draw run.
Toolbox144 tools that stay hidden until needed: maths, dates, units, tables, money, maps, weather, exchange rates, a risk calculator, Office, PDF, voice-over, video, and audio.
SecuritySandbox, policy engine, path jail, audit log, prompt-injection shield, and secret masking. python main.py doctor tries to escape the sandbox and reports what happened.
PlatformsLinux, macOS, and Windows. Needs Python 3.12+, Rust 1.92+ with a C linker, and git. Go 1.27+ is optional and makes the web faster.
CodeRust for the heavy logic, Python for the agent and machine learning, Go for the web. Every module moved to Rust is checked until its answers match the Python version exactly.
LanguageThe interface and docs are in Indonesian.
LicenseAGPL-3.0. Every feature is free, including the MT4/MT5 trading panel and the video editor.

Execution harness

How cheap models still get the work right

The harness checks every step the model takes and moves to a stronger model only when it has to. The reason shows in the chat.

  1. Read the request

    Every answer starts with one line: the kind of task, how hard it is, and the model in use.

  2. Pick the model

    Auto mode picks the cheapest reliable model for the difficulty. Work with tools never goes to a light model. A model you lock is always used as it is.

  3. Work with tools

    Toolbox tools are sent only when asked for, so the context stays small. Commands run in the sandbox.

  4. Check the result

    The harness verifies results, breaks loops, and repairs tool arguments the model wrote badly.

  5. Move up one tier after a failure

    In Auto mode, the turn after a failed turn uses a stronger tier. A model you lock is never swapped behind your back: when it fails, the chat explains why.

Providers

Bring your own provider and API key

Fill in two lines in .env, or add them on the Router page in the web UI. No model name is hard-coded.

.env
API_BASE_URL=https://openrouter.ai/api/v1
API_KEY=your-key

Ollama and LM Studio still need an API_KEY, but any value works.

ProviderAPI_BASE_URL
OpenAIhttps://api.openai.com/v1
OpenRouterhttps://openrouter.ai/api/v1
Groqhttps://api.groq.com/openai/v1
9Routerhttp://localhost:20128/v1
Ollamahttp://localhost:11434/v1
LM Studiohttp://localhost:1234/v1

Quick start

Install with one setup command

Setup checks your tools, creates .venv, installs the packages, then builds the Rust core, the Rust worker, and the Go gateway (about 3 minutes the first time). When something is missing, it prints the install command for your system. ./linux.sh check only checks.

SystemWebWeb + phone linkTerminal chat
Linux, macOS./linux.sh./linux.sh --tunnel./linux.sh chat
Windowswindows.batwindows.bat --tunnelwindows.bat chat

Once it runs, open http://127.0.0.1:8080 and set your provider on the Router page. Helper programs (ffmpeg, Node.js, cloudflared, Tesseract, and more) install without sudo through python main.py tools install all. Every step for each system is in the install guide.

Add-ons

Extras that stay off until you switch them on

They live in the same repository and are free. Turn one on with python main.py addon install <name>.

  • Trading

    An MT4/MT5 panel with charts and an order ticket, quant and neural models, an LLM analyst, live simulation, and auto trading with stop loss and trailing stop. Trading features do not guarantee profit: test on a demo account first.

  • Video Studio

    A motion editor in the browser with clips, keyframes, notes, and an AI chat for revisions.

  • Home Wi-Fi

    Monitor and manage your router remotely: connected devices, speed, blocking, Wi-Fi password, and channel. Huawei ONTs with the .asp web UI only for now (tested on EG8145V5).

FAQ

Common questions

Is SquidWings free?

Yes. Every feature is released under AGPL-3.0, the trading panel and video editor included. The only cost is API usage at the model provider you choose. Local models in Ollama or LM Studio have no API cost.

Which AI models can it use?

Any OpenAI-compatible endpoint: OpenAI, OpenRouter, Groq, 9Router, Ollama, LM Studio, and others. That covers Claude, GPT, Gemini, DeepSeek, Qwen, and Llama. The model list comes straight from the provider.

How is it different from Claude Code or Cursor?

SquidWings does similar work, but you choose the model and provider, including cheap or local ones. Besides coding, it has a web UI, a Telegram bot, agent teams, document reading, web research, and video making in one app.

Is it safe to let an AI run commands?

Agent commands run in a bubblewrap or Docker sandbox. The agent can only write to its working folder, and the sandbox has no network by default. A policy engine, audit log, and prompt shield add more checks. Run python main.py doctor to test the isolation.

Does it run on Windows?

Yes. Run windows.bat setup, then windows.bat. The Terminal panel uses PowerShell, and agent commands use Git Bash when it is installed.

Can I use it from my phone?

Yes. ./linux.sh --tunnel opens a Cloudflare link for your phone and sends it to Telegram. Answers keep running on your computer when the phone screen turns off, and show up when you open the page again.

Can it run on a local model with no paid API?

Yes, through Ollama or LM Studio. Document OCR and speech transcription also run on your machine. Web research and automatic updates still need the internet.