For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
kagent get
kagent get command
Get kagent resources.
kagent get [resource-type] [resource-name] [flags]Subcommands:
agent [agent_name]- Get an agent by name or list all agentssession [session_id]- Get a session by ID or list all sessionstool- List all available tools
Global Flags:
--kagent-url- kagent URL (default: “http://localhost:8083”)--namespace, -n- Namespace (default: “kagent”)--output-format, -o- Output format (default: “table”)--timeout- Timeout duration (default: 300s)--verbose, -v- Verbose output
Example
List all agents:
kagent get agentGet a specific agent:
kagent get agent k8s-agentList all sessions:
kagent get sessionGet a specific session:
kagent get session abc123List all tools:
kagent get tool