Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

etag = 2c6335b37e4ae05eea7c01f5d0c9d82b49c488f868a8b5ba7bff7c6ff01f3994
weak
[file "Directory.Build.props"]
[file "src/Directory.Build.props"]
url = https://github.com/devlooped/oss/tree/main/src/Directory.Build.props
sha = 2fff747a9673b499c99f2da183cdd5263fdc9333

etag = 0fccddf04f282fe98122ab2610dc2972c205a521254559bf013655c6271b0017
weak
[file "Directory.Build.targets"]
[file "src/Directory.Build.targets"]
url = https://github.com/devlooped/oss/tree/main/src/Directory.Build.targets
sha = a8b208093599263b7f2d1fe3854634c588ea5199

Expand Down
4 changes: 4 additions & 0 deletions Smith.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<Solution>
<Project Path="src/Smith.Extensions/Smith.Extensions.csproj" />
<Project Path="src/Smith/Smith.msbuildproj" Type="13b669be-bb05-4ddf-9536-439f39a36129" />
</Solution>
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 8 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
An opinionated meta-package for doing AI agents using Microsoft.Extensions.AI and MCP and dotnet run file.
![Icon](assets/icon.png) Smith
============

[![Version](https://img.shields.io/nuget/vpre/Smith.svg?color=royalblue)](https://www.nuget.org/packages/Smith)
[![Downloads](https://img.shields.io/nuget/dt/Smith.svg?color=green)](https://www.nuget.org/packages/Smith)
[![License](https://img.shields.io/github/license/devlooped/Smith.svg?color=blue)](https://github.com//devlooped/Smith/blob/main/license.txt)
[![Build](https://github.com/devlooped/Smith/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/devlooped/Smith/actions)

<!-- #content -->

An opinionated meta-package for doing AI agents using Microsoft.Extensions.AI and MCP and dotnet run file.

Example Claude-based agent:

![](https://raw.githubusercontent.com/devlooped/smith/main/assets/run.png)
Expand All @@ -15,8 +20,8 @@ Example Claude-based agent:
var configuration = new ConfigurationBuilder()
.AddEnvironmentVariables()
.AddUserSecrets()
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
.AddIniFile("appsettings.ini", optional: true, reloadOnChange: true)
.AddJsonFile("appsettings.json", optional: true)
.AddIniFile("appsettings.ini", optional: true)
.Build();

var services = new ServiceCollection();
Expand Down
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions src/Smith.Extensions/Smith.Extensions.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NuGetizer" Version="1.2.4" />
</ItemGroup>

</Project>
11 changes: 9 additions & 2 deletions Smith.msbuildproj → src/Smith/Smith.msbuildproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.5.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.5" />
<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.0-preview.4.25258.110" />
<PackageReference Include="NuGetizer" Version="1.2.4" PrivateAssets="all" Pack="false" />
<PackageReference Include="NuGetizer" Version="1.2.4" />
<PackageReference Include="Anthropic" Version="3.6.0" />
<PackageReference Include="Spectre.Console" Version="0.50.0" />
<PackageReference Include="Spectre.Console.Json" Version="0.50.0" />
Expand All @@ -28,6 +28,13 @@
<ItemGroup>
<None Update="Smith.props" PackFolder="build" />
<None Update="Smith.targets" PackFolder="build" />
<Content Include="cs\AddUserSecrets.cs" Pack="true" BuildAction="Compile" />
<Content Include="cs\*.cs" Pack="true" BuildAction="Compile" />
</ItemGroup>
<ItemGroup>
<None Include="Smith.props" />
<None Include="Smith.targets" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Smith.Extensions\Smith.Extensions.csproj" />
</ItemGroup>
</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/Smith/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!-- include ../../readme.md#content -->
<!-- include https://github.com/devlooped/sponsors/raw/main/footer.md -->
<!-- exclude -->
File renamed without changes