Agent Setup¶
Configure the AI Agent in ScriptO Studio.
Prerequisites¶
To use the Agent, you need an API key from a supported LLM provider:
| Provider | Models | Get API Key |
|---|---|---|
| OpenAI | GPT-4, GPT-4o, GPT-3.5 | platform.openai.com |
| Anthropic | Claude 3.5, Claude 3 | console.anthropic.com |
| Gemini Pro | aistudio.google.com |
Configuration Steps¶
- Open ScriptO Studio
- Click Settings in the sidebar
- Navigate to Agent section
- Select your Provider from the dropdown
- Enter your API Key
- Select your preferred Model
- Click Save
Settings¶
| Setting | Description |
|---|---|
| Provider | LLM service (OpenAI, Anthropic, Google) |
| API Key | Your secret API key |
| Model | Specific model to use |
| Temperature | Creativity level (0.0 = deterministic, 1.0 = creative) |
Verify Setup¶
After configuration:
- Open the Agent panel (or use keyboard shortcut)
- Type "Hello, are you working?"
- You should receive a response
If you see an error, check: - API key is correct and active - You have credits/quota with the provider - Network connection is working
API Key Security¶
[!WARNING] Your API key is stored locally in your browser. Never share your API key or commit it to version control.
- Keys are stored in browser localStorage
- Keys are only sent to the configured provider
- Clear browser data to remove stored keys
Cost Considerations¶
LLM APIs are billed per token (roughly per word): - Simple queries: ~$0.001 - $0.01 - Complex code generation: ~$0.05 - $0.20 - Extended conversations: Costs accumulate
Set spending limits with your provider to avoid unexpected charges.