openai-assistants - Build Stateful Chatbots with Assistants API v2
Build and maintain stateful chatbots with OpenAI Assistants API v2, including threads, runs, file search, code interpreter, and function calling.
Tags
Updated: 2026-11-10Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create assistants
- Manage conversation threads
- Add and retrieve messages
- Run assistants asynchronously
- Poll run status
- Stream assistant runs
- Use Code Interpreter
- Search uploaded files
- Handle function calls
- Manage vector stores
- Troubleshoot API errors
Inputs
- OpenAI API key
- Assistant configuration
- Model identifier
- Thread messages
- Uploaded files
- Vector store identifiers
- Function definitions
Outputs
- Assistant records
- Thread and message records
- Run status
- Assistant responses
- Code Interpreter results
- File search results
- Function call requests
Requirements
- OpenAI API access
- Assistants API v2 access
- [email protected] package
- Supported OpenAI model
- Node.js or fetch-compatible runtime
