AgentSDK
Chat with Tools
The main function for AI conversations with tool access.
Basic Usage
Parameters
Parameter | Type | Default | Description |
---|---|---|---|
message | str | required | Your message or query |
provider | str | "anthropic" | LLM provider: "anthropic" , "openai" , "gemini" |
model | str | None | Specific model (auto-detected if not provided) |
observee_api_key | str | None | Your Observee API key |
enable_filtering | bool | True | Whether to filter tools |
filter_type | str | "bm25" | Filter method: "bm25" , "local_embedding" , "cloud" |
max_tools | int | 20 | Maximum tools to provide |
temperature | float | 0.7 | LLM temperature |
max_tokens | int | 1000 | Maximum response tokens |