Skip to main content

SDK for spawning sub-agents with full isolation

Project description

funky-sdk

Python SDK for spawning isolated Funky sub-agents.

Install

pip install funky-sdk

Getting started

import os
from funky import Funky

client = Funky(
    api_key=os.environ.get("FUNKY_API_KEY"),  # This is the default and can be omitted
)

agent = client.create_subagent(model="gemini-3-flash-preview")
try:
    messages = agent.send_message("What is 2 * 2?")
    print(messages[-1].text)
finally:
    agent.terminate()

create_subagent also accepts an optional system_prompt:

agent = client.create_subagent(
    model="gemini-3-flash-preview",
    system_prompt="You are a terse coding assistant.",
)

Requirements

Python 3.10+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funky_sdk-0.2.16.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

funky_sdk-0.2.16-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file funky_sdk-0.2.16.tar.gz.

File metadata

  • Download URL: funky_sdk-0.2.16.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for funky_sdk-0.2.16.tar.gz
Algorithm Hash digest
SHA256 e9b5bcd8e3db6cf981399f85ef908858d27009b6146448cf8a9db002a0df5110
MD5 98aa216c3c2946719a2dcab640d94987
BLAKE2b-256 2a173ca41b1be48f95eb9596434e9cca43333fe8945e1859db4ac515ca32561f

See more details on using hashes here.

File details

Details for the file funky_sdk-0.2.16-py3-none-any.whl.

File metadata

  • Download URL: funky_sdk-0.2.16-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for funky_sdk-0.2.16-py3-none-any.whl
Algorithm Hash digest
SHA256 dbecb71e9bbf4169d968a60a4b6dd68faa09453215c17265f17a3e6d615491dd
MD5 5a3d9b9aeb25703d8e7dc1530daba19d
BLAKE2b-256 e835d69dc22cfc378d1553cc8284618cc59ad6f5b1aae04391d3a21895bc5c34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page