Live

BEARER TOKEN

AI MUSIC

AI

Bearer token AI music for Daydream: each user connects an access token once, and the agent lists, generates, and exports songs on that token.

  • Per-user credentials. each call uses the actual user's Daydream token, never a shared bot.
  • Encrypted per-tenant vault. AES-256, resolved at request time, never in LLM context.
  • Scoped before every call. pre-call scope check, 90-day SIEM-exportable audit chain.
Daydream
agent · Acme Q3
Run
List my Daydream songs and open the newest one.
S
daydream_list_songs
95ms
Daydream agent
8 songs on the account. Newest is Midnight Drive, status ready.
Sources: 8 songs
daydream
2 calls
18:29
Message Claude...

Tools your agent reaches for on Daydream, scoped per user.

CALL ANY TOOL
Bearer token AI music across all 12 Daydream tools: list and open songs, export MP3/WAV/stems, create tracks, and manage usage on the user's access token.
daydream_get_song
Get Song
Get one song: its status (queued, rendering, done or failed), its place in line while queued, its settings, and when done its versions in takes.
Parameters
Name
Type
Required
Description
id
string
Required
The song's id, returned by daydream_create_song or daydream_list_songs. Example: sng_4hT2kq9XbV1nLm0pQe3rZa
daydream_get_song_mp3
Get Song MP3
daydream_get_song_part
Get Song Part
daydream_get_song_wav
Get Song WAV
daydream_get_stem_flac
Get Stem FLAC
daydream_get_usage
Get Usage
daydream_list_songs
List Songs
daydream_buy_pack
Buy Pack
daydream_create_song
Create Song
daydream_redo_stem
Redo Stem
daydream_rename_song
Rename Song
daydream_delete_song
Delete Song
Build your Agent
Same token vault and scoped tool list across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { DynamicStructuredTool } from \"@langchain/core/tools\";
import { ScalekitClient } from \"@scalekit-sdk/node\";
const sk = new ScalekitClient(
process.env.SCALEKIT_ENVIRONMENT_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET,
);
const page = await sk.tools.listScopedTools(\"user_123\", {
filter: { connectionNames: [\"daydream\"], toolNames: [
\"daydream_list_songs\",
\"daydream_list_songs\",
\"daydream_send_message\",
]}, pageSize: 100,
});
import OpenAI from \"openai\";
import { ScalekitClient } from \"@scalekit-sdk/node\";
const sk = new ScalekitClient(
process.env.SCALEKIT_ENVIRONMENT_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET,
);
const page = await sk.tools.listScopedTools(\"user_123\", {
filter: { connectionNames: [\"daydream\"], toolNames: [
\"daydream_list_songs\",
\"daydream_list_songs\",
\"daydream_send_message\",
]}, pageSize: 100,
});
const openai = new OpenAI();
import Anthropic from \"@anthropic-ai/sdk\";
import { ScalekitClient } from \"@scalekit-sdk/node\";
const sk = new ScalekitClient(
process.env.SCALEKIT_ENVIRONMENT_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET,
);
const page = await sk.tools.listScopedTools(\"user_123\", {
filter: { connectionNames: [\"daydream\"], toolNames: [
\"daydream_list_songs\",
\"daydream_list_songs\",
\"daydream_send_message\",
]}, pageSize: 100,
});
const anthropic = new Anthropic();
import { ScalekitClient } from \"@scalekit-sdk/node\";
const sk = new ScalekitClient(
process.env.SCALEKIT_ENVIRONMENT_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET,
);
const page = await sk.tools.listScopedTools(\"user_123\", {
filter: { connectionNames: [\"daydream\"], toolNames: [
\"daydream_list_songs\",
\"daydream_list_songs\",
\"daydream_send_message\",
]}, pageSize: 100,
});
Try these prompts
Copy a prompt into your agent. Each one maps to Daydream song or generation tools for the signed-in user.
Browse songs
Copy the prompt
Copied
List my Daydream songs and say which are ready.
Copy the prompt
Copied
Open the newest song and summarize its metadata.
Copy the prompt
Copied
How many songs do I have left on this account?
Generate and edit
Copy the prompt
Copied
Create a short ambient track about rain on a city street.
Copy the prompt
Copied
Redo the vocal stem on my newest song.
Copy the prompt
Copied
Undo the last stem change on that song.
Export
Copy the prompt
Copied
Get an MP3 link for my newest ready song.
Copy the prompt
Copied
Get a WAV export for the same song.
Copy the prompt
Copied
Pull a FLAC stem if one exists.
SEE HOW AUTH WORKS
Your users connect once. Their Daydream credentials stay vaulted, every call is checked, and every action is logged.
1
Authorize
Your user connects
Daydream
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Daydream
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
Daydream
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Daydream
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
The same per-user vault works for other agents that generate or browse audio.
No items found.
Test other agents
The same per-user vault works for other agents that generate or browse audio.
No items found.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Daydream key generates music as one bot, so the audit cannot name the user. Scalekit resolves that user's token at request time.
// shared key
audit → bot_acct

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Daydream today. Others tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Daydream as the user or a shared key?
As the user. Scalekit resolves that user's Daydream access token for the call, so the audit names them.
Where is the token stored?
In Scalekit's encrypted per-tenant vault. It is resolved at request time and never placed in LLM context.
What is the difference between Daydream and Daydream MCP?
Daydream is the Scalekit-built connector tool set. Daydream MCP routes to Daydream's own hosted MCP server. Both use a bearer access token.
Which categories does it sit in?
AI and Media, matching the docs page.
Can I try it without writing code?
Yes. Open the playground in the Scalekit dashboard after you create a connection.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""daydream"": {
""url"": ""https://mcp.scalekit.com/daydream"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.daydream]
url = ""https://mcp.scalekit.com/daydream""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""daydream"": {
""url"": ""https://mcp.scalekit.com/daydream"",
""type"": ""http""
}
}
}