--- title: 'Supermemory SDKs' sidebarTitle: "Python and JavaScript SDKs" description: 'Learn how to use supermemory with Python and JavaScript' --- For more information, see the full updated references at ## Python SDK ## Installation ```sh # install from PyPI pip install --pre supermemory ``` ## Usage ```python import os from supermemory import Supermemory client = Supermemory( api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted ) response = client.search.documents( q="documents related to python", ) print(response.results) ``` ## JavaScript SDK ## Installation ```sh npm install supermemory ``` ## Usage ```js import Supermemory from 'supermemory'; const client = new Supermemory({ apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted }); async function main() { const response = await client.search.documents({ q: 'documents related to python' }); console.debug(response.results); } main(); ```