v0.4.4 — Public Alpha · Windows-first · MIT

Everything about APIs.
Trong một app duy nhất.

Desktop app AI-first thay thế Postman: sinh request bằng ngôn ngữ tự nhiên, chẩn đoán lỗi 4xx/5xx có bằng chứng, query database & tail log qua SSH — tất cả trong một ứng dụng nhẹ ~10MB, dữ liệu là file TOML nằm trên máy bạn.

Miễn phí & mã nguồn mở · AI theo mô hình BYOK — bạn tự nhập API key, secret không bao giờ rời máy

~10MBinstaller siêu nhẹ (Tauri v2)
81test pass trên Rust core
4AI provider: Claude · OpenAI · Gemini · Ollama
9+ngôn ngữ codegen
API Companion — workspace: shop-backend · env: staging
POST {{base_url}}/api/v2/orders?idempotency={{uuid.v7}} Send ⏎
RESPONSE · pretty
201 Created 182 ms 1.4 KB ✓ 5/5 assertions
{ "order_id": "ord_9f2k71", "status": "confirmed", "total": 1250000, "paid": true }
TIMING WATERFALL
DNS
TCP
TLS
TTFB
Download
AI Diagnose: lần trước 401 do header Authorization dùng token hết hạn ({{jwt(token).exp}} < now) → đã gợi ý refresh & Apply fix. Giờ 201 ✓
Vì sao chọn API Companion

Không đấu ở "HTTP client tốt hơn".
Đấu ở tổ hợp 3 differentiator.

Bruno, Hoppscotch, Insomnia đã miễn phí và tốt. API Companion xoay quanh toàn bộ vòng đời làm việc với API — không chỉ "Send Request".

AI-first (BYOK)

Generate Request từ ngôn ngữ tự nhiên, Explain API, Diagnose "Why 4xx/5xx?" với evidence + Apply fix, Generate Test Cases. Đa provider — Claude, OpenAI, Gemini, Ollama — secret không bao giờ rời máy, có scrubber bắt buộc trước mọi payload.

🛠

Ops Workspace

SSH tail/grep log + query database (read-only enforced — chặn DML/DDL ngay tầng parse) ngay trong app, gắn theo workspace. Kiểm chứng dữ liệu sau request mà không cần mở Navicat hay terminal riêng.

Local-first & git-friendly

Collections/environments là file TOML — một request một file, diff sạch. git init là chia sẻ được cho cả team. Hoặc đặt thư mục lên OneDrive/Google Drive/Dropbox/network drive — hoặc dùng Team workspace (MySQL): cả team connect chung một MySQL server tự dựng.

Tính năng chính · v0.4.4

Daily driver thực thụ cho dev backend

Rust core module hoá triệt để — mọi request đi qua engine hyper tự dựng, WebView không bao giờ tự gọi network.

🚀

HTTP engine hyper tự dựng

Mọi method, body raw/JSON/form/multipart/binary, timeout, redirect, cookie jar, hủy request giữa chừng.

📊

Timing waterfall + TLS

DNS / TCP / TLS / TTFB / download từng chặng, xem cert chain và raw headers.

🧬

Smart variables

{{uuid.v7}} {{today+7:YYYY-MM-DD}} {{faker.*}} {{jwt(token).exp}} {{otp(secret)}} — dynamic kiểu Postman nhưng mạnh hơn.

🗂

Collections TOML

Folder lồng nhau, inherit auth/headers, biến scope global < collection < env, cảnh báo biến chưa resolve.

🔐

Secret vào OS keychain

Không bao giờ plaintext trong file. Namespace secret theo từng workspace — hết đụng độ env trùng tên.

📥

Import Postman v2.1

Paste / file / folder / API key. Export ngược ra Postman v2.1 hoặc bundle native .apic.json.

Assertion runner

Khai báo status / jsonpath / header / response-time / body — tự chạy sau Send. Run cả collection/folder → báo cáo pass/fail.

🧑‍💻

Code generation

cURL, HTTP raw, JS fetch/axios, node-fetch, Python requests/httpx, Go, PHP, Rust reqwest.

🗄

History SQLite

Restore cả response cũ. Import/export cURL một chạm.

🖥

Multi-workspace

Nhiều workspace hạng nhất (personal/shared/team MySQL, màu nhãn), switcher + command palette Ctrl+K, persist & restore tabs.

📡

SSH command runner

tail/grep log server ngay cạnh request vừa gửi — connection manager TOML + secret keychain + test connection.

🛡

DB query read-only

Postgres / MySQL / SQLite. Chặn DML/DDL ở tầng sqlparser — muốn phá cũng không được.

AI đúng chỗ, không phải chatbot gắn hờ

Mô tả bằng tiếng người.
Nhận request chạy được.

AI được nhúng vào từng bước của vòng đời API — và mọi payload gửi đi đều qua secret scrubber bắt buộc (có unit test đảm bảo).

  • Generate Request — mô tả tự nhiên → preview → Insert / Insert&Send / Refine.
  • Explain API — hiểu endpoint lạ ngay trong side panel Markdown.
  • Diagnose "Why 4xx/5xx?" — rule-based tức thì + AI, kèm evidence và nút Apply fix.
  • Generate Test Cases — valid / invalid / boundary / sqli / xss / unicode…
  • BYOK đa provider — Claude, OpenAI, Gemini, hoặc Ollama chạy local 100% offline.
✦ AI · Generate Request
Bạn: tạo đơn hàng mới cho user 42, 2 sản phẩm,
     thanh toán COD, dùng env staging

✦ AI: POST {{base_url}}/api/v2/orders
    Authorization: Bearer {{token}} ← scrubbed ✓
    { "user_id": 42, "items": [...], "payment": "cod" }

[ Insert ]  [ Insert & Send ]  [ Refine… ]

✓ Sent — 201 Created · 182ms · 5/5 assertions pass
Roadmap

Đường tới 1.0 — và xa hơn

Kỷ luật phát triển: không mở milestone mới khi Definition of Done của milestone hiện tại chưa xanh.

Phase 1 · M0–M3 Hoàn tất

HTTP core → daily driver → AI identity → smart variables & self-testing.

Phase 2 · P2-M1 Ops Workspace Hoàn tất

SSH tail/grep log + DB query read-only + multi-workspace registry.

M4 · GraphQL + WebSocket Tiếp theo

Mở rộng ra ngoài HTTP thuần.

M5–M7 · Diff Engine → gRPC → Plugin SDK → 1.0

So sánh response giữa các môi trường, hỗ trợ gRPC, hệ sinh thái plugin.

Phase 2–3 · Docker/K8s → Secret Managers → Investigation Agent Vision

Traffic tools, benchmark/monitoring, visual flow, marketplace.

Sẵn sàng thử chưa?

Tải API Companion miễn phí

Installer Windows (.msi / .exe) chỉ ~10MB. Windows 11 chạy ngay; Windows 10 installer sẽ tự nhắc cài WebView2 Runtime.

Bản mới nhất: v0.4.4 · Có gì mới → · 🚀 cài rồi thì tự cập nhật trong app, không cần tải lại.

⚠️ Bản alpha chưa ký số — SmartScreen sẽ cảnh báo lần đầu chạy. Bấm More info → Run anyway. Tính năng AI theo mô hình BYOK: bạn tự nhập API key của mình.
# Hoặc build từ source (Rust ≥ 1.80, Node ≥ 18, pnpm ≥ 9)
git clone <repo> && cd API-companion
pnpm install
pnpm --filter api-companion-desktop tauri build

Mẹo: Ctrl+K command palette · Ctrl+T tab mới · Ctrl+S lưu · Ctrl+Enter gửi