Getting Started with LM Studio & Agent Framework for .NET Developers #1099
anktsrkr
started this conversation in
Show and tell
Replies: 1 comment
-
|
it's asking for API key: crit: Microsoft.Extensions.Hosting.Internal.Host[10] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
✨ Why This Excites Me
The Microsoft Agent Framework lets you build, orchestrate, and manage multi-agent AI systems with .NET.
Combine it with LM Studio to run open-source LLMs locally while exposing an OpenAI-compatible API. This means you can switch seamlessly between local models and cloud APIs without changing your code.
Key features: pluggable memory, deterministic workflows, dynamic agent orchestration, and enterprise-ready tooling.
🧰 What I Did
Installed the desktop app.
Enabled “Power User” mode to expose a local OpenAI-compatible REST API.
Added the
Microsoft.Agents.AI.OpenAINuGet package.Built a simple agent (think “Joker” that tells jokes) using the local model.
Tested both non-streaming and streaming completions—super smooth!
With LM Studio running, the agent generated jokes locally in real-time.
Streaming output worked seamlessly—like magic in your console!
💡 Big Picture
This stack brings prototyping and production closer than ever. It’s fast, flexible, and reliable—perfect for developers who want local control without sacrificing scalability or integration.
If you’re curious, check out the full guide here: Getting Started with LM Studio & Agent Framework
Beta Was this translation helpful? Give feedback.
All reactions