agentprompt

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package agentprompt carries the instructions an agent should read before it uses Logos.

It is embedded rather than read from disk because the moment it is needed is the moment a host has just launched us from an npm package or a Homebrew cellar, and "the docs were next to the binary" is not a thing that survives packaging. A prompt that is sometimes missing is worse than no prompt: the agent's behaviour then depends on how the user installed us.

Three ways out, one source:

  • the MCP `initialize` response's `instructions` field, which every conforming host puts in front of its model without the user doing anything at all. This is the one that matters; the others are for people who want the text somewhere they can edit it.
  • `brain prompt`, to paste into a CLAUDE.md or a system prompt.
  • systemmd/BRAINPROMPT.md in the repository, which is the same bytes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Text

func Text() string

Text is the full instruction document.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL