Skip to main content

Fluxyr

A Python framework for agents that expand their own capabilities and repair their skills through a self-healing workflow. Describe what you need in the chat: Fluxyr can research an integration, generate Python actions, test them and save them as reusable skills.

Create an application with a Flask-style API; Fluxyr handles tools, memory, conversations, streaming, background executions and scheduled routines.

Fluxyr agent interface with chat, tools, skills and execution sequence

Install

pip install fluxyr

Requires Python 3.11+. The package includes the web UI; Node is only needed when contributing to the frontend.

Your first application

Create a .env file:

FLUXYR_MODEL=minimax/minimax-m3
OPENROUTER_API_KEY=your-key

Create app.py:

from fluxyr import Fluxyr

app = Fluxyr(__name__)

@app.tool()
def greet(name: str) -> dict:
    """Greet someone by name."""
    return {"message": f"Hello, {name}!"}

@app.get("/api/hello")
def hello():
    return greet("Fluxyr")

if __name__ == "__main__":
    app.run()

Run python app.py and open http://localhost:5050. The agent is ready for you to configure its skills, credentials and routines and start a conversation.

Build skills through conversation

Ask Fluxyr to create an integration in the chat, for example:

Create a weather skill for my provider's API, with a forecast action accepting a city. Ask me for the documentation URL and help me configure any credentials in Vault. Test it for São Paulo, then create a routine that retrieves the forecast every day at 08:00 in America/Sao_Paulo.

Fluxyr turns the request into skill instructions and a technical specification. A dedicated builder generates the Python actions and declares their dependencies and Vault credentials. The agent inspects the generated code, runs tests, checks the results and activates a tested version for future conversations and routines. You can follow the build and execution progress in the UI.

The same loop supports self-healing: when an action fails, the agent can inspect the execution, diagnose the problem, revise the specification and rebuild the affected action. It tests the replacement before activation and can improve the skill's instructions from what it learns. Each code change creates a new version, preserving the previous versions and execution history. Missing credentials or required user choices are handled through embedded dialogs.

Configuration

Fluxyr reads .env from the directory where you start the application. Environment variables take precedence. Only the model and its provider's API key are required.

Variable Default
FLUXYR_MODEL Required
OPENROUTER_API_KEY Required for the default provider
FLUXYR_PROVIDER openrouter; also supports openai, anthropic and custom
PORT 5050
FLUXYR_AGENT_NAME Default Agent
DATABASE_URL SQLite at .runtime/fluxyr.sqlite3; PostgreSQL is optional
FLUXYR_ROOT Current working directory; optionally relocate runtime data
FLUXYR_SKILLS_DIR Optional folder of Markdown skills

With another provider, supply its key: OPENAI_API_KEY, ANTHROPIC_API_KEY or CUSTOM_API_KEY. See the configuration reference for provider endpoints and other options.

Skills and integrations

Point FLUXYR_SKILLS_DIR at a folder to load its .md files as agent instructions. Use @app.tool() to expose Python functions and standard Flask routes for your API. The agent can also build and test Python actions, manage credentials in Vault, request human input and schedule routines.

Development

git clone https://github.com/shpyrd-io/fluxyr.git
cd fluxyr
pip install -e '.[dev]'
pnpm --dir frontend install --frozen-lockfile
pnpm --dir frontend build
fluxyr --reload

See CONTRIBUTING.md for local development and test suites, and the release guide for versioning and publication.

Licensed under MPL 2.0. Third-party notices are in NOTICE.

Metadata

Release files for fluxyr 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fluxyr 0.1.0
File Size Uploaded
fluxyr-0.1.0.tar.gz 773.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fluxyr 0.1.0
File Interpreter ABI Platform
fluxyr-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / fluxyr-0.1.0.tar.gz

Download URL fluxyr-0.1.0.tar.gz
Size 773.0 kB
Tags Source
SHA-256 checksum
How to use checksums
07ec81223b7cdfab584effbba26d346d58271777476f471f0f756d14ed141d6b
BLAKE2b-256 checksum
How to use checksums
db52c5dfe482c7697f37eb14ab148bddec72c6e9e766d5b2e4866e41e8089cb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / fluxyr-0.1.0-py3-none-any.whl

Download URL fluxyr-0.1.0-py3-none-any.whl
Size 615.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd080d45c49e46da1886eca61da8ba924c887ac3be9a6020c7f3d3a287826e0c
BLAKE2b-256 checksum
How to use checksums
4f39f9da9991db47ce674c324e64da33de0a7541b1cfc43efa60cf1dbd93f16f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.12

2 release files

0.9.11

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page