Skip to content

ia-agents

IA Agents

Minimal agent framework for the Gemini Interactions API

Get started
import { createAgentSession } from '@philschmid/agent';
const session = createAgentSession({
model: 'gemini-3-flash-preview',
systemInstruction: 'You are a helpful file assistant. Be concise.',
tools: ['read', 'plan'],
});
session.send('Explore the current directory');
for await (const event of session.stream()) {
console.log(event);
}

An agent is an LLM running in a loop with tools it can use. The loop continues until the model produces a response without tool calls.

ia-agents provides the orchestration layer on top of the Gemini Interactions API — handling the full loop: model calls, tool execution, result submission, and streaming events.

New to Agents?

Start with the Quickstart to get your first agent running in 5 minutes.

PackageWhat it providesUse when
@philschmid/agents-coreRaw agent loop, tool executionYou want minimal overhead and full control
@philschmid/agentHooks, built-in tools, skills, subagentsYou want lifecycle control and batteries-included