feat: add comprehensive multimodal driver support documentation#8
Merged
feat: add comprehensive multimodal driver support documentation#8
Conversation
release-please with release-type "simple" only bumps the manifest and CHANGELOG. The publish workflow reads the version from Agi.csproj, so we need extra-files to keep it in sync. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add documentation and reference implementation for new agi-driver multimodal features including audio, video, MCP servers, and tool choice configuration. ## Documentation Provided ### MULTIMODAL_UPDATES.md Complete guide for implementing multimodal features in C# SDK ### Protocol_Multimodal.cs Reference implementation of new protocol types: - New event classes (AudioTranscriptEvent, VideoFrameEvent, etc.) - New command classes (GetAudioTranscriptCommand, GetVideoFrameCommand) - Helper classes (MCPServerConfig, AgentIdentity, ToolChoice) - StartCommand extensions for multimodal features ## Changes Needed ### Protocol.cs - Add new event types to DriverEventType enum - Add new command types to DriverCommandType enum - Add new event/command classes - Add multimodal fields to StartCommand - Update AgentName default to "agi-2-claude" ### Driver.cs - Update event parsing for new event types - Add convenience methods for multimodal features ## Breaking Changes This is a breaking change with no backwards compatibility. StartCommand has many new fields (all with sensible defaults). ## Related PRs - agi-api (driver): https://github.com/agi-inc/agents/pull/344 - agi-python: https://github.com/agi-inc/agi-python/pull/8 - agi-node: agi-inc/agi-node#11 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add Voice, Camera, Screen, Mcp, McpConfig properties to DriverOptions - Store multimodal options in AgentDriver constructor - Add multimodal fields to StartCommand (audio, speech, camera, screen, MCP) - Pass options from DriverOptions to StartCommand in StartAsync(): Voice → AudioInputEnabled, TurnDetectionEnabled, SpeechOutputEnabled Camera → CameraEnabled Screen → ScreenRecordingEnabled Mcp → McpServers (loaded from config file) - Implement LoadMcpConfig() for reading MCP server configurations - Add multimodal event types to DriverEventType enum - Add multimodal command types to DriverCommandType enum - Add multimodal event parsing to DriverProtocol.ParseEvent() - Remove duplicate enum declarations from Protocol_Multimodal.cs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multimodal Driver Support - C# SDK Updates
This update adds comprehensive multimodal support to the C# SDK to match the new agi-driver capabilities.
Changes Required
Protocol Updates (
src/Agi/Driver/Protocol.cs)Add to DriverEventType Enum
Add to DriverCommandType Enum
New Classes
Add to StartCommand Class
Update AgentName Default
Change
AgentNameproperty default from""to"agi-2-claude".Usage Examples
Basic Multimodal Session
Handling New Events
Voice-Only Mode
MCP Servers
Tool Choice Configuration
Breaking Changes
StartCommandhas many new fields (all have defaults)AgentNamedefault should be changed to"agi-2-claude"Testing
Implementation Checklist
DriverEventTypeenumDriverCommandTypeenumRelated PRs
Note
Due to the C# SDK's strongly-typed nature, these changes require more extensive code updates compared to Python/Node. A Protocol_Multimodal.cs file has been created as a reference implementation. Integrate these changes into the existing Protocol.cs file.