General questions
This section covers frequently asked questions about the Agent Platform. Q: What is the Agent Platform?A: The Agent Platform lets you build, run, and manage AI-powered agents inside your applications. You can integrate agents via our SDK and APIs and monitor their behavior through a set of events. Q: Who is the Agent Platform for?
A: Developers, enthusiasts, and others who want to embed AI-driven workflows or autonomous agents directly into their applications with just a few lines of code. Q: How does authentication work?
A: Authentication is handled through Portal-H, H’s central identity and access hub. You’ll need to create an API key in Portal-H before you can use the Agent Platform JavaScript SDK or APIs. Q: Which model or agent should I choose? A: Our Holo models vary in size and performance. Smaller models are faster and more cost-efficient, while larger models provide stronger reasoning and richer responses. See Models for a full comparison of capabilities, pricing, and latency. Similarly, you can list and select agents directly through the SDK or Agent Platform APIs. Our agents, from Tester-H to Surfer-H, differ in scope and objective. See Agents for a full comparison of our agents.
Agent Platform JavaScript SDK and API
This section answers common questions related to our SDK and Agent Platform API. Q: What does the SDK provide?A: The SDK makes it easy to connect your app to the Agent Platform. It wraps our trajectory APIs, handles authentication, streams agent events, and provides tools for building and managing agents. Q: What are trajectories?
A: Our Agent Platform API enables you to list, create, and update trajectories, and more. Trajectories represent the execution of an agent, including its objective, configuration, event log, status, and other metadata. They let you control and view the lifecycle of an agent’s reasoning and actions. Q: Can I use the platform without the SDK?
A: Yes. You can call our REST APIs directly if you prefer. The SDK just simplifies integration. We generally recommend using the SDK to integrate and run agents as quickly and easily as possible.
Agent performance
Q: What kind of events can I listen to?A: Our events include
ChatMessageEvent
, AgentStartedEvent
, and others. They give you detailed information about your agent and agent runs.
Future events
We’re constantly iterating and expanding the Agent Platform and may add or remove events moving forward. Please see View agent performance for current events supported on the Agent Platform.
We’re constantly iterating and expanding the Agent Platform and may add or remove events moving forward. Please see View agent performance for current events supported on the Agent Platform.
A: Yes. Our SDK supports real-time event streams that let you track exactly what your agent is doing. You can also use the trajectory endpoints to view your agent’s performance during a run and after it finishes running.