Connectors

Terminal

Chat with the agent from your shell.

Introduction

The Terminal connector is a REPL for talking to Laraclaw from your shell. It's useful for development and debugging tools. Conversations are persisted in laraclaw_threads like every other connector, so context survives across sessions.

Setup

No setup beyond installation.

Starting a Session

php artisan laraclaw:chat

By default the session runs as the configured owner. Pass a user ID to impersonate a different user:

php artisan laraclaw:chat 42

Type messages at the prompt. Replies render as ANSI escape codes, so bold, italic, lists, and code blocks all display in the terminal.

Confirmation Prompts

When a tool requires confirmation, the connector prompts interactively. Answer yes or no.

Copyright © 2026