Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { AgentAutoAcceptPermissions } from './agentAutoAcceptPermissions';
import type { AgentChannelScope } from './agentChannelScope';
import type { AgentHarnessId } from './agentHarnessId';
import type { AgentMcpServers } from './agentMcpServers';
import type { Bot } from './bot';
/**
* A persisted user- or team-owned AI agent.
*/
export interface Agent {
/** Whether the agent's sessions approve ACP permission requests without
asking. `None` means always prompt. Bypass also requires the harness's opt-in. */
auto_accept_permissions?: AgentAutoAcceptPermissions;
/** The bot identity used for mentions and channel participation. */
bot: Bot;
/** Selected channel ids. Empty for a global agent. */
channel_ids: string[];
/** Whether the agent is global or channel-specific. */
channel_scope: AgentChannelScope;
/** Model selected specifically for this agent. */
default_model: string;
/** Harness used to run the agent. */
harness: string;
harness_id?: AgentHarnessId;
/** Instructions supplied to the agent at the start of a conversation. */
instructions: string;
/** Whether the agent works in a repository, which decides how it answers
a channel mention: a coding agent posts a magic chip into its live
session, a chat agent replies in the thread. Chosen in the agent's
settings; the persona's word, not the runtime's. */
is_coding: boolean;
/** Which MCP servers sessions of this agent are handed. */
mcp: AgentMcpServers;
}