-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Companion Index
github-actions[bot] edited this page Aug 16, 2026
·
2 revisions
Embeds pending episodes and stores their searchable chunks.
Usage:
ed companion index [--json] [--endpoint <url>]
Options:
| Name | Type / values | Default | What it does |
|---|---|---|---|
--json |
flag | off | Emits one JSON document on stdout. |
--endpoint |
URL | resolution order | Uses this Companion API base URL. |
--json shape:
{
"chunksCreated": 9,
"episodesIndexed": 3
}episodesIndexed counts episodes completed by this request, and
chunksCreated counts the searchable chunks created for them.
Examples:
$ ed companion index
indexed 3 episodes into 9 chunks
$ ed companion index --json
{
"chunksCreated": 9,
"episodesIndexed": 3
}
Behaviour: this mutating command sends POST /v1/index with an empty body.
Only episodes without chunks are indexed, up to 500 oldest episodes per pass,
with embeddings requested in batches of 16. The client allows five minutes for
the request. If the embedding service returns HTTP 502, the command names the
Ollama embedding service, leaves stdout empty, and exits 4. Database and other
backend failures exit 1.
-
ed companion, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides