Archive

337 posts · Page 23 of 29. ← Blog

Pratik Dhanave · ·1 min read

Skills

Packaging reusable agent capabilities that load lazily via progressive disclosure.

Package reusable agent capabilities as skills: define an InlineSkill with frontmatter, resources, and scripts, attach via SkillsProvider, and let the agent load them lazily on demand.

Pratik Dhanave · ·1 min read

Evaluation

Scoring Microsoft Agent Framework agent outputs offline with a LocalEvaluator.

Score Microsoft Agent Framework agent outputs with evaluate_agent and a LocalEvaluator: run offline keyword, tool-call, and custom evaluator checks, then gate CI via raise_for_status.

Pratik Dhanave · ·2 min read

02 · Add Tools

Hand the agent a plain Go function it can decide to call mid-conversation — the model requests it, the framework runs it, the result flows back.

Register a plain Go function as a tool with functool.MustNew; the model decides when to call it, the framework runs it, and the result flows back into the answer.

Pratik Dhanave · ·2 min read

01 · Hello Agent

The smallest useful agent: give a model instructions and a name, hand it a message, get a response — collected or streamed.

Build the smallest useful agent from instructions and a model, then run the same RunText call two ways — collected all at once and streamed token-by-token.

Pratik Dhanave · ·1 min read

Rag

Grounding a Microsoft Agent Framework agent in your own docs with a search tool.

Ground a Microsoft Agent Framework agent with RAG-as-a-tool: expose a search function over your docs, instruct the agent to retrieve then answer and cite, and decline when nothing matches.