new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

acp/options

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

ACP provider configuration options

The createACPProvider function accepts the following configuration options: - command (string, required): The command to execute the ACP agent (e.g., 'gemini', 'claude-code-acp', 'codex-acp'). - args (string[], optional): Arguments to pass to the command (e.g., ['--experimental-acp']). - env (Record<string, string>, optional): Environment variables for the agent process. - session (ACPSessionConfig, required): Session configuration including cwd (working directory for the agent) and mcpServers (array of MCP server configurations to provide tools to the agent). - authMethodId (string, optional): Authentication method ID to use if required by the ACP agent.

ACP provider authentication configuration

Some ACP agents require authentication. Specify the authMethodId in the provider configuration to use a specific authentication method (e.g., authMethodId: 'gemini-api-key').

ACP provider environment variables example

Example showing how to pass environment variables to the ACP agent process: ```typescript const provider = createACPProvider({ command: 'gemini', args: ['--experimental-acp'], env: { GEMINI_API_KEY: process.env.GEMINI_API_KEY, DEBUG: 'true', }, session: { cwd: process.cwd(), mcpServers: [], }, }); ```

Give your agent this brain