trueleaf/apiflow

A modern API workspace that works both online and offline — combining API documentation, testing, mock, and AI-powered automation in one lightweight tool

Apiflow – AI‑powered API development platform

What it is – Apiflow is a free, open‑source desktop application (built with Tauri, Rust and Vue) that works like Postman, Hoppscotch or Insomnia but adds an integrated AI assistant for designing, testing and debugging APIs. It can run completely offline, be self‑hosted in Docker, and supports team collaboration, role‑based permissions, and the full OpenAPI 3.x workflow.

Key features

  • AI Agent – lets you generate request definitions, suggest test cases, and debug responses using a configurable large language model (LLM). Works without an internet connection.
  • API testing – HTTP/REST, WebSocket, Server‑Sent Events, with connection pooling, pre/post scripts, and environment variables.
  • Mock server – serve mock HTTP, WebSocket or SSE responses, including named examples that preserve status codes and content types.
  • Team workspace – unlimited teams/members, RBAC (read/write/admin), change history, and offline‑to‑online data sync.
  • OpenAPI‑centric – import/export OpenAPI 3.x, keep folder grouping and multiple examples, and convert to/from Postman, Insomnia, Hoppscotch.
  • Self‑hosted – one‑click Docker compose deployment; data stored in your own MongoDB instance.
  • Cross‑platform desktop – Windows, macOS and Linux installers built with Tauri; also a web version for browser use.

Typical use cases

  • Individual developers needing a free, offline‑first API client with AI assistance.
  • Small to large teams that want built‑in collaboration, permission control and shared mock servers.
  • Enterprises or secure environments that must host the tool on‑premises (Docker + MongoDB) and keep all data in‑house.
  • API designers who work with OpenAPI specifications and want to generate or validate definitions via LLM.

Installation / deployment

  1. Desktop client – download the appropriate installer from the Releases page (Windows .exe/.msi, macOS .dmg, Linux .AppImage/.deb). The binaries are built with Tauri and Rust.
  2. Self‑hosted server – clone the repo, copy .env.example to .env (set MongoDB credentials), then run:
    docker compose pull
    docker compose up -d
    
    The backend will be reachable at http://localhost:7001 and the web UI at http://localhost.
  3. Development – with Node ≥ 22 and Rust ≥ 1.85 installed, run npm install then npm run dev to start both frontend (Tauri) and backend locally.

License – MIT (see LICENSE).


All details are taken directly from the repository’s README.

Related

  • Project
  • Project
  • Project
  • Project