Coding Agent Configuration
Configure the engine and AI credentials that power automated software development tasks in monolayer.
Configure your artificial intelligence (AI) provider credentials to enable autonomous code generation, bug fixing, and refactoring.
About the Coding Agent
The Coding Agent is an autonomous AI assistant that helps you write, debug, and review code in your application.
Currently, the agent is active and available inside your interactive playground sessions. Future updates will bring agent support to more areas of monolayer.
The settings dashboard is divided into two primary sections:
- Harness: The execution environment and runtime engine that runs and manages the agent.
- Providers: The API keys and authentication files used to connect the agent to large language model (LLM) services.
Security First
Your credentials are encrypted and stored securely. In the dashboard, keys are
masked (e.g., ******) so they cannot be read or stolen from the screen.
Agent Harnesses
The harness determines the core runner that coordinates files, runs commands, and performs agent operations.
- OpenCode (Active): The default open-source agent engine built directly into monolayer.
- Codex (Coming Soon)
- Claude Code (Coming Soon)
Configuring LLM Providers
To power your agent's intelligence, you must configure a model provider. You can save credentials for one or both supported platforms.
OpenAI (API Key)
Connects the agent to OpenAI models. Follow these steps to connect your agent to OpenAI:
Steps
- Locate OpenAI under the Providers section.
- Type your OpenAI API key starting with
sk-...in the input field. - Click Save.
Google Agent Platform (Vertex AI)
Connects the agent to Google's Agent Platform (Vertex AI) to use Gemini models. This integration requires an authorized Google Cloud service account key. Follow these steps to connect your agent to Google Vertex AI:
Steps
- Locate Google Agent Platform under the Providers section.
- Click Choose File, and select your Google Application Credentials JSON file.
- Click Save.
Modifying or Removing Credentials
Follow these steps to update an expired API key or switch service accounts by removing saved credentials.
Steps
- Choose Settings > Coding Agent in the global sidebar.
- Locate the provider you want to update.
- Click Delete next to the credential.
- Click Confirm in the deletion dialog.
- Type your new key, or select your new credentials file, and click Save.