Skip to content

docs: explain running ai_agent Hive records from the CLI - #82

Merged
maximelb merged 2 commits into
masterfrom
cli-v2-ai-attach
Apr 20, 2026
Merged

maximelb merged 2 commits into
masterfrom
cli-v2-ai-attach

Conversation

@maximelb

@maximelb maximelb commented Apr 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds CLI usage notes to the lc-ai READMEs so deployed ai_agent records can be invoked ad-hoc with per-run overrides, not just triggered by D&R events. Matches the CLI surface shipping in python-limacharlie#278.

Changes

  • README.md — new "Running Agents from the CLI" section under Installing Agents with ai start-session --definition and ai session attach examples.
  • ai-agents/README.md — new "Running Agents Manually from the CLI" section after Installation covering template override semantics (scalars replace, env merges, hive://secret/ refs work in overrides) and start-and-attach in one step via jq. Closing paragraph clarifies that attach is read-only for these org-owned sessions and points readers at limacharlie ai chat if they want an interactive terminal chat with Claude (separate, user-owned flow billed against their own credential).

Both pages link out to the new dedicated CLI reference at docs.limacharlie.io/9-ai-sessions/cli/.

Cross-linked PRs

Test plan

  • Render the READMEs on GitHub to check formatting.
  • Once the documentation PR merges, verify the docs.limacharlie.io/9-ai-sessions/cli/ and #limacharlie-ai-chat anchors resolve.

Adds CLI usage notes to the lc-ai READMEs so deployed `ai_agent`
records can be invoked ad-hoc with per-run overrides, not just
triggered by D&R events.

- README.md: new "Running Agents from the CLI" section under
  "Installing Agents" with `ai start-session --definition` and
  `ai session attach` examples.
- ai-agents/README.md: new "Running Agents Manually from the CLI"
  section after Installation covering template override semantics
  (scalars replace, env merges, `hive://secret/` refs work in
  overrides) and showing start-and-attach in one step via jq.

Links out to docs.limacharlie.io/9-ai-sessions/cli/ for the full
reference.

Cross-links:
  * python-limacharlie: refractionPOINT/python-limacharlie#278
  * documentation: (see matching PR)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
`ai_agent` Hive records run as org-owned sessions, and the
ai-sessions backend exposes only a read-only WebSocket for those
by design.  Adding a one-liner to ai-agents/README.md so readers
trying `attach` understand the read-only behaviour and know that
`limacharlie ai chat` is the separate path for an interactive
terminal chat with Claude.

Cross-links:
  * python-limacharlie: refractionPOINT/python-limacharlie#278
  * documentation: (matching PR)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@maximelb
maximelb requested a review from steveatlc April 20, 2026 21:56
@maximelb maximelb added the to-code-review Used to tag PRs that are force-pushed and will need to be reviewed after the fact. label Apr 20, 2026
@maximelb
maximelb marked this pull request as ready for review April 20, 2026 21:56
@maximelb
maximelb merged commit 5710d65 into master Apr 20, 2026
@maximelb
maximelb deleted the cli-v2-ai-attach branch April 20, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

to-code-review Used to tag PRs that are force-pushed and will need to be reviewed after the fact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant