← 返回命令列表

Linux command

opencode-agent 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List

opencode agent list

Create

opencode agent create [name]

说明

opencode agent manages agents in OpenCode, a terminal-based AI coding assistant. Agents are configurations with custom system prompts and tool settings that tailor the AI's behavior for specific tasks. You can create new agents, list available ones, and configure their tool access.

FAQ

What is the opencode-agent command used for?

opencode agent manages agents in OpenCode, a terminal-based AI coding assistant. Agents are configurations with custom system prompts and tool settings that tailor the AI's behavior for specific tasks. You can create new agents, list available ones, and configure their tool access.

How do I run a basic opencode-agent example?

Run `opencode agent list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more opencode-agent examples?

This page includes 2 examples for opencode-agent, plus related commands for nearby Linux tasks.