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

from funky import Funky

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

sub_agent = client.create_subagent(model="claude-opus-4-7")
try:
    messages = sub_agent.send_message("What is 2 * 2?")
    print(messages[-1].text)
finally:
    sub_agent.terminate()

create_subagent also accepts an optional system_prompt:

sub_agent = client.create_subagent(
    model="claude-opus-4-7",
    system_prompt="You are a terse coding assistant.",
)

Requirements

Python 3.13+

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.14.tar.gz (31.1 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.14-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for funky_sdk-0.2.14.tar.gz
Algorithm Hash digest
SHA256 f2fcee8e88be330ea7494b39a0e424ec3eedb1fc6ba03513a6b8fe686bbe66c9
MD5 c6323bc48ae28c61a84623adfd6e0bba
BLAKE2b-256 bdde928ef63d9d394f884fdbc3282f1a9752a522f01921f768ba9e13a9c99aae

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for funky_sdk-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 0c1068b8261d228cb6b4be70a9c933d9402e54622d226e91c1c4ac9a5b7332af
MD5 64ce2b2f166b87346649f96ceb6370ae
BLAKE2b-256 f5c4c8b74de77ac516b697dccc5151b01e2b16774d737999aa23905be16017a7

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