The Fruxon SDK is a lightweight Python client for integrating with the Fruxon platform.
Project description
fruxon
The Fruxon SDK is a lightweight Python client for integrating with the Fruxon platform.
- PyPI package: https://pypi.org/project/fruxon/
- Free software: MIT License
Installation
pip install fruxon
Features
Python Client — Execute agents via API
from fruxon import FruxonClient
client = FruxonClient(api_key="frx_...", tenant="acme-corp")
result = client.execute("support-agent", parameters={"question": "How do I reset my password?"})
print(result.response)
print(f"{result.trace.duration}ms | ${result.trace.total_cost:.4f}")
# Multi-turn conversation
result2 = client.execute("support-agent", parameters={"question": "Tell me more"}, session_id=result.session_id)
fruxon run — Execute agents from the CLI
# Basic execution
fruxon run my-agent -t acme-corp -k frx_...
# With parameters
fruxon run my-agent -t acme-corp -p question="Hello" -p lang=en
# Full JSON output (for scripting)
fruxon run my-agent -t acme-corp --json
# Use environment variable for API key
export FRUXON_API_KEY=frx_...
fruxon run my-agent -t acme-corp
fruxon export — Consolidate multi-file agents
Export a multi-file Python agent project into a single file for importing into Fruxon.
Works with any Python framework: LangChain, LangGraph, CrewAI, Google ADK, AutoGen, and more.
# Auto-detect agent and copy to clipboard
fruxon export --copy
# Auto-detect and print to stdout
fruxon export
# Write to file
fruxon export -o export.py
# Explicit entry point (if auto-detect picks the wrong file)
fruxon export graph.py --copy
How it works:
- Scans your project for agent framework imports (LangGraph, CrewAI, etc.)
- Auto-detects the entry point — if multiple agents exist, prompts you to choose
- Traces all local imports using Python's AST (skips third-party packages)
- Outputs a single consolidated file with all local code and source markers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fruxon-0.5.1.tar.gz.
File metadata
- Download URL: fruxon-0.5.1.tar.gz
- Upload date:
- Size: 86.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
890493b77b444837184f70ac0ca46084268fd107f30b8a0d91501e913f1c3d37
|
|
| MD5 |
bfada3604b44e3704045120037bbb06d
|
|
| BLAKE2b-256 |
0ed4bf33198381be8b5911825f413d1869b558d0dc2a39fde98928037b2d58e0
|
Provenance
The following attestation bundles were made for fruxon-0.5.1.tar.gz:
Publisher:
release.yml on fruxon-ai/fruxon-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fruxon-0.5.1.tar.gz -
Subject digest:
890493b77b444837184f70ac0ca46084268fd107f30b8a0d91501e913f1c3d37 - Sigstore transparency entry: 1519293842
- Sigstore integration time:
-
Permalink:
fruxon-ai/fruxon-sdk@f5d128b3f18d685408e6827938fdbee8ac3e88b2 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/fruxon-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f5d128b3f18d685408e6827938fdbee8ac3e88b2 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fruxon-0.5.1-py3-none-any.whl.
File metadata
- Download URL: fruxon-0.5.1-py3-none-any.whl
- Upload date:
- Size: 67.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7c820bb733b5e70077b2f3f35f113dd863f3b4bd69ca3b3ace4b5bb1cbbc3fd
|
|
| MD5 |
6f259b907845715134c38be81847c0de
|
|
| BLAKE2b-256 |
d0ed6327e9dff1ac4867ade475a16a4d5cf197eef1a9e2ed5f3b5d747f109904
|
Provenance
The following attestation bundles were made for fruxon-0.5.1-py3-none-any.whl:
Publisher:
release.yml on fruxon-ai/fruxon-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fruxon-0.5.1-py3-none-any.whl -
Subject digest:
c7c820bb733b5e70077b2f3f35f113dd863f3b4bd69ca3b3ace4b5bb1cbbc3fd - Sigstore transparency entry: 1519293853
- Sigstore integration time:
-
Permalink:
fruxon-ai/fruxon-sdk@f5d128b3f18d685408e6827938fdbee8ac3e88b2 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/fruxon-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f5d128b3f18d685408e6827938fdbee8ac3e88b2 -
Trigger Event:
workflow_dispatch
-
Statement type: