Namespace Glitch9.AIDevKit.Agents
Classes
- Agent
AI Agent that can generate responses using various models and manage conversations.
- Wraps model, tools, audio, and conversation management in a single façade.
- Uses internal services for conversations, tool calls, and audio I/O.
- Acts as the main entry point for runtime chat / tool workflows.
- AgentBehaviour
Agent behaviour callbacks and UnityEvent bridges.
- Implements listener interfaces for agent, conversation, text, image, and tool events.
- Exposes UnityEvents so game code and UI can react to agent activity.
- Converts low-level deltas and tool outputs into high-level Unity events.
- ComputerUseCallManager
Manages and executes computer actions that can be called by AI agents.
- FunctionCallManager
Manages and executes registered functions that can be called by AI agents.
- Caches MethodInfo and Delegate for performance
- JSON binding for arguments and return values
- Supports CancellationToken
- Supports void/UniTask/UniTaskT return types
- Parameters
Note: Unlike other IGenAIParameters, this class is not serializable and has no editor UI.
- ShellCommandCallManager
Manages and executes local shell commands that can be called by AI agents.
- SingleToolCallExecutor<TCall, TOutput>
Single tool call executor implementation.
- ToolDefinition<TParams>
ScriptableObject that defines a tool with specific parameters.
Structs
Interfaces
- IAgentBehaviour
Settings used to configure an Agent instance.
Enums
- AgentStatus
High-level lifecycle state of an
Agent.
- ChatService
Defines the type of AI agent, which determines which API it uses.
- DefaultUses Responses API if supported, or ChatCompletions API.
- AssistantsApiUses Assistants API (OpenAI).
- RealtimeApiUses Realtime API (OpenAI/WebSocket)
- UnhandledToolCallBehaviour
Defines the policy to apply when a tool call is received but the agent has no handler for it.