livekit-agents


Namelivekit-agents JSON
Version 1.2.16 PyPI version JSON
download
home_pageNone
SummaryA powerful framework for building realtime voice AI agents
upload_time2025-10-27 05:08:05
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords ai agents audio livekit realtime video webrtc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LiveKit Agents for Python

Realtime framework for production-grade multimodal and voice AI agents.

See [https://docs.livekit.io/agents/](https://docs.livekit.io/agents/) for quickstarts, documentation, and examples.

```python
from dotenv import load_dotenv

from livekit import agents
from livekit.agents import AgentSession, Agent, RoomInputOptions
from livekit.plugins import openai

load_dotenv()

async def entrypoint(ctx: agents.JobContext):
    await ctx.connect()

    session = AgentSession(
        llm=openai.realtime.RealtimeModel(
            voice="coral"
        )
    )

    await session.start(
        room=ctx.room,
        agent=Agent(instructions="You are a helpful voice AI assistant.")
    )

    await session.generate_reply(
        instructions="Greet the user and offer your assistance."
    )


if __name__ == "__main__":
    agents.cli.run_app(agents.WorkerOptions(entrypoint_fnc=entrypoint))
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "livekit-agents",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "AI, agents, audio, livekit, realtime, video, webrtc",
    "author": null,
    "author_email": "LiveKit <hello@livekit.io>",
    "download_url": "https://files.pythonhosted.org/packages/87/c2/383c1ec0b0959f56acca34e2b5a62bb14ba51988880978a9fa8a58a9501f/livekit_agents-1.2.16.tar.gz",
    "platform": null,
    "description": "# LiveKit Agents for Python\n\nRealtime framework for production-grade multimodal and voice AI agents.\n\nSee [https://docs.livekit.io/agents/](https://docs.livekit.io/agents/) for quickstarts, documentation, and examples.\n\n```python\nfrom dotenv import load_dotenv\n\nfrom livekit import agents\nfrom livekit.agents import AgentSession, Agent, RoomInputOptions\nfrom livekit.plugins import openai\n\nload_dotenv()\n\nasync def entrypoint(ctx: agents.JobContext):\n    await ctx.connect()\n\n    session = AgentSession(\n        llm=openai.realtime.RealtimeModel(\n            voice=\"coral\"\n        )\n    )\n\n    await session.start(\n        room=ctx.room,\n        agent=Agent(instructions=\"You are a helpful voice AI assistant.\")\n    )\n\n    await session.generate_reply(\n        instructions=\"Greet the user and offer your assistance.\"\n    )\n\n\nif __name__ == \"__main__\":\n    agents.cli.run_app(agents.WorkerOptions(entrypoint_fnc=entrypoint))\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A powerful framework for building realtime voice AI agents",
    "version": "1.2.16",
    "project_urls": {
        "Documentation": "https://docs.livekit.io",
        "Source": "https://github.com/livekit/agents",
        "Website": "https://livekit.io/"
    },
    "split_keywords": [
        "ai",
        " agents",
        " audio",
        " livekit",
        " realtime",
        " video",
        " webrtc"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "389a399a7e7985276b56feccb02229ac22604c7d052e78ce61867f7fda8fc590",
                "md5": "9fe958a6d162974a99090b5146a6ec6b",
                "sha256": "e4fe5fe732f61282874b17a356d9288dd649fc23c524aa8ba4c8f1c4569becba"
            },
            "downloads": -1,
            "filename": "livekit_agents-1.2.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9fe958a6d162974a99090b5146a6ec6b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 600036,
            "upload_time": "2025-10-27T05:08:03",
            "upload_time_iso_8601": "2025-10-27T05:08:03.334312Z",
            "url": "https://files.pythonhosted.org/packages/38/9a/399a7e7985276b56feccb02229ac22604c7d052e78ce61867f7fda8fc590/livekit_agents-1.2.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "87c2383c1ec0b0959f56acca34e2b5a62bb14ba51988880978a9fa8a58a9501f",
                "md5": "cc3f241cca6a043655ddbc6648c47d43",
                "sha256": "e793ca6499d587a85fdac3127872c6420018cba7b24a5ba32e44312dec628be1"
            },
            "downloads": -1,
            "filename": "livekit_agents-1.2.16.tar.gz",
            "has_sig": false,
            "md5_digest": "cc3f241cca6a043655ddbc6648c47d43",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 530194,
            "upload_time": "2025-10-27T05:08:05",
            "upload_time_iso_8601": "2025-10-27T05:08:05.601969Z",
            "url": "https://files.pythonhosted.org/packages/87/c2/383c1ec0b0959f56acca34e2b5a62bb14ba51988880978a9fa8a58a9501f/livekit_agents-1.2.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-27 05:08:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "livekit",
    "github_project": "agents",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "livekit-agents"
}
        
Elapsed time: 3.61811s