{"id":27818,"library":"ghocentric-ghost-engine","title":"Ghost Cognitive Engine","description":"Ghost cognitive engine for building autonomous AI agents with memory, reasoning, and planning capabilities. Version 1.0.1, actively maintained. Released monthly.","status":"active","version":"1.0.1","language":"python","source_language":"en","source_url":"https://github.com/ghocentric/ghost-engine","tags":["ai","cognitive-engine","agent","ghost","reasoning"],"install":[{"cmd":"pip install ghocentric-ghost-engine","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Internal tensor operations","package":"numpy","optional":true},{"reason":"Language model integration","package":"transformers","optional":true}],"imports":[{"note":"Correct import path as of v1.0.0+.","symbol":"GhostEngine","correct":"from ghost_engine import GhostEngine"},{"note":"Memory module import.","symbol":"CognitiveMemory","correct":"from ghost_engine.memory import CognitiveMemory"}],"quickstart":{"code":"import os\nfrom ghost_engine import GhostEngine\n\napi_key = os.environ.get('GHOST_API_KEY', '')\nengine = GhostEngine(api_key=api_key)\nresponse = engine.think(\"What is AI?\")\nprint(response)","lang":"python","description":"Initialize the Ghost cognitive engine with an API key and run a simple query."},"warnings":[{"fix":"Use 'from ghost_engine import GhostEngine' instead of 'from ghocentric_ghost_engine import GhostEngine'.","message":"In v1.0.0, the import path changed from 'ghocentric_ghost_engine' to 'ghost_engine'. Old imports will break.","severity":"breaking","affected_versions":"<1.0.0"},{"fix":"Replace GhostEngine(model='...') with GhostEngine(model_name='...').","message":"The parameter 'model' in GhostEngine constructor is deprecated since v1.0.0. Use 'model_name' instead.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Set the GHOST_API_KEY environment variable or pass api_key='your-key'.","message":"API key is required. If not provided, the engine will raise a ValueError at runtime, not at import.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run 'pip install ghocentric-ghost-engine'. Then use 'from ghost_engine import GhostEngine'.","cause":"Installed package name is 'ghocentric-ghost-engine', not 'ghost-engine'. Or import path is incorrect for version <1.0.0.","error":"ModuleNotFoundError: No module named 'ghost_engine'"},{"fix":"Set the GHOST_API_KEY environment variable or pass api_key='your-api-key' to GhostEngine().","cause":"No API key provided. The engine requires it either via environment variable or constructor.","error":"ValueError: API key is required"},{"fix":"Replace engine.ask(...) with engine.think(...).","cause":"Method renamed in v1.0.0. Old code uses '.ask()' but new method is '.think()'.","error":"AttributeError: 'GhostEngine' object has no attribute 'ask'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}