livekit-agents


Namelivekit-agents JSON
Version 1.2.1 PyPI version JSON
download
home_pageNone
SummaryA powerful framework for building realtime voice AI agents
upload_time2025-07-17 18:41:04
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/4f/27/cc0f0ab4bfce26b69e1a495230c00727bf3d091faefe8049223b7f0c729f/livekit_agents-1.2.1.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.1",
    "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": "0e8a93ed339bc21d4108cc276aaaf7c6128f3e5770ae363e336d1c6f4baf07f5",
                "md5": "b4ad81ac54dfe346e9a0e3b6e74902b3",
                "sha256": "9482ceb3aebef1c5ee251a101f7834a6cae582eea054ea7eb95360820ecb6959"
            },
            "downloads": -1,
            "filename": "livekit_agents-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b4ad81ac54dfe346e9a0e3b6e74902b3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 558370,
            "upload_time": "2025-07-17T18:41:03",
            "upload_time_iso_8601": "2025-07-17T18:41:03.098251Z",
            "url": "https://files.pythonhosted.org/packages/0e/8a/93ed339bc21d4108cc276aaaf7c6128f3e5770ae363e336d1c6f4baf07f5/livekit_agents-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4f27cc0f0ab4bfce26b69e1a495230c00727bf3d091faefe8049223b7f0c729f",
                "md5": "b6495e979e25da6725555b952082c7c7",
                "sha256": "05f880ff430c825b629ab3dd991e69efde1fb52f3e3df4cb78aa6f47f5ac48d3"
            },
            "downloads": -1,
            "filename": "livekit_agents-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b6495e979e25da6725555b952082c7c7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 497548,
            "upload_time": "2025-07-17T18:41:04",
            "upload_time_iso_8601": "2025-07-17T18:41:04.846397Z",
            "url": "https://files.pythonhosted.org/packages/4f/27/cc0f0ab4bfce26b69e1a495230c00727bf3d091faefe8049223b7f0c729f/livekit_agents-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-17 18:41:04",
    "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: 1.23275s