Skip to main content

Pieces OS Python SDK

The Pieces SDK is a powerful code engine package designed for writing applications on top of Pieces OS. It facilitates communication with a locally hosted server to enable features such as copilot chats, asset saving, and more.

Requirements

The Pieces SDK has the following system requirements:

  • Pieces OS running as a backend service.
  • Python environment with pip for installing the SDK package.

Features

FeatureDescription
Simplified InteractionThe Pieces Copilot SDK simplifies the interaction with the Pieces OS Client SDK by providing easy-to-use methods for various operations.
Manage ConversationsThe SDK provides various methods to manage conversations such as fetching a specific conversation, updating conversation name, and more.
Get User Profile PictureRetrieve the user's profile picture using the get_user_profile_picture() method.
Copilot ChatsCommunicate seamlessly with copilot chats functionality.
Asset ManagementSave and manage assets and formats efficiently.
Local Server InteractionInteract with a locally hosted server for various functionalities.
Multi LLMs supportUse any Pieces supported LLMs to power apps.

Community

If you have created your own SDK or any other technology specific integration and would like us to list it here under community maintained SDKs/integrations please contact us.

If you would like to help us expand Pieces' list of SDKs, you can start a new discussion on our Open Source Discussions and you can also join our Discord.