Documentation Index
Fetch the complete documentation index at: https://docs.runflow.ai/llms.txt
Use this file to discover all available pages before exploring further.
Multi-Modal (Images)
const agent = new Agent({
name: 'Vision Agent',
instructions: 'You can analyze images.',
model: openai('gpt-4o'),
});
await agent.process({
message: 'What is in this image?',
messages: [
{
role: 'user',
content: [
{ type: 'text', text: 'What is in this image?' },
{
type: 'image_url',
image_url: { url: 'https://example.com/image.jpg' },
},
],
},
],
});
Next Steps
Streaming
Learn about streaming
Media Processing
Learn about media processing