Agents inside your product
Configure, connect and run agents that act for your users — through your API, in your interface.
Your accountstore
Your orders
DeliveryTomorrow · 10 am–6 pm
View integration code
const operation = client.prepareInput({
agent_id: selectedAgentId,
text: 'Can my order arrive in the evening?',
});
// Save before dispatch for recovery.
const ack = await client.submitInput(operation);
// Continue the same conversation.
const sessionId = ack.session_id;User token in the browser. Secret key on your backend only.
Actions
Takes action, not just answers.
Connect tools as webhooks to your backend. During a run the agent calls them with the user it acts for; your service checks what that user may do and makes the change.
- Webhook request carries the Application, user and session
- Bearer-token auth and bounded timeouts
- Your service owns permissions and data
// Your backend: illustrative domain handler.
// Called after the user confirms the new window.
async function update_delivery_window(input, context) {
const order = await context.orders.requireOwned({
orderId: input.order_id,
userId: context.authenticatedUser.id,
});
return context.delivery.reschedule({
orderId: order.id,
window: input.window,
});
}Integration
Your interface. Your users.
Your backend authenticates people and issues each one a scoped token. The browser talks to Aimount with that token; the runtime key never leaves your server. The SDK is headless, so the chat looks like the rest of your product.
- TypeScript client and headless React bindings
- Scoped user tokens, runtime key on the server
- Conversations keep their history across agents
import { createApplicationClient } from '@aimount/application-client';
const client = createApplicationClient({
baseUrl: apiBaseUrl,
applicationId: issued.user.application_id,
userId: issued.user.id,
getAccessToken: getCurrentUserToken,
});
const operation = client.prepareInput({
agent_id: selectedAgentId,
text: 'Where is my order?',
});
// Persist the operation before dispatch for recovery.
const ack = await client.submitInput(operation);
// Keep ack.session_id to continue this conversation.
// Accepted is not answered: read history/events separately.Agents as code
Configuration in files, changes in review.
Models, tools, agents and Applications are YAML and Markdown files. Pull them into a repository, review the plan and apply it — the same way you ship infrastructure.
$ aimount pull
$ git diff agents/support/instruction.md
$ aimount plan
~ agent support: instructions changed
$ aimount applyBuilt for the parts you would rather not build.
Sessions belong to users
A conversation stays with the Application and user, not with the agent that answered it.
Several agents, one product
Connect several agents to an Application and choose one for each input.
Your model keys
Connect OpenAI or any OpenAI-compatible endpoint. Inference is billed by your provider.
Scoped user tokens
Short-lived tokens for each signed-in user; secrets stay on your backend.
Operator App
Configure models, tools, agents and Applications in the browser when files are not the right tool.
Retained history
Sessions persist, so users continue where they stopped on any device.
Start free. Pay for runs.
One meter: a run is one agent response to one user input. Users are not limited or billed.
Questions
What counts as a run?
Which models can I use?
Do I get a ready-made chat UI?
How do I get the SDK?
Where do keys live?
Put an agent in your product.
Request early access and we will help you set up your first Application.