Skip to main content

Python SDK for the Kapsl agent runtime

Project description

kapsl

pip install kapsl
from kapsl import Agent, tool, Client

@tool
def search(query: str) -> str:
    """Search the web."""
    return f"results for {query}"

Client().deploy(Agent(name="researcher", tools=[search]))
print(Client().run("researcher", "What is Kapsl?").wait())

Type hints become the schema. Docstrings become descriptions. requirements=["requests"] gets its own venv.


Python SDK for Kapsl — the agent runtime.

Kapsl daemon required: curl -fsSL https://kapsl.xyz/install.sh | sh && kapsl start

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

kapsl-0.1.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kapsl-0.1.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file kapsl-0.1.1.tar.gz.

File metadata

  • Download URL: kapsl-0.1.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for kapsl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f5f14b365a6c105efe2023f4d5ac54d80d7a1e04cd689b9a11752a199fdeba6c
MD5 f3c276aa8fe219b136b157fe7a52a11c
BLAKE2b-256 a00fd94e5ebbd993aef46de4993180c1a7b3fc9af79180e37be9d36920cba125

See more details on using hashes here.

File details

Details for the file kapsl-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kapsl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for kapsl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f243b1b80ee3fdd5db3710b6fb4180076e4cecd059c16315490ac250f26db0c
MD5 f8e5c69d9a09da9a0d2449bf35e6839f
BLAKE2b-256 ac79cb0312863bbb66af4da179f3fa3d506678691757eddc2b451bc9db228961

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