Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt

Use this file to discover all available pages before exploring further.

A Session is a live conversation handle returned by agent.create_session() / agent.resume_session(). Sessions persist across calls (resume by ID), stream tool events, and accept multimodal input.

Quick start

from vectorshift import Agent, LLMInfo

agent = Agent.new(
    name="Helper",
    llm_info=LLMInfo(provider="openai", model_id="gpt-4o"),
)

async with await agent.create_session() as session:
    await session.send("What is the population of Tokyo?")
    async for event in session.listen():
        if event.is_complete:
            print(event.text)
            break

Next

Reference

Every public method, grouped by topic.