Fusio

A self-hosted platform for publishing databases, services, and business logic as managed APIs for people and AI agents.

Source repo
apioo/fusio
Stars
★ 2.1k
Last updated
3d ago v7.2.1
FARS reviewed
Nov 08, 2026
License
Apache-2.0
Primary language
PHP

At a glance

How it runs
Self-hosted serviceWeb appCLI
Works with
Universal · cross-platformChatGPT
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Docker and Docker Compose, or PHP with Nginx/Apache for productionMySQL, PostgreSQL, or SQLiteShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A team maintaining a legacy MySQL or PostgreSQL system needs to publish managed REST endpoints without replacing the entire backend.
Not a fit if
  • Teams that want a turnkey SaaS and do not want to operate a server and database
  • Users unwilling to manage domains, project keys, and admin credentials
Website
fusio-project.org ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-29latest release v7.2.1 (2026-10-21)

What does this agent do, and when should you use it?

Fusio is a PHP-based, self-hosted API management platform and gateway that turns databases, microservices, and custom business logic into REST API products. Its execution unit is an Action: an Operation maps an HTTP method and path to code that receives RequestInterface, ParametersInterface, and ContextInterface and returns the API response. Teams can implement Actions as PHP classes or develop PHP, JavaScript, and Python logic through backend Worker actions. The platform also provides a developer portal, OpenAPI interfaces, client SDK generation, subscriptions, quotas, billing, analytics, and error logging. Native MCP support exposes APIs to AI ecosystems, while the Agent introduced in version 7.0 generates Worker actions through Ollama, ChatGPT, or Gemini. It fits teams seeking an API product layer under their own infrastructure, provided they are prepared to operate the application, database, credentials, and production web stack.

For each incoming request, an Operation selects an Action using the configured HTTP method and path. A PHP class implementing Engine\ActionInterface executes handle(), reads Engine\RequestInterface, Engine\ParametersInterface, and Engine\ContextInterface, and returns data for the response. An Action derived from Engine\ActionAbstract can declare editable backend parameters through configure() and Engine\Form\BuilderInterface. Worker actions provide another execution path for writing PHP, JavaScript, or Python logic directly in the backend; the Agent can generate those Worker actions from natural-language instructions. Fusio can expose MySQL, PostgreSQL, and other SQL/NoSQL data sources as REST APIs and can secure, route, orchestrate, and load-balance microservice traffic. Around that runtime, it produces a developer portal, OpenAPI specifications, and client SDKs, while managing keys, plans, quotas, automated billing, usage analytics, performance metrics, and error logs. Its MCP support presents API capabilities to AI systems as tools.

  1. A team maintaining a legacy MySQL or PostgreSQL system needs to publish managed REST endpoints without replacing the entire backend.
  2. A platform team running distributed services needs a self-hosted entry point for securing, routing, orchestrating, and load-balancing traffic.
  3. PHP developers want reusable business classes mapped to explicit HTTP methods and paths, with selected parameters editable from an administrative form.
  4. A JavaScript- or Python-oriented team wants to implement endpoint logic through backend Workers instead of creating custom PHP classes.
  5. An API product owner needs a developer portal, documentation, testing tools, credentials, SDKs, subscription plans, quotas, billing, and usage analytics.
  6. An AI integration team wants to expose backend operations through MCP or generate Worker actions using Ollama, ChatGPT, or Gemini.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • docker compose up -d
Ports
8080
Environment variables
FUSIO_PROJECT_KEY MYSQL_PASSWORD MYSQL_DATABASE APP_URL
Config files
compose.yaml .env
Install notes cover
Docker

How do you install or deploy this agent?

For the documented Docker path, create a compose.yaml with a fusio/fusio service. Set FUSIO_PROJECT_KEY, FUSIO_CONNECTION, FUSIO_BACKEND_USER, FUSIO_BACKEND_EMAIL, and FUSIO_BACKEND_PW, map port 8080:80, and add a MySQL 8.0 service configured with MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE. Run docker compose up -d, open http://localhost:8080/apps/fusio, and sign in with the configured backend credentials.

For a manual installation, run git clone https://github.com/apioo/fusio.git. Configure .env with an APP_CONNECTION such as pdo-mysql://root:password@localhost/fusio; setting APP_URL=http://localhost:8080 is also recommended. PostgreSQL and SQLite use pdo-pgsql://user:pass@host/db and pdo-sqlite:///fusio.sqlite. Run php bin/fusio migrate, then php bin/fusio adduser and choose Administrator, followed by php bin/fusio marketplace:install fusio. For development only, start it with php -S 127.0.0.1:8080 -t public; production requires Nginx/Apache or Docker. A web installer is also available at /install.php, which should be deleted after installation.

How do you use this agent?

Create an Action in the backend, then configure an Operation that binds it to an HTTP method and path. A minimal PHP implementation of Fusio\Engine\ActionInterface defines handle(Engine\RequestInterface $request, Engine\ParametersInterface $configuration, Engine\ContextInterface $context): mixed and can return data such as ['hello' => 'world']. To expose editable configuration, extend Engine\ActionAbstract, add a field with $builder->add($elementFactory->newInput('message', 'Message', 'text', 'The message which should be returned')), and read it with $configuration->get('message'). Alternatively, use the Worker designer to write PHP, JavaScript, or Python logic in the backend. In the AI workflow, describe the desired behavior to the Agent—for example, request a list of popular nineteenth-century composers—and it generates a corresponding Worker action. The main administration app is at /apps/fusio/; apps and actions can be installed from the Marketplace, while consumers can use the official C#, Go, Java, JavaScript, PHP, or Python SDKs or call the REST API directly.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Not found in source — apply before daily use
  • dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.

What are this agent's strengths and limitations?

Pros
  • Combines the API gateway, Action runtime, developer portal, SDK generation, monetization, and monitoring in one self-hosted platform.
  • Supports both code-defined PHP Actions and backend Workers written in PHP, JavaScript, or Python.
  • Native MCP exposes existing APIs to AI ecosystems, and the Agent supports Ollama, ChatGPT, and Gemini instead of requiring one model provider.
  • Offers Docker, manual, and web-installer deployment paths, with documented MySQL, PostgreSQL, and SQLite connections.
  • Generated configuration forms let developers make reusable Action behavior adjustable by non-technical backend users.
Limitations
  • The documented PHP built-in server is development-only; production requires a separately operated Nginx/Apache setup or Docker deployment.
  • Adopters remain responsible for the Fusio host, database, domain layout, project key, administrator credentials, and removal of the web installer.
  • Some ecosystem functions, including SDKgen, require registration with an external service and configuration of client credentials.
  • The supplied setup examples do not detail MCP configuration, automated billing, load balancing, or individual AI-provider setup, so these areas require further deployment validation.
  • AI generation depends on Ollama, ChatGPT, or Gemini, while provider-specific costs, connectivity, and output quality are not quantified.

How does this agent compare with similar options?

Docker Compose is the shortest documented route to a local Fusio-plus-MySQL deployment. Manual installation provides explicit MySQL, PostgreSQL, and SQLite choices but requires migrations, administrator creation, Marketplace installation, and a production Nginx/Apache setup; the web installer offers an interactive path but leaves /install.php to be removed afterward. For implementation, a custom PHP Action gives a code-defined ActionInterface component, a Worker permits PHP, JavaScript, or Python development inside the backend, and the Agent uses Ollama, ChatGPT, or Gemini to generate Worker code from a prompt. Consumers can choose official SDKs for simplified integration or communicate with the REST API directly for greater control.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Fusio This agent 39 · Major gaps Self-hosted serviceFree + model costs ★ 2.1k 3d ago PHP ChatGPT
Pachca API Agent Toolkit 69 · Some gaps — ★ 12 1d ago TypeScript ChatGPT · Codex · Claude Code · Claude.ai
SandBase CLI 58 · Major gaps — ★ 185 10d ago TypeScript Codex · Claude Code
ApiTap 75 · Good CLIFree ★ 131 1mo ago TypeScript Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
39/ 100 5-point scale 2.0 / 5
Trust 8/29
Reliability 3/14
Adaptability 9/18
Convention 9/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust8 / 29 · 1.4/5

The README describes self-hosted deployment, database options, multiple AI providers, and a Docker example with account and connection credentials, giving basic configuration transparency. Deductions: the example contains plaintext test credentials, and the supplied files show no least-privilege policy, sensitive-data handling guidance, confirmation mechanism, rollback process, or dependency-security controls. Marketplace installs and external services such as SDKgen are mentioned without detailed data-flow or side-effect descriptions.

