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.17.tar.gz (40.6 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.17-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funky_sdk-0.2.17.tar.gz
  • Upload date:
  • Size: 40.6 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.17.tar.gz
Algorithm Hash digest
SHA256 02e73b64512122764371badc9761b32b34bd2a4f772e3b9c59a0ea55a815d059
MD5 bb9f50a53c811eaa9d115472414ecb70
BLAKE2b-256 d3d0d7ee84f9dcddd2de2a4c04e1abf69ef8d1ad72713e5274f313a4247d4bfd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: funky_sdk-0.2.17-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 0b7fae7ad353388f8bee32e585f7d17b724157abc1a95f86db10b7d1e21c18c1
MD5 1f79dfab062da95312f5aeb2acce8157
BLAKE2b-256 d85229d975a9b93606ff3a92800ddd835892de5286b163d8db3bca0ff9c4db91

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