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.

The Agent class wraps the VectorShift agent platform: declarative tools, typed inputs/outputs, and multi-turn conversations via Session. The recent agent revamp introduced the Tool / ToolInput system, an auto-generated catalogue of ~200 integration tools (importable from vectorshift.agent.tools), and Session objects with streamed events.

Quick start

from vectorshift import Agent, LLMInfo, Tool, ToolInput

agent = Agent.new(
    name="Researcher",
    llm_info=LLMInfo(provider="openai", model_id="gpt-4o"),
    instructions="You are a helpful research assistant.",
)

# Multi-turn conversation
session = await agent.create_session()
async for event in session.send("What is the population of Tokyo?"):
    print(event)

Next

Reference

Every public method, grouped by topic.

Examples

Runnable examples to copy-paste and adapt.