Skip to main content
This page lists all public functions exported by the AgentBasis SDK.

agentbasis

Core module functions imported directly from agentbasis.

Initialization

Context Management

Context Managers & Decorators


agentbasis.llms.openai


agentbasis.llms.anthropic


agentbasis.llms.gemini


agentbasis.frameworks.langchain

AgentBasisCallbackHandler

Callback handler that traces:
  • LLM calls (on_llm_start/end/error)
  • Chain execution (on_chain_start/end/error)
  • Tool invocations (on_tool_start/end/error)
  • Retriever operations (on_retriever_start/end/error)

agentbasis.frameworks.pydanticai

Parameters