Skip to content
@fxnai

Function

Run Python functions on-device, fully cross-platform.

Function

function logo

Dynamic JSON Badge X (formerly Twitter) Follow

Run Python functions (a.k.a. "predictors") locally on Android, iOS, macOS, Linux, in the browser, and Windows--with full GPU acceleration and zero dependencies:

import { Function } from "fxnjs"

// 💥 Create your Function client
const fxn = new Function({ accessKey: "..." });

// 🔥 Run predictions on-device
const prediction = await fxn.predictions.create({
  tag: "@fxn/greeting",
  inputs: { name: "Peter" }
});

// 🚀 Use the results
console.log(prediction.results[0])

Tip

Join our waitlist to bring your custom Python functions and run them on-device across Android, iOS, macOS, Linux, web, and Windows.

You can make on-device predictions using our client libraries:

A few useful links:

Function is a product of NatML Inc.

Pinned Loading

  1. fxn fxn Public

    Run Python functions on desktop, mobile, web, and in the cloud. https://fxn.ai/explore

    Python 39 5

  2. fxnjs fxnjs Public

    Run Python functions in the browser and Node.js. https://fxn.ai/explore

    TypeScript 4 1

  3. fxn-llm fxn-llm Public

    Use local LLMs in your Python apps. Register at https://fxn.ai

    Python 1

  4. fxn-llm-js fxn-llm-js Public

    Use local LLMs in your browser and Node.js apps. Register at https://fxn.ai

    TypeScript 7

  5. fxn3d fxn3d Public

    Run Python functions in Unity3D. https://fxn.ai/explore

    C# 3 4

  6. fxnc fxnc Public

    Function C API for running Python functions on desktop, mobile, web, and in the cloud. Register at https://fxn.ai

    C 1

Repositories

Showing 7 of 7 repositories
  • fxn3d Public

    Run Python functions in Unity3D. https://fxn.ai/explore

    fxnai/fxn3d’s past year of commit activity
    C# 3 Apache-2.0 4 1 0 Updated Sep 20, 2024
  • fxn-llm-js Public

    Use local LLMs in your browser and Node.js apps. Register at https://fxn.ai

    fxnai/fxn-llm-js’s past year of commit activity
    TypeScript 7 Apache-2.0 0 0 0 Updated Sep 19, 2024
  • fxnjs Public

    Run Python functions in the browser and Node.js. https://fxn.ai/explore

    fxnai/fxnjs’s past year of commit activity
    TypeScript 4 Apache-2.0 1 0 0 Updated Sep 18, 2024
  • fxn-llm Public

    Use local LLMs in your Python apps. Register at https://fxn.ai

    fxnai/fxn-llm’s past year of commit activity
    Python 1 Apache-2.0 0 0 0 Updated Sep 16, 2024
  • fxnc Public

    Function C API for running Python functions on desktop, mobile, web, and in the cloud. Register at https://fxn.ai

    fxnai/fxnc’s past year of commit activity
    C 0 Apache-2.0 1 0 0 Updated Sep 11, 2024
  • fxn Public

    Run Python functions on desktop, mobile, web, and in the cloud. https://fxn.ai/explore

    fxnai/fxn’s past year of commit activity
    Python 39 Apache-2.0 5 0 0 Updated Sep 10, 2024
  • .github Public

    A bit about us.

    fxnai/.github’s past year of commit activity
    0 0 0 0 Updated Sep 1, 2024

Top languages

Loading…

Most used topics

Loading…