ChatGPS
0.2.0
Access language models in your scripts and terminal, build AI agents with PowerShell.
Minimum PowerShell version
7.4.0
Installation Options
Owners
Copyright
(c) Adam Edwards.
Package Details
Author(s)
- Adam Edwards (adamedx)
Tags
DevOps AI LLM GPT Azure OpenAI Onnx Phi Ollama Gemini Anthropic Claude
Functions
Add-ChatPlugin Add-ChatPluginFunction Build-ChatCode Clear-ChatAgentState Clear-ChatConversation Clear-ChatLog Connect-ChatSession Get-ChatConversation Get-ChatCurrentVoice Get-ChatEncryptedUnicodeKeyCredential Get-ChatFunction Get-ChatLog Get-ChatPlugin Get-ChatSession Get-ChatSettingsInfo Get-ChatVoiceName Install-ChatAddOn Invoke-ChatFunction New-ChatFunction New-ChatVoice New-ChatScriptBlock New-ChatSettings Out-ChatVoice Register-ChatPlugin Remove-ChatFunction Remove-ChatPlugin Remove-ChatSession Save-ChatSessionSetting Select-ChatSession Send-ChatMessage Set-ChatAgentAccess Set-ChatCurrentVoice Start-ChatAgent Start-ChatShell Stop-ChatAgent Unregister-ChatPlugin Update-ChatSettings
Dependencies
This module has no dependencies.
Release Notes
## ChatGPS 0.2.0 Release Notes
Adds shell agent support, improve Build-ChatCode with RunBlock support
### New dependencies
None.
### Breaking changes
None.
### New features
* Shell Agent: A new shell agent capability is added through the Start-ChatAgent command. When this is invoked for a given session, language model interactions through Send-ChatMessage and Start-ChatShell will have access to your command history as well as terminal output to standard output, allowing the language model to "see" all activity in your terminal. New commands include:
* Start-ChatAgent -- enables the agent for a session
* Stop-ChatAgent -- disables the agent for a session
* Clear-ChatAgentState -- deletes leftover transcript files from Start-Transscript used by the agent to obtain a log of terminal activity.
* Code generation improvements: Build-ChatCode provides runtime language integration when generating code for languages other than PowerShell; this allows you to invoke the generated code from PowerShell itself. Build-ChatCode now supports a 'runblock," which is a script block that wraps generated code so that it can be executed by a runtime appropriate to that code. This optional feature allows you to instruct Build-ChatCode to add a wrapper around the generated code that invokes it so that the output of Build-ChatCode can be executed from PowerShell. This isn't needed of course when generating PowerShell code, but since PowerShell can't execute Python code without a Python interpreter, a Runblock wrapper can be used so that the result of Build-ChatCode is itself a PowerShell script block that passes the generated code to the appropriate language runtime to execute it. Build-ChatCode can automatically generated wrappers for Python and Javascript, and you can also specify a custom RunBlock for other langauges.
### Fixed defects
None.
FileList
- ChatGPS.nuspec
- lib\Microsoft.Extensions.AI.OpenAI.dll
- lib\Microsoft.Extensions.Logging.EventLog.dll
- lib\OpenTelemetry.Api.ProviderBuilderExtensions.dll
- src\codegen.ps1
- src\commands\Get-ChatVoiceName.ps1
- src\plugins\PluginUtilities.ps1
- lib\runtimes\unix\lib\net8.0\Microsoft.PowerShell.Security.dll
- ChatGPS.psd1
- lib\Microsoft.Extensions.AmbientMetadata.Application.dll
- lib\Microsoft.Extensions.Logging.EventSource.dll
- lib\OpenTelemetry.dll
- src\commands.ps1
- src\commands\Install-ChatAddOn.ps1
- src\presentation\model.ps1
- lib\runtimes\unix\lib\net8.0\System.Management.Automation.dll
- lib\AIProxy.deps.json
- lib\Microsoft.Extensions.Caching.Abstractions.dll
- lib\Microsoft.Extensions.ObjectPool.dll
- lib\Polly.Core.dll
- src\config.ps1
- src\commands\Invoke-ChatFunction.ps1
- src\presentation\reply.ps1
- lib\runtimes\unix\lib\netstandard1.6\Microsoft.Management.Infrastructure.dll
- lib\AIProxy.dll
- lib\Microsoft.Extensions.Compliance.Abstractions.dll
- lib\Microsoft.Extensions.Options.ConfigurationExtensions.dll
- lib\Polly.Extensions.dll
- src\function.ps1
- src\commands\New-ChatFunction.ps1
- src\presentation\voice.ps1
- lib\runtimes\win\lib\net8.0\Microsoft.PowerShell.Commands.Diagnostics.dll
- lib\AIProxy.exe
- lib\Microsoft.Extensions.Configuration.Abstractions.dll
- lib\Microsoft.Extensions.Options.dll
- lib\Polly.RateLimiting.dll
- src\intent.ps1
- src\commands\New-ChatScriptBlock.ps1
- src\services\compatibility.ps1
- lib\runtimes\win\lib\net8.0\Microsoft.PowerShell.Commands.Management.dll
- lib\AIProxy.runtimeconfig.json
- lib\Microsoft.Extensions.Configuration.Binder.dll
- lib\Microsoft.Extensions.Primitives.dll
- lib\System.ClientModel.dll
- src\native.ps1
- src\commands\New-ChatSettings.ps1
- src\services\session.ps1
- lib\runtimes\win\lib\net8.0\Microsoft.PowerShell.Commands.Utility.dll
- lib\AIService.dll
- lib\Microsoft.Extensions.Configuration.CommandLine.dll
- lib\Microsoft.Extensions.Resilience.dll
- lib\System.CodeDom.dll
- src\plugins.ps1
- src\commands\New-ChatVoice.ps1
- src\shell\replcommand.ps1
- lib\runtimes\win\lib\net8.0\Microsoft.PowerShell.ConsoleHost.dll
- lib\Anthropic.SDK.dll
- lib\Microsoft.Extensions.Configuration.dll
- lib\Microsoft.Extensions.Telemetry.Abstractions.dll
- lib\System.CommandLine.dll
- src\presentation.ps1
- src\commands\Out-ChatVoice.ps1
- src\shell\ReplState.ps1
- lib\runtimes\win\lib\net8.0\Microsoft.PowerShell.CoreCLR.Eventing.dll
- lib\Azure.AI.OpenAI.dll
- lib\Microsoft.Extensions.Configuration.EnvironmentVariables.dll
- lib\Microsoft.Extensions.Telemetry.dll
- lib\System.Configuration.ConfigurationManager.dll
- src\services.ps1
- src\commands\Register-ChatPlugin.ps1
- src\shell\ShellAgent.ps1
- lib\runtimes\win\lib\net8.0\Microsoft.PowerShell.Security.dll
- lib\Azure.Core.dll
- lib\Microsoft.Extensions.Configuration.FileExtensions.dll
- lib\Microsoft.Extensions.VectorData.Abstractions.dll
- lib\System.Diagnostics.EventLog.dll
- src\shell.ps1
- src\commands\Remove-ChatFunction.ps1
- src\shell\shellux.ps1
- lib\runtimes\win\lib\net8.0\Microsoft.Win32.Registry.AccessControl.dll
- lib\Azure.Identity.dll
- lib\Microsoft.Extensions.Configuration.Json.dll
- lib\Microsoft.Identity.Client.dll
- lib\System.Diagnostics.PerformanceCounter.dll
- src\addons\addons.ps1
- src\commands\Remove-ChatPlugin.ps1
- lib\runtimes\linux-arm\native\libpsl-native.so
- lib\runtimes\win\lib\net8.0\Microsoft.Win32.SystemEvents.dll
- lib\BaseTypes.dll
- lib\Microsoft.Extensions.Configuration.UserSecrets.dll
- lib\Microsoft.Identity.Client.Extensions.Msal.dll
- lib\System.DirectoryServices.dll
- src\addons\Program.ps1
- src\commands\Remove-ChatSession.ps1
- lib\runtimes\linux-arm64\native\libpsl-native.so
- lib\runtimes\win\lib\net8.0\Microsoft.WSMan.Management.dll
- lib\ChatGPS.dll
- lib\Microsoft.Extensions.DependencyInjection.Abstractions.dll
- lib\Microsoft.IdentityModel.Abstractions.dll
- lib\System.Drawing.Common.dll
- src\addons\Tools.ps1
- src\commands\Save-ChatSessionSetting.ps1
- lib\runtimes\linux-musl-x64\native\libpsl-native.so
- lib\runtimes\win\lib\net8.0\Microsoft.WSMan.Runtime.dll
- lib\ChatGPSLib.dll
- lib\Microsoft.Extensions.DependencyInjection.AutoActivation.dll
- lib\Microsoft.IO.RecyclableMemoryStream.dll
- lib\System.IO.Packaging.dll
- src\codegen\CodeGeneration.ps1
- src\commands\Select-ChatSession.ps1
- lib\runtimes\linux-x64\native\libpsl-native.so
- lib\runtimes\win\lib\net8.0\System.Diagnostics.EventLog.dll
- lib\DocumentFormat.OpenXml.dll
- lib\Microsoft.Extensions.DependencyInjection.dll
- lib\Microsoft.PowerShell.MarkdownRender.dll
- lib\System.IO.Pipelines.dll
- src\codegen\LanguageBinding.ps1
- src\commands\Send-ChatMessage.ps1
- lib\runtimes\osx\native\libpsl-native.dylib
- lib\runtimes\win\lib\net8.0\System.Diagnostics.EventLog.Messages.dll
- lib\DocumentFormat.OpenXml.Framework.dll
- lib\Microsoft.Extensions.Diagnostics.Abstractions.dll
- lib\Microsoft.SemanticKernel.Abstractions.dll
- lib\System.Management.dll
- src\codegen\PowerShellCodeGen.ps1
- src\commands\Set-ChatAgentAccess.ps1
- lib\runtimes\win-arm\native\getfilesiginforedist.dll
- lib\runtimes\win\lib\net8.0\System.Diagnostics.PerformanceCounter.dll
- lib\Google.Apis.Core.dll
- lib\Microsoft.Extensions.Diagnostics.dll
- lib\Microsoft.SemanticKernel.Connectors.AzureOpenAI.dll
- lib\System.Memory.Data.dll
- src\commands\Add-ChatPlugin.ps1
- src\commands\Set-ChatCurrentVoice.ps1
- lib\runtimes\win-arm\native\PowerShell.Core.Instrumentation.dll
- lib\runtimes\win\lib\net8.0\System.DirectoryServices.dll
- lib\Google.Apis.CustomSearchAPI.v1.dll
- lib\Microsoft.Extensions.Diagnostics.ExceptionSummarization.dll
- lib\Microsoft.SemanticKernel.Connectors.Google.dll
- lib\System.Numerics.Tensors.dll
- src\commands\Add-ChatPluginFunction.ps1
- src\commands\Start-ChatAgent.ps1
- lib\runtimes\win-arm\native\pwrshplugin.dll
- lib\runtimes\win\lib\net8.0\System.Management.Automation.dll
- lib\Google.Apis.dll
- lib\Microsoft.Extensions.FileProviders.Abstractions.dll
- lib\Microsoft.SemanticKernel.Connectors.Ollama.dll
- lib\System.Security.Cryptography.Pkcs.dll
- src\commands\Build-ChatCode.ps1
- src\commands\Start-ChatShell.ps1
- lib\runtimes\win-arm64\native\getfilesiginforedist.dll
- lib\runtimes\win\lib\net8.0\System.Management.dll
- lib\JetBrains.Annotations.dll
- lib\Microsoft.Extensions.FileProviders.Physical.dll
- lib\Microsoft.SemanticKernel.Connectors.OpenAI.dll
- lib\System.Security.Cryptography.ProtectedData.dll
- src\commands\Clear-ChatAgentState.ps1
- src\commands\Stop-ChatAgent.ps1
- lib\runtimes\win-arm64\native\microsoft.management.infrastructure.native.unmanaged.dll
- lib\runtimes\win\lib\net8.0\System.Security.Cryptography.Pkcs.dll
- lib\Json.More.dll
- lib\Microsoft.Extensions.FileSystemGlobbing.dll
- lib\Microsoft.SemanticKernel.Core.dll
- lib\System.Security.Permissions.dll
- src\commands\Clear-ChatConversation.ps1
- src\commands\Unregister-ChatPlugin.ps1
- lib\runtimes\win-arm64\native\PowerShell.Core.Instrumentation.dll
- lib\runtimes\win\lib\net8.0\System.ServiceProcess.ServiceController.dll
- lib\JsonPointer.Net.dll
- lib\Microsoft.Extensions.Hosting.Abstractions.dll
- lib\Microsoft.SemanticKernel.dll
- lib\System.ServiceProcess.ServiceController.dll
- src\commands\Clear-ChatLog.ps1
- src\commands\Update-ChatSettings.ps1
- lib\runtimes\win-arm64\native\pwrshplugin.dll
- lib\runtimes\win\lib\net8.0\System.Threading.AccessControl.dll
- lib\JsonSchema.Net.dll
- lib\Microsoft.Extensions.Hosting.dll
- lib\Microsoft.SemanticKernel.Plugins.Core.dll
- lib\System.Text.Encodings.Web.dll
- src\commands\Connect-ChatSession.ps1
- src\config\Settings.ps1
- lib\runtimes\win-x64\native\getfilesiginforedist.dll
- lib\runtimes\win\lib\net8.0\System.Windows.Extensions.dll
- lib\Markdig.Signed.dll
- lib\Microsoft.Extensions.Http.Diagnostics.dll
- lib\Microsoft.SemanticKernel.Plugins.Document.dll
- lib\System.Text.Json.dll
- src\commands\Get-ChatConversation.ps1
- src\format\colorstring.ps1
- lib\runtimes\win-x64\native\microsoft.management.infrastructure.native.unmanaged.dll
- lib\runtimes\win-arm\lib\net5.0\getfilesiginforedistwrapper.dll
- lib\Microsoft.ApplicationInsights.dll
- lib\Microsoft.Extensions.Http.dll
- lib\Microsoft.SemanticKernel.Plugins.Web.dll
- lib\System.Threading.AccessControl.dll
- src\commands\Get-ChatCurrentVoice.ps1
- src\format\format.ps1xml
- lib\runtimes\win-x64\native\PowerShell.Core.Instrumentation.dll
- lib\runtimes\win-arm64\lib\net5.0\getfilesiginforedistwrapper.dll
- lib\Microsoft.Bcl.AsyncInterfaces.dll
- lib\Microsoft.Extensions.Http.Resilience.dll
- lib\Microsoft.Win32.Registry.AccessControl.dll
- lib\System.Threading.RateLimiting.dll
- src\commands\Get-ChatEncryptedUnicodeKeyCredential.ps1
- src\function\Function.ps1
- lib\runtimes\win-x64\native\pwrshplugin.dll
- lib\runtimes\win-arm64\lib\netstandard1.6\microsoft.management.infrastructure.dll
- lib\Microsoft.Bcl.HashCode.dll
- lib\Microsoft.Extensions.Logging.Abstractions.dll
- lib\Microsoft.Win32.SystemEvents.dll
- lib\System.Windows.Extensions.dll
- src\commands\Get-ChatFunction.ps1
- src\init\ModuleParentEnvironment.ps1
- lib\runtimes\browser\lib\net8.0\System.Text.Encodings.Web.dll
- lib\runtimes\win-arm64\lib\netstandard1.6\microsoft.management.infrastructure.native.dll
- lib\Microsoft.CodeAnalysis.CSharp.dll
- lib\Microsoft.Extensions.Logging.Configuration.dll
- lib\Newtonsoft.Json.dll
- src\addons.ps1
- src\commands\Get-ChatLog.ps1
- src\intent\PromptBook.ps1
- lib\runtimes\unix\lib\net8.0\Microsoft.PowerShell.Commands.Management.dll
- lib\runtimes\win-x64\lib\net5.0\getfilesiginforedistwrapper.dll
- lib\Microsoft.CodeAnalysis.dll
- lib\Microsoft.Extensions.Logging.Console.dll
- lib\OllamaSharp.dll
- src\aliases.ps1
- src\commands\Get-ChatPlugin.ps1
- src\plugins\GeneratePlugin.ps1
- lib\runtimes\unix\lib\net8.0\Microsoft.PowerShell.Commands.Utility.dll
- lib\runtimes\win-x64\lib\netstandard1.6\microsoft.management.infrastructure.dll
- lib\Microsoft.Extensions.AI.Abstractions.dll
- lib\Microsoft.Extensions.Logging.Debug.dll
- lib\OpenAI.dll
- src\ChatGPS.ps1
- src\commands\Get-ChatSession.ps1
- src\plugins\PluginParameter.ps1
- lib\runtimes\unix\lib\net8.0\Microsoft.PowerShell.ConsoleHost.dll
- lib\runtimes\win-x64\lib\netstandard1.6\microsoft.management.infrastructure.native.dll
- lib\Microsoft.Extensions.AI.dll
- lib\Microsoft.Extensions.Logging.dll
- lib\OpenTelemetry.Api.dll
- src\ChatGPS.psm1
- src\commands\Get-ChatSettingsInfo.ps1
- src\plugins\PluginParameterCompleter.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.2.0 (current version) | 11 | 10/12/2025 |
| 0.1.0 | 17 | 9/3/2025 |
| 0.1.0-preview | 5 | 9/1/2025 |