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.18.tar.gz (40.4 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.18-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funky_sdk-0.2.18.tar.gz
  • Upload date:
  • Size: 40.4 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.18.tar.gz
Algorithm Hash digest
SHA256 6ebc47043d151d114a214a469028f310d0e95632af5674acd468c8002d780a33
MD5 46d4242257fb9f13a00d77cbddfc52c6
BLAKE2b-256 c7a93881d7bd92e4dfe68206207dab7f72ef1d1ba559a465768bbee555235291

See more details on using hashes here.

File details

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

File metadata

  • Download URL: funky_sdk-0.2.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 fff59f974c8a26bc1afc5a38094d7a56e7b1f4e2e99092d2cc34835f7fa2e318
MD5 b4d353d5c16666db50c4f6768b36a329
BLAKE2b-256 3e340a578b0d5ad90c7a8c543e3a40e0dd9f4839c6eeea85bbc8a656cbad13f0

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