{"id":24091,"library":"nanobot-ai","title":"NanoBot AI","description":"A lightweight personal AI assistant framework for building modular, extensible AI agents. Supports multiple LLM backends, tool/plugin systems, and memory. Current version: 0.1.5.post3. Pre-release/rapidly evolving; breaking changes likely between minor versions as API stabilises.","status":"active","version":"0.1.5.post3","language":"python","source_language":"en","source_url":"https://github.com/neural-maze/nanobot-ai","tags":["ai","assistant","framework","llm","chatbot","lightweight"],"install":[{"cmd":"pip install nanobot-ai","lang":"bash","label":"Standard install"}],"dependencies":[],"imports":[{"note":"The package imports via 'nanobot', not 'nanobot_ai'.","wrong":"from nanobot_ai import NanoBot","symbol":"NanoBot","correct":"from nanobot import NanoBot"}],"quickstart":{"code":"import os\nfrom nanobot import NanoBot\n\nbot = NanoBot(api_key=os.environ.get('NANOBOT_API_KEY', ''))\nresponse = bot.chat(\"Hello, what can you do?\")\nprint(response)","lang":"python","description":"Initialise a NanoBot with an API key and send a simple chat message."},"warnings":[{"fix":"Specify 'nanobot-ai==0.1.5.post3' in requirements.txt.","message":"The API is unstable: constructor arguments and method signatures may change between 0.x versions. Pin your dependency with exact version.","severity":"breaking","affected_versions":">=0.1.0, <1.0.0"},{"fix":"If you encounter blocking behaviour, wrap calls in asyncio.run() or use the async API directly with 'await bot.chat_async(...)'.","message":"Async methods require event loop management. Using .chat() in sync context may block if not handled correctly.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace with 'bot.register_plugin(\"my_plugin\")' import.","message":"The 'plugins' directory auto-discovery was deprecated in 0.1.5. Use explicit plugin registration instead.","severity":"deprecated","affected_versions":">=0.1.5"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Change import to 'from nanobot import NanoBot'.","cause":"Trying to import 'nanobot_ai' instead of 'nanobot'.","error":"ModuleNotFoundError: No module named 'nanobot'"},{"fix":"Check the latest docs. For 0.1.5: use 'NanoBot(config={\"api_key\": \"...\"})'.","cause":"Constructor signature changed; 'api_key' was renamed to 'openai_api_key' or requires a config object.","error":"TypeError: NanoBot.__init__() got an unexpected keyword argument 'api_key'"},{"fix":"Use 'await bot.chat_async(...)' in an async context, or check if method is 'ask' instead. Verify version.","cause":"The synchronous chat method was removed or renamed in an update.","error":"AttributeError: 'NanoBot' object has no attribute 'chat'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}