Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ cd cortex && npm install --omit=dev

## Tools

Cortex exposes 12 tools your agent can call directly:
Cortex exposes memory tools and explicit Company Brain tools your agent can call
directly:

| Tool | Description |
|------|-------------|
Expand All @@ -92,6 +93,16 @@ Cortex exposes 12 tools your agent can call directly:
| `cortex_add_open_loop` | Track an unresolved thread or topic |
| `cortex_resolve_open_loop` | Mark an open loop as resolved |
| `cortex_list_open_loops` | List unresolved threads |
| `company_brain_accounts_list` | Resolve Company Brain account/workspace IDs |
| `company_brain_account_brief` | Fetch source-backed account facts and action-readiness buckets |
| `company_brain_account_timeline` | Fetch artifact and claim events with citations |
| `company_brain_query` | Ask narrow account-scoped pilot questions with cited evidence |

Company Brain tools are explicit and account-scoped. They call Cortex
`/api/v1/company-brain/*` over HTTP and preserve raw response fields including
`citations`, `verification_status`, `requires_approval`, `action_readiness`,
pagination, and `insufficient_evidence`. They do not inject generic always-on
Company Brain context and they do not write to shared plugin storage.

## How It Works

Expand Down
2 changes: 2 additions & 0 deletions dist/__tests__/company-brain-tools.test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=company-brain-tools.test.d.ts.map
1 change: 1 addition & 0 deletions dist/__tests__/company-brain-tools.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions dist/__tests__/company-brain-tools.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/__tests__/company-brain-tools.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,14 @@ interface RetrievedItem {
};
provenance?: string;
}
type CompanyBrainToolResult = Record<string, unknown>;
interface ProcessedItem {
item: RetrievedItem;
duplicateCount: number;
conflictWithId?: string;
relationHint?: string;
}
export declare function formatCompanyBrainToolResult(label: string, result: CompanyBrainToolResult | null): string;
declare function parseConfig(raw: unknown): EvaMemoryConfig;
/** Session risk mode for dynamic threshold selection. */
type InjectionMode = "critical" | "technical" | "personal";
Expand Down
2 changes: 1 addition & 1 deletion dist/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading