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

Uploaded Python 3

File details

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

File metadata

  • Download URL: funky_sdk-0.2.15.tar.gz
  • Upload date:
  • Size: 26.9 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.15.tar.gz
Algorithm Hash digest
SHA256 ab84f8d6b00d6a4cee8c12021633634eae91611ca1f195c7dba4c10c21eea6d7
MD5 ece6ecbe43acc1eb05a5caac2d40e4c7
BLAKE2b-256 d0040fb38bcc82e839949cee77f5d019f1bf2bc852bee39a4f9ac7af8f70e0d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: funky_sdk-0.2.15-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.13.7

File hashes

Hashes for funky_sdk-0.2.15-py3-none-any.whl
Algorithm Hash digest
SHA256 613d9b8b64eb1c7b7157f4d35b39d1a008f84e9df5411e813d5115cc0015218a
MD5 85cc021ec702bd1f75bfea024428a5d4
BLAKE2b-256 a9d8acd55359a560c2f5f00e0199d90c1ce66a6d98230885d96702203b8e8da6

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