Mythetech.Agents.Components 0.3.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Mythetech.Agents.Components --version 0.3.0
                    
NuGet\Install-Package Mythetech.Agents.Components -Version 0.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mythetech.Agents.Components" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mythetech.Agents.Components" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Mythetech.Agents.Components" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mythetech.Agents.Components --version 0.3.0
                    
#r "nuget: Mythetech.Agents.Components, 0.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mythetech.Agents.Components@0.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mythetech.Agents.Components&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Mythetech.Agents.Components&version=0.3.0
                    
Install as a Cake Tool

Mythetech.Agents

Shared agent framework for Mythetech applications.

Mythetech.Agents

The normalized conversation model and the Claude Code driver that produces it. An IClaudeCodeConversation owns one CLI process, maps its stream into immutable AgentEntry records built from Microsoft.Extensions.AI content types, evaluates tool approvals through the host's IToolApprovalEvaluator, and reports through a typed event channel the host consumes in its own loop.

services.AddMythetechAgents();

var conversation = await factory.StartAsync(new ClaudeCodeConversationOptions("/path/to/repo", ClaudePermissionMode.AcceptEdits)
    .WithFrameworkMcpServer(mcpState, "myapp"));
await conversation.SendAsync("Run the tests.");
await foreach (var evt in conversation.Events.ReadAllAsync())
{
    // EntryAdded, ApprovalRequested, StatusChanged, ...
}

Mythetech.Agents.Components

Presentational Blazor components over AgentEntry: AgentTranscript, AgentEntryView, AgentApprovalCard, AgentQuestionCard, AgentInputBar, and ClaudeCodeConversationToolbar for the Claude Code pickers. AgentConversationView composes them from plain data so a host can feed it from its own runtime, or from a conversation observed with AgentConversationObserver.

Transcript markdown rewrites external links to a same-origin href, so mount AgentLinkInterceptor once, typically in the host's main layout, to open them through ILinkOpenService instead of navigating the WebView away.

@* In the host's main layout, mounted once *@
<AgentLinkInterceptor />

<AgentConversationView Entries="@conversation.Entries"
                       PendingApproval="@conversation.PendingApproval"
                       Status="@conversation.Status"
                       OnSend="@(text => conversation.SendAsync(text))"
                       OnDecision="@(answer => conversation.RespondToApprovalAsync(answer.Approval.RequestId, answer.Decision))"
                       OnInterrupt="@(() => conversation.InterruptAsync())">
    <Toolbar>
        <ClaudeCodeConversationToolbar PermissionMode="@conversation.PermissionMode" PermissionModeChanged="@ChangeModeAsync"
                                       Model="@conversation.Model" ModelChanged="@ChangeModelAsync" Usage="@conversation.Usage" />
    </Toolbar>
</AgentConversationView>

Mythetech.Agents.Protocols

Wire formats and transport for agent providers. The ClaudeCode namespace covers the Claude Code CLI in stream-json mode: message types, the control channel used for permission prompts, a channel-based process transport, a one-shot runner, and readers for the CLI's transcript logs and session index.

services.AddClaudeCodeProtocol();

var process = await factory.StartAsync(new ClaudeCliOptions("/path/to/repo", ClaudePermissionMode.AcceptEdits));
await process.SendUserMessageAsync("Run the tests.");
await foreach (var message in process.Messages.ReadAllAsync())
{
    // ClaudeAssistantStreamMessage, ClaudeControlRequestMessage, ClaudeResultStreamMessage, ...
}

The host registers Mythetech.Framework's IShellExecutor; the package does not.

Mythetech.Agents.Protocols.Testing

FakeClaudeCliProcess, FakeClaudeCliProcessFactory and FakeClaudeCliRunner for tests that drive a consuming app's runtime without a real CLI.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated