Reference
Types
Important public types for agents, tools, chat parts, MCP content, and client renderers.
Agent types
Important types are exported from @tulip-systems/ai/agents/server:
AgentSettingsCreatedAgent
Most apps do not need to name these directly unless they are creating wrappers around agent setup.
Tool types
Important server-side tool types:
TulipToolDefinitionTulipToolSetToolContextToolConfirmationToolAuditToolDisplay
Important client-side tool types:
ToolClientDefinitionToolClientSource
Chat types
Chat types include:
ChatPartToolChatPart- streaming-related types from
chat/server
These are useful when custom-rendering message parts or building higher-level chat components.
MCP types
MCP types describe content blocks returned by helpers such as text(), json(), resource(), and
table().
Guidance
- Prefer exported package types over internal source paths.
- Use
import typein client tool renderers when referencing server tools. - Let
defineToolClient<typeof serverTool>()infer tool names where possible. - Keep app-specific schemas in the app; only generic AI abstractions belong in the package.