{"library":"microsoft-agents-hosting-aiohttp","title":"Microsoft Agents Hosting for aiohttp","description":"Integration library for hosting Microsoft Agents applications using the aiohttp web framework. Version 0.9.0 supports Python >=3.10 and provides middleware and routing for building agent-based HTTP services.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install microsoft-agents-hosting-aiohttp"],"cli":null},"imports":["from microsoft.agents.hosting.aiohttp import AioHttpHost"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom aiohttp import web\nfrom microsoft.agents.hosting.aiohttp import AioHttpHost, CloudAdapter\n\napp = web.Application()\nhost = AioHttpHost(\n    app=app,\n    adapter=CloudAdapter(\n        bot_app_id=os.environ.get('BOT_APP_ID', ''),\n        bot_app_password=os.environ.get('BOT_APP_PASSWORD', '')\n    )\n)\nhost.register_routes()\n\nif __name__ == '__main__':\n    web.run_app(app, port=3978)","lang":"python","description":"Creates an aiohttp web application with Microsoft Agent hosting middleware.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}