{"id":26929,"library":"elastic-agent-client","title":"Elastic Agent Client","description":"A Python implementation of an Elastic Agent Client. Currently at version 0.0.1.dev2 (development release). Release cadence is unknown as the project is in early development. Requires Python >=3.10.","status":"active","version":"0.0.1.dev2","language":"python","source_language":"en","source_url":"https://github.com/elastic/elastic-agent-client","tags":["elastic","agent","client","pre-release"],"install":[{"cmd":"pip install elastic-agent-client","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"wrong":"from elastic_agent_client import ElasticAgentClient","symbol":"ElasticAgentClient","correct":"import elastic_agent_client"}],"quickstart":{"code":"from elastic_agent_client import ElasticAgentClient\n\nclient = ElasticAgentClient(\n    url=os.environ.get('ELASTIC_AGENT_URL', 'http://localhost:8220'),\n    api_key=os.environ.get('ELASTIC_AGENT_API_KEY', '')\n)\n# Example: check health\nhealth = client.health()\nprint(health)","lang":"python","description":"Initialize the client with URL and API key from environment variables, then call health()."},"warnings":[{"fix":"Pin to a specific version and monitor for changes.","message":"The package is in early development (0.0.1.dev2). APIs are unstable and may change without notice.","severity":"gotcha","affected_versions":"<1.0.0"},{"fix":"Use 'from elastic_agent_client import ...'","message":"The import path uses underscores: 'elastic_agent_client', not hyphens or no underscores.","severity":"gotcha","affected_versions":"all"},{"fix":"Set ELASTIC_AGENT_API_KEY or pass api_key parameter.","message":"No authentication is set by default; you must provide an API key or token via environment variable or constructor argument.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.0.1':15 '3.10':32 'agent':2,10,34 'cadenc':20 'client':3,11,35 'current':12 'dev2':16 'develop':17,29 'earli':28 'elast':1,9,33 'implement':6 'pre':37 'pre-releas':36 'project':25 'python':5,31 'releas':18,19,38 'requir':30 'unknown':22 'version':14","created_at":"2026-05-01T17:43:37.392089+00:00","updated_at":"2026-05-01T17:43:37.392089+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/elastic-agent-client/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}