Skip to content

About

Cara is a local-first agent workspace for self-hosted models, tools, and knowledge.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

2,818 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cara

Cara is a local-first agent workspace for self-hosted models, tools, and knowledge. Its name comes from a caravan: many capable local models and services being coordinated into one useful fleet.

This repository is a focused fork of AnythingLLM. It preserves the upstream application's broad provider, document, workspace, and agent capabilities while improving the paths we operate in production.

Install Cara

Windows builds are published on the Cara releases page. Download the installer for the latest release and verify it against the adjacent SHA-256 file before installation.

Cara upgrades the existing AnythingLLM Desktop profile in place. It retains workspaces, documents, database state, MCP configuration, provider settings, and model storage under %APPDATA%\anythingllm-desktop\storage. Keep that directory when replacing or repairing the application. Before an in-place upgrade, fully exit Cara and stop any remaining Cara provider-sidecar process; otherwise Windows may be unable to remove the prior application version.

Fork Direction

Cara prioritizes:

  • reliable local inference through LocalAI and LM Studio;
  • protocol-correct tool use instead of provider-name capability assumptions;
  • self-hosting without product telemetry or survey collection;
  • compatibility with upstream data, configuration, and deployment layouts;
  • small, testable patches that can be reviewed and rebased independently.

The first provider hardening accepts bare or /v1 LocalAI endpoints, preserves reverse-proxy path prefixes for LocalAI and LM Studio, resolves stored masked credentials correctly, improves discovery errors, and preserves LocalAI reasoning content. Harmony tool calling for compatible LM Studio gpt-oss deployments is available as an explicit opt-in. It preserves the complete tool surface through reversible aliases for tool names the Harmony grammar cannot represent directly.

Codex Subscription

Cara includes a native Codex subscription provider for users who sign in with ChatGPT. It uses the official Codex app-server locally rather than translating a subscription into an API key. Available models and reasoning profiles are read from the signed-in account; Sol with Max reasoning is supported when the account advertises gpt-5.6-sol and max.

The system selection is a default. Each workspace can independently select its Codex model and reasoning profile from the chat model picker or workspace settings, and can use the provider for ordinary chat or automatic agent and MCP tool execution. The Windows desktop package carries its own pinned Codex runtime and stores Cara's Codex sign-in under Cara's existing application storage, separate from unrelated Codex Desktop tasks and configuration.

Codex chats remain read-only unless an operator explicitly selects the workspace-write profile and supplies existing absolute workspace/output and installed-skills directories. Codex app-server 0.153.0 requires a selectedCapabilityRoots environment location to reference a matching selected environment, so Cara selects the pinned protocol's local environment with the workspace as its cwd. The workspace-write sandbox grants writes only under that workspace; the skills capability root is available for discovery and reading and does not make the skills tree or Cara's private CODEX_HOME writable. Relative, blank, missing, and non-directory paths fail closed.

Workspace speed choices also come from the selected model's advertised serviceTiers. Default/Standard omits serviceTier and inherits the catalog default; Cara does not assume or force a named priority tier.

Upstream Alignment

Cara 1.19.1 incorporates upstream AnythingLLM master through commit cbaf3357c, after the upstream 1.19.0 release. In addition to the 1.19.0 feature set, this includes subsequent workspace search, agent, MCP, mobile, Telegram, document-storage, Windows-path, and security corrections. Cara's provider hardening, Codex subscription support, Harmony tool loop, privacy defaults, profile compatibility, and complete Windows runtime package remain intact.

Version Guidance

Version Status Operator guidance
1.19.1 Current tested build Upstream-aligned application and Windows package. It preserves the complete pinned Codex runtime needed for code mode and retains the provider, agent, Harmony, privacy, and preserved-profile corrections. Fully exit Cara and its provider sidecar before an in-place upgrade.
1.19.0 Superseded Initial upstream 1.19.0-aligned Cara release. Use 1.19.1 for the post-release upstream corrections.
0.2.2 Superseded Last pre-alignment release. Functional, but use 1.19.1 for the current upstream application and fork fixes.
0.2.1 Superseded Do not install, promote, retag, or repackage. Its Windows package omitted Codex companion executables and resources.
0.2.0 Superseded Do not install, promote, retag, or repackage. Native sign-in, model discovery, and direct inference passed, but automatic workspace agents rejected codex-subscription during setup. The correction is in 0.2.1.
0.1.0 Historical foundation Retained for provenance of the LocalAI, LM Studio, Harmony, and Windows packaging foundation. It predates the Codex subscription provider; use a current release instead.

Released tags and attached files are immutable evidence. Future corrections must use a new version rather than replacing an older tag or asset.

Compatibility Boundary

Cara is an application-core fork. Existing internal package names, environment variables, storage paths, database names, and migration identifiers retain their AnythingLLM-compatible names. This is deliberate: visible product identity must not strand an existing installation or make upstream synchronization brittle.

Upstream documentation remains useful for features Cara has not changed:

Architecture

The monorepo's primary components are:

  • frontend: React and Vite application;
  • server: Express API, workspaces, agents, and model integrations;
  • collector: document ingestion and processing;
  • cara-desktop: fork-owned Electron shell and reproducible Windows packaging;
  • docker: container build and self-hosting assets;
  • embed: upstream-compatible embeddable chat submodule;
  • browser-extension: upstream-compatible browser extension submodule.

Development

Prerequisites are Node.js 18 or newer and Yarn.

yarn setup

Review the generated environment files, especially server/.env.development, then run the services in separate terminals:

yarn dev:server
yarn dev:frontend
yarn dev:collector

Run the relevant focused tests for a change, followed by the complete affected suite and lint/build gates. Provider changes must include request-shape and reverse-proxy-prefix regressions rather than relying only on mocked happy paths.

Privacy

Product telemetry is permanently disabled in this fork. Cara creates no telemetry identifier and includes no telemetry network client. Legacy internal telemetry calls remain inert compatibility hooks so upstream merges do not silently restore collection.

Features configured to use external models, tools, vector databases, or other services will still contact those services. Their terms and privacy policies apply. Self-hosted providers remain the default operational direction of this fork.

Contributing

Bug fixes, local-provider interoperability improvements, and narrowly scoped agent reliability changes are welcome. Include regression coverage and identify the exact provider and protocol path tested. Changes inherited from upstream remain credited to their original authors.

License And Attribution

Cara remains MIT licensed under LICENSE. It is derived from AnythingLLM by Mintplex Labs and its contributors. Fork-specific changes are identified in Git history and retain their applicable AI-NOTICE provenance headers.

About

Cara is a local-first agent workspace for self-hosted models, tools, and knowledge.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages