Home / Companies / Harper / Blog / Post Details
Content Deep Dive

Harper's AI Stack: Models API, Agent Loop, and Built-in Agent

Blog post from Harper

Post Details
Company
Date Published
Author
Kris Zyp
Word Count
676
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

Harper 5.1 introduces three interconnected AI capabilities: a provider-agnostic Models API, a built-in agent loop with toolMode: 'auto', and an opt-in Harper Agent component, all designed to integrate AI as a core runtime feature rather than an external add-on. The Models API allows users to configure various AI providers through YAML and facilitates seamless switching between them via configuration changes, while recording usage metrics in Harper's analytics system. The agent loop enhances the scope.models.generate() function by enabling iterative tool usage until a predefined budget is exhausted, offering parameters for cost and iteration limits. Meanwhile, the Harper Agent component, disabled by default, provides general-purpose operations for deploying and managing AI features with operator-level access, requiring explicit approval for destructive actions. This component is primarily suited for internal operator tasks, while application-facing AI functionalities are best managed through the Models API and toolMode: 'auto', with ongoing efforts to integrate the agent with the same tool registry as server-side implementations.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.