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
- FA score
- 39/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformChatGPT
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- 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)
- Source review
- 39/100 · Major gaps 1 safety controls not found
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.
- A team maintaining a legacy MySQL or PostgreSQL system needs to publish managed REST endpoints without replacing the entire backend.
- A platform team running distributed services needs a self-hosted entry point for securing, routing, orchestrating, and load-balancing traffic.
- PHP developers want reusable business classes mapped to explicit HTTP methods and paths, with selected parameters editable from an administrative form.
- A JavaScript- or Python-oriented team wants to implement endpoint logic through backend Workers instead of creating custom PHP classes.
- An API product owner needs a developer portal, documentation, testing tools, credentials, SDKs, subscription plans, quotas, billing, and usage analytics.
- 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_KEYMYSQL_PASSWORDMYSQL_DATABASEAPP_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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- 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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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-109619View on GitHub ↗ -
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 registryView on GitHub ↗ -
Release notes excerpt
* Update mcp/sdk to fix PKSA-p9gd-j6gr-6f9t * Update symfony/ai package * Fix CLI agent deployment detect correct connectionView on GitHub ↗
FAQ
Does Fusio require a cloud AI provider?
Can Fusio be used purely as an API gateway without its AI features?
Which databases are supported?
Is the built-in PHP server suitable for production?
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?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.