Skip to Content

Deck

Deck is the single composition root for your entire application.

Creating a Deck

from agentdeck import Deck, Agent deck = Deck( agents=[Agent(name="bot", instructions="Help user.")], )

Or discover components automatically from ./.agentdeck/:

deck = Deck.from_project()