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.19.tar.gz (41.5 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.19-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for funky_sdk-0.2.19.tar.gz
Algorithm Hash digest
SHA256 0c4cc7ff5c4ec925486456eb86fdde408e0d847a3c6ac622491545a595f3b23b
MD5 7a1d8137a60aa4c43d8fbcb1e26983d6
BLAKE2b-256 3dadd18e2653f1b2483bd6eb4dd3ae96272241c186357d8843c72135466dd174

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for funky_sdk-0.2.19-py3-none-any.whl
Algorithm Hash digest
SHA256 16c7ac3defe305b2286a7a4cfb342618cf35bcd6ef7f6d1a0c4ad3007619c3cc
MD5 5dd6269a77248895ac4852bf9ce107ea
BLAKE2b-256 4e2c2bf427905fd71ee4544438c108b818c1860cdf024707fddf3e2129240570

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