{"id":8903,"library":"cmdop","title":"CMDOP Python SDK","description":"The `cmdop` Python SDK provides a client for interacting with CMDOP agents, enabling programmatic control over agent execution and data exchange. It is currently at version 2026.4.7.2 and follows an agile release cadence, often aligning with platform updates.","status":"active","version":"2026.4.7.2","language":"python","source_language":"en","source_url":"https://github.com/commandoperator/cmdop-sdk","tags":["AI","Agent","SDK","API","Automation"],"install":[{"cmd":"pip install cmdop","lang":"bash","label":"Install stable version"}],"dependencies":[],"imports":[{"wrong":"from cmdop import Agent","symbol":"Client","correct":"from cmdop import Client"}],"quickstart":{"code":"import os\nfrom cmdop import Agent\n\n# Ensure CMDOP_API_KEY is set as an environment variable\n# e.g., export CMDOP_API_KEY=\"your_api_key_here\"\napi_key = os.environ.get(\"CMDOP_API_KEY\")\n\nif not api_key:\n    print(\"Warning: CMDOP_API_KEY environment variable is not set. Using a placeholder.\")\n    print(\"Please set it for actual API interaction.\")\n    api_key = \"sk-fake-api-key\"\n\ntry:\n    agent = Agent(api_key=api_key)\n    response = agent.execute(\"What is the capital of France?\")\n    print(f\"Agent Response: {response}\")\nexcept Exception as e:\n    print(f\"An error occurred: {e}\")","lang":"python","description":"This quickstart demonstrates initializing an Agent with an API key from an environment variable and performing a simple execution. Replace 'your_api_key_here' with your actual CMDOP API key."},"warnings":[{"fix":"Ensure `os.environ['CMDOP_API_KEY']` is set before initializing `Agent`, or pass the `api_key` directly: `Agent(api_key='YOUR_KEY')`.","message":"The `api_key` parameter for `Agent` initialization is mandatory. If not provided or if the `CMDOP_API_KEY` environment variable is not set, it will lead to an `AuthenticationError` or `TypeError`.","severity":"gotcha","affected_versions":">=2024.1.0"},{"fix":"Upgrade your Python environment to 3.10 or a later version using tools like `pyenv` or `conda`.","message":"The library requires Python 3.10 or newer. Users on older Python versions will encounter installation failures or runtime errors.","severity":"breaking","affected_versions":">=2023.1.0"},{"fix":"Verify your internet connection and check if there are any proxy or firewall settings that might be blocking access to the CMDOP API. Consult CMDOP documentation for specific endpoint details if necessary.","message":"Network connectivity issues or incorrect API endpoint configuration can result in `ConnectionError` exceptions, preventing successful interaction with the CMDOP service.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"search_vec":"'2026.4.7.2':30 'agent':15,20,43 'agil':34 'ai':42 'align':38 'api':45 'autom':46 'cadenc':36 'client':10 'cmdop':1,5,14 'control':18 'current':27 'data':23 'enabl':16 'exchang':24 'execut':21 'follow':32 'interact':12 'often':37 'platform':40 'programmat':17 'provid':8 'python':2,6 'releas':35 'sdk':3,7,44 'updat':41 'version':29","created_at":"2026-04-16T18:47:27.066079+00:00","updated_at":"2026-04-16T18:47:27.066079+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.0.2","cli_name":"cmdop","cli_version":"sh: 1: cmdop: not found","type":"library","homepage":"https://cmdop.com","github":"https://github.com/commandoperator/cmdop-sdk","docs":"https://cmdop.com/docs/sdk/python/","changelog":null,"pypi":"https://pypi.org/project/cmdop/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":null}}