Reliability3 / 14 · 1.1/5

The CI workflow specifies PHP 8.4/8.5, Composer installation, MySQL setup, and migrations; the README's Docker and manual installation paths are broadly consistent. Deductions: the packet does not show failure-message design or handling for unavailable dependencies, and the tag-triggered release build does not establish the full release process.

Adaptability9 / 18 · 2.5/5

The README targets API builders and covers database and microservice gateways, custom logic, AI agents, MCP, and several deployment scenarios; it lists MySQL, PostgreSQL, and SQLite. Deductions: the Agent's capability boundaries, activation conditions, permission scope, and provider-specific environment requirements are not explained concretely.

Convention9 / 18 · 2.5/5

The README has clear sections for Docker, manual and web installation, getting started, integrations, and support; it labels the built-in development server as test-only. The LICENSE contains the Apache 2.0 terms. Deductions: the supplied material has no changelog, maintenance responsibility is only indirectly indicated through community and issue channels, and limitations are sparsely documented.

Effectiveness7 / 13 · 2.7/5

The self-hosted API management product presents uses including reusable Actions, Agent-generated Worker actions, a developer portal, SDKs, and monitoring, with readable code and setup examples. Deductions: the packet does not quantify the Agent feature's benefits or costs, nor show output quality, operating cost, or a practical generated-output example.

Verifiability3 / 8 · 1.9/5

README installation commands, the Action example, and CI configuration provide traceable operational details; AI provider and capability claims remain primarily README assertions. Deductions: the packet provides no test results or independent file-level corroboration of product claims, and it does not clearly distinguish demonstrated capabilities from examples and promotional claims.

Risks and how to mitigate them
  • Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
  • The Docker example includes a plaintext test password and fixed project key; replace them with strong unique values and manage secrets appropriately before deployment.
  • The README claims AI Agent support and multiple providers, but this packet does not include implementation details, data-handling behavior, or rollback behavior; check the complete deployment and product documentation before production use.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 9dedd6f681d2 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/fusio.svg)](https://followagents.com/en/agents/fusio)
<a href="https://followagents.com/en/agents/fusio"><img src="https://followagents.com/badge/fusio.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v7.2.1
    Release notes excerpt
    * Add "search" query parameter to the SQL-Select-All action * Internally reuse SQL and Filesystem actions * Add FTP adapter * Added Grid project * Added Pulse project * Update OpenAPI version to 3.1.2 * Add refresh token status check * Fix OAuth2 redirect uri host check * Update our docker image to fix CVE-2026-109618 and CVE-2026-109619
    View on GitHub ↗
  2. v7.2.0
    Release notes excerpt
    * Add missing API descriptions * Add kind property * Implemented proof of work captcha system * Add stricter rate limits to the authorization endpoints * Updated mcp/sdk package * Add option to configure an agent introduction agent * Add and handle reference id at an agent * Add option to edit existing schema or action through an agent * Add custom agent registry
    View on GitHub ↗
  3. v7.1.1
    Release notes excerpt
    * Update mcp/sdk to fix PKSA-p9gd-j6gr-6f9t * Update symfony/ai package * Fix CLI agent deployment detect correct connection
    View on GitHub ↗

FAQ

Does Fusio require a cloud AI provider?
No. The documented Agent providers include Ollama as well as ChatGPT and Gemini, so a local-provider route exists. The installation excerpt does not specify the model or credential configuration.
Can Fusio be used purely as an API gateway without its AI features?
Yes. Database exposure, microservice routing, custom Actions, the developer portal, SDKs, subscriptions, quotas, and monitoring are described as independent API-management capabilities.
Which databases are supported?
The installation instructions explicitly provide connection formats for MySQL, PostgreSQL, and SQLite. The feature list also refers broadly to SQL and NoSQL databases but does not enumerate additional NoSQL products.
Is the built-in PHP server suitable for production?
No. php -S 127.0.0.1:8080 -t public is documented for testing only. Production deployments require a conventional Nginx/Apache setup or Docker, along with correct URL, database, and credential configuration.
What parts may involve external service costs?
The repository is Apache-2.0 licensed, but no complete cost schedule is provided. ChatGPT, Gemini, SDKgen, and other external services may require accounts or credentials, with pricing determined by those services.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts