Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
166240 stories
·
33 followers

Training Your Own Model to Sound Like You

1 Share
Fine-tune a small local LLM on your own writing with LoRA: turn old posts into training pairs, train with MLX-LM, test on unseen topics, and run it in Ollama.
Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete

SE Radio 749: Sachin Singh on the Network Time Protocol

1 Share

Sachin Singh, former software engineering lead for time synchronizsation at AWS, discusses the Network Time Protocol (NTP) -- a key protocol for communicating time between devices over the internet. Host Jason Davey speaks with him about the background of computer timekeeping, how NTP allows us to synchronize with highly accurate atomic clocks, why this is important, and Sachin's experience operating an NTP service at scale. Along the way, they discuss various practical considerations how developers can deal with time in their own applications.





Download audio: https://traffic.libsyn.com/secure/seradio/749-sachin-singh-ntp.mp3?dest-id=23379
Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Jensen Huang Goes To Washington — With Josh Rogin

1 Share

Josh Rogin is the lead global security analyst at The Washington Post and author of The Cable on Substack. Rogin joins Big Technology Podcast to discuss Jensen Huang’s congressional testimony and what Washington’s scrutiny could mean for Nvidia’s business. Tune in to hear why Rogin believes the investigations are only beginning, how new export restrictions could reshape global chip sales, and what’s at stake in the debate over China’s access to advanced AI. We also cover Chinese cyberattacks, the political divide between JD Vance and Marco Rubio, and how geopolitics is reshaping the AI infrastructure buildout. Hit play for a sharp conversation about Nvidia’s future and the collision between Silicon Valley, Washington, and national security.

---

Enjoying Big Technology Podcast? Please rate us five stars ⭐⭐⭐⭐⭐ in your podcast app of choice.

Want a discount for Big Technology on Substack + Discord? Here’s 25% off for the first year: ⁠https://www.bigtechnology.com/subscribe?coupon=0843016b⁠


Learn more about your ad choices. Visit megaphone.fm/adchoices





Download audio: https://pdst.fm/e/tracking.swap.fm/track/t7yC0rGPUqahTF4et8YD/pscrb.fm/rss/p/traffic.megaphone.fm/AMPP7845552671.mp3
Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Saving the Machines That Shaped Us with the Mimms Museum

1 Share

Scott talks with Karen and Lonnie Mimms about building the Mimms Museum of Technology and Art in Roswell, Georgia, and preserving the stories behind computers, software, and other technology. They discuss the museum’s broader focus on design and art, how artifacts can connect generations, and the challenges of keeping fragile machines and materials accessible for the future.





Download audio: https://r.zen.ai/r/cdn.simplecast.com/media/audio/transcoded/75c667ea-2739-4306-96be-e15097ef0853/24832310-78fe-4898-91be-6db33696c4ba/episodes/audio/group/16f64e1b-4099-40ac-886f-2714776bf5c2/group-item/4a4bdebe-3833-4ef3-b02e-5cdb2fdd7742/128_default_tc.mp3?aid=rss_feed&feed=gvtxUiIf
Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Intelligent Terminal v0.3.33: Supporting OSC 7501, quality improvements across agents, sidebar and sessions

1 Share

Intelligent Terminal v0.3.3301.0: Quality improvements across agents, sessions, and shells

Intelligent Terminal v0.3.3301.0 has a clear focus on quality, with dozens of features, fixes, and improvements across agent status, session restoration, shell integration, the sidebar, and the Agent Pane.

Agent warnings now stay accurate, windows return at their saved size, PowerShell integration avoids changing signed profiles, selected Agent Pane text copies correctly, and multiline drafts stay intact. These updates also add live status through the open OSC 7501 standard, native profiles for custom agents, and directional pane splits from the Command Palette.

You can grab the latest update from the Microsoft Store, via winget install Microsoft.IntelligentTerminal, or from the v0.3.3301.0 release page on GitHub.

An open standard for live agent status

Intelligent Terminal now supports OSC 7501, an open terminal status standard for AI agents and business workflow programs. It gives compatible tools a shared way to report what they are doing, while the sidebar shows those updates as they reach the terminal, including from programs running over SSH.

We also improved how that status behaves when several updates arrive at once:

  • Waiting and error states stay visible until the active session clears them
  • Acknowledging an error keeps the failed state accurate instead of making the task appear idle
  • Clearing an alert restores the agent icon
  • Delayed Copilot status checks recover cleanly without blocking the next check
  • Custom agents without hooks can still report activity through supported terminal signals

OSC 7501 gives agent and workflow developers a common way to bring live status into the terminal. The related fixes keep working, waiting, and error reports clear when several updates arrive close together.

Sidebar working with OSC status

Sessions and windows return the way you left them

We fixed several restoration issues across normal windows and tabs running in headless mode. Two separate paths could progressively shrink a restored window, including layouts with the agent status bar visible and windows restored from the system tray. Both now preserve the saved window size and position.

This work also includes:

  • The previously selected headless tab is selected again when several retained tabs return together
  • Restoring retained tabs into an open window leaves that window in place
  • The sidebar remembers whether it was collapsed
  • Recent agent sessions can be collapsed during search after matching history is expanded
  • Native session resume uses the agent profile’s launch settings, environment, appearance, and icon customizations

Shell integration stays out of your way

Shell integration needs to provide useful context without changing how your other terminals behave. This update makes that boundary clearer, especially for PowerShell:

  • Signed PowerShell profiles are left unchanged so automatic setup does not invalidate their signatures
  • Shared PowerShell profiles only enable Intelligent Terminal hooks inside Intelligent Terminal
  • Python virtual environment deactivation restores the correct PowerShell prompt
  • Command Prompt reports its current directory more reliably, including paths that contain semicolons
  • Missing PowerShell drive switches can trigger normal error detection
  • Sidebar Git metadata works in supported linked worktrees
  • Git installations in paths with wildcard characters are handled correctly

Your working directory, repository, branch, and change information can now stay current across more shell and workspace configurations.

Agent Pane fixes for everyday work

Several fixes target small Agent Pane problems that could interrupt a prompt or make a conversation harder to use:

  • Copy selected text from the right-click menu without losing the selection
  • Shift+Enter keeps multiline drafts intact when a custom binding sends Escape followed by Enter
  • Slash-command autocomplete stays out of the way of approval choices in short Agent Panes
  • Toolbar controls remain readable in Light theme, including active states and diagnostic text

agent pane right clicked

Better support for custom agents and pane layouts

Configured custom agents can now receive native terminal profiles when policy allows them. Any custom agent CLI that supports ACP, such as Pi, Qwen, or Kimi, can use the sidebar and session management with a profile you can launch from the new tab menu.

The new Resume arguments setting lets you specify the flag or verb that a native agent uses to resume a session. Intelligent Terminal appends the selected session ID when you resume, while ordinary new tabs and splits keep their normal launch command.

Agent arguments

We also added Split pane (current profile) actions to the Command Palette. You can open another instance of the focused pane’s profile above, below, left, or right without reopening the profile picker with Ctrl+Shift+P > search for Split pane (current profile).

split with profile

More sidebar polish

We also cleaned up smaller sidebar details that affect navigation and readability:

  • The new tab button and profile menu have separate touch targets
  • The sidebar toggle stays in place when the sidebar expands or collapses
  • The collapsed toggle no longer appears permanently hovered
  • Pin badges no longer overlap compact tab icons
  • Directory, repository, and branch labels preserve the most useful part of long names
  • Assistive technology receives the correct selected tab and clearer pane positions
  • Empty custom-agent history entries stay hidden

For every change, see the full v0.3.3301.0 release notes.

Thanks to our community

Thank you to @Aaravkhanal, @sontoriyama, @Giridharan2029, and @mangeshraut712 for the fixes, proposals, reviews, and testing that helped shape this update.

We’ll keep working through bugs and feature requests while Intelligent Terminal is in this experimental stage. If you find an issue or have an idea, submit it on GitHub or visit the Intelligent Terminal repository. Thank you!

The post Intelligent Terminal v0.3.33: Supporting OSC 7501, quality improvements across agents, sidebar and sessions appeared first on Windows Command Line.

Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete

Guardrails for AI Agents with AgentHooks

1 Share

AI agents are moving beyond answering questions. They can look up customer records, issue refunds, update accounts and take other actions on a user’s behalf. That makes one question hard to avoid: how do you stay in control of what an agent sees, does and says?

A prompt can tell an agent not to reveal private information or call a risky tool. But a prompt is an instruction to a model, not a reliable control in your application. Models can misunderstand, be manipulated or simply make the wrong choice. For important decisions, your application needs checkpoints that evaluate what is happening and decide what may happen next.

That is the role of Microsoft.Agents.AI.AgentHooks, a package that connects Microsoft Agent Framework agents to the Agent Hooks specification. It gives your application a consistent way to inspect an agent run and apply your own policies as the run unfolds.

What are Agent Hooks?

Agent Hooks define specific points where an agent pauses and gives your application a chance to review the next step. At each point, your code receives context about what is happening and returns a decision, called a verdict. The agent then follows that decision.

There are eight interception points across a run:

  • agent_startup begins the run.
  • input checks the user’s message before the model sees it.
  • pre_model_call and post_model_call surround each call to the model.
  • pre_tool_call and post_tool_call surround each tool call.
  • output checks the final answer before it reaches the user.
  • agent_shutdown closes the run.

The model and tool checkpoints can repeat as the agent works through a request. For example, the model may call a tool, review its result, and then call another tool before producing a final response. Each step gives your application another opportunity to apply the right policy.

agenthooks-interception-points

Why use checkpoints?

A prompt can influence an agent, but it cannot guarantee that an action is safe. Interceptors let your application apply clear rules at the boundaries where data or actions matter: before a model receives sensitive input, before a tool changes a record, after a tool returns private data, and before an answer is shown to a user.

This approach offers several practical benefits:

  • Consistent coverage. User input, model calls, tool calls and final output all have defined review points.
  • Fail-closed behavior. In enforcement mode, if an interceptor fails, times out or returns an invalid decision, the action is denied. Streaming output is held until it passes its check.
  • Flexible decisions. An interceptor can allow, warn, deny, ask for human approval or transform data.
  • Clear separation. Business tools can focus on their job, while policy rules live in focused, testable interceptors.
  • An audit trail. Each checkpoint can record where it occurred, what decision was made, and which rule made it.
  • A safer rollout. Evaluate-only mode records what a policy would have blocked without enforcing it, letting you assess rules before they affect users.

Interceptors: the checkpoints you control

An interceptor is a small policy component that reviews an agent event and returns a verdict. Agent Hooks calls it at the relevant interception points and provides an AgentContext containing information about that moment in the run.

The context tells the interceptor where it is, for example, before a tool call, and what is about to happen. At a tool checkpoint, it can include the tool’s name and its arguments. At other points, the target may be the incoming user message, the model’s response, a tool result or the final answer.

That context lets you write rules that match the event. A tool policy, for instance, could reject any attempt to delete a customer and require approval before issuing a refund above a set amount. The policy checks the tool name and its arguments before the tool runs. If the refund is small, it allows the call; if it exceeds the limit, it asks for human approval; if the action is prohibited, it denies the call.

The tool itself does not need to know about the guardrail. This keeps policy decisions in one place and makes them easier to review and update.

Verdicts: what happens next

Every interceptor returns a verdict. The verdict determines whether the agent continues, pauses for approval, stops, or proceeds with adjusted data.

VerdictWhat it means
AllowLet the step proceed.
WarnLet it proceed, while recording a warning for visibility or review.
DenyBlock the step. The effect depends on the checkpoint: the run can stop, or a blocked tool call can return an error to the model so the conversation can continue safely.
EscalatePause for a human decision. An approval resolver receives the request, and the step proceeds only if it is approved.
Transform (Decision.Transform)Change the data before it continues through the agent.

Transform is especially useful because it can protect information without stopping the entire interaction. At the input checkpoint, an interceptor can replace a Social Security number with a marker such as [SSN REDACTED] before the model receives the message. At a post-tool checkpoint, it can mask a card number in a tool result. At the output checkpoint, it can remove a secret from the answer before the user sees it.

A transformation targets a specific value in the event data, such as the content of the current target. The interceptor returns the replacement, and Agent Hooks applies it before the run continues. The model can still respond to the request, but it does not need to see or repeat the protected value.

What happens when a tool is blocked?

Suppose a user asks an assistant to delete a customer record. At pre_tool_call, the interceptor sees that the agent is about to invoke the deletion tool. It returns a deny verdict, so the tool never runs. The model receives information that the action was blocked and can explain the restriction or offer another option. The run can then continue to a safe final answer.

For a request that requires approval, the interceptor returns an escalation verdict instead. The approval resolver routes the decision to a human. If approved, the tool call proceeds; if denied, the action remains blocked. This makes human review part of the flow, rather than relying on the model to decide for itself when it should ask.

A useful audit trail

Each interception point can produce a record with the checkpoint, verdict, interceptor and reason. That record helps explain what happened during a run and makes policies easier to monitor.

For example, an audit trail could show that a request passed input and model checks, but a destructive tool call was denied by the tool policy. The assistant then continued and returned a safe explanation. The tool was not executed, and the record identifies the rule responsible for stopping it.

Evaluate-only mode is useful while introducing a new policy. In this mode, the system records the verdict the interceptor would have returned, but does not block the action. Teams can review those records, adjust rules that are too broad, and then switch to enforcement when the results look right.

Putting the layers together

Agent Hooks fits alongside other safety controls. For example, Microsoft Foundry’s content safety features can help protect model interactions, while application-level interceptors can govern your own tools, data, approvals and final responses. Each layer has a different view of the request, so using them together can provide more complete coverage.

Good to know

  • Agent Hooks provides places to apply controls; it is not a sandbox. Interceptors run inside your trusted application, so they should be implemented and operated with the same care as other security-sensitive code.
  • Tools hosted and executed by a model provider do not pass through your application’s pre_tool_call checkpoint. Their activity may be visible after the model call, but it is important to understand this boundary when deciding which actions to expose.

If you are putting agents in front of real users and real data, prompts alone are not enough to govern every action. Interceptors give your application a chance to inspect each important step, and verdicts make the next action explicit: allow it, flag it, stop it, ask a person or safely transform the data.

Start in evaluate-only mode, review what your policies catch, and refine them before enforcing them. That gives you a practical path from experimentation to agent behavior you can observe and control.

To see a full implementation as a sample for Agent Hooks, please visit the repo here

Let us know in the comments if this was useful to you.

The post Guardrails for AI Agents with AgentHooks appeared first on The Training Boss.

Read the whole story
alvinashcraft
2 hours ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories