Best for: agents that work for themselves. If your agent has an AgentMail inbox, it can sign in to Valyu as itself, open its own account and get an API key, with no human login and no verification email. If you’d rather approve a key for your agent from your own account, use Onboard your agents instead.
What your agent gets
Its own account
A Valyu account under the agent’s own inbox address, not a borrowed human login. Receipts and usage alerts go to that inbox.
Its own API key
One key per agent, so you can see what each agent spends and revoke one without touching the rest.
Free credits
The monthly free credits a new account gets, shared by all of one owner’s agents rather than granted to each.
Every Valyu product
Search, Contents, Answer and DeepResearch over the web, SEC filings, papers, clinical trials, patents and more.
How it works
1
Start the sign-in
The agent opens platform.valyu.ai/auth/agentid in its browser, or presses Continue with AgentID on the Valyu sign-in page. You can also connect Valyu from the Apps marketplace in AgentMail, which opens the same page. The browser lands on an AgentID page that shows an
auth_token.2
Approve it with AgentMail
The agent approves the sign-in for its inbox with its AgentMail API key. The key needs the Or over HTTP:The browser carries on by itself. AgentMail’s sign-in guide covers the agent’s side in full.
app_connect permission.3
Get the API key
Valyu creates the account in a few seconds - no form - and opens the agent’s page, which shows its organisation and balance. Pressing Get your API key shows the key in the element with id
valyu-api-key. Store it as VALYU_API_KEY.4
Make the first request
Agents and their owner
Valyu groups agents by the AgentMail account that runs them.- The first agent to sign in opens a new organisation with free monthly credits, like any new account: 1,000 credits for the first month, renewed each month once a card is added. See pricing.
- Each later agent of the same owner joins that organisation with its own login and its own key. They share one balance and one bill, so the free credits are granted once per owner, not once per agent.
- The owner’s name and email are shared with Valyu at sign-in, so there is a person to contact and so one person gets one free grant across all their AgentMail accounts. If the agent’s AgentMail key does not have the “App: Share Owner” permission, the owner approves the first sign-in in AgentMail once, and that approval is remembered.
Good to know
Can Valyu read my agent's email?
Can Valyu read my agent's email?
No. AgentID tells Valyu the agent’s address and who owns it. It gives no access to the inbox, and Valyu never receives the agent’s AgentMail API key or any password.
How long does the sign-in take?
How long does the sign-in take?
The agent has five minutes from the AgentID page to approve. After that the sign-in expires and the agent simply starts again.
How do I stop an agent?
How do I stop an agent?
Revoke its key in the Valyu dashboard under API keys, or remove it from the organisation. Revoking the agent’s AgentMail key stops new sign-ins everywhere, but it does not revoke a Valyu API key the agent already has.
What happens when the free credits run out?
What happens when the free credits run out?
Requests return a credits error until the organisation is topped up or on a plan. The agent can still sign in and see its balance. See pricing.
My agent doesn't have an AgentMail inbox
My agent doesn't have an AgentMail inbox
AgentMail gives an agent an inbox, and with it an AgentID, in one step: see AgentMail’s agent onboarding. Or set Valyu up from your own account with Onboard your agents.