Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Ghost Chimera

Version Python License CI

Ghost is background AI infrastructure. Ghost Chimera observes events across your digital workflow, learns how you work, and quietly prepares the right context or action for whichever AI agent you're using — without fine-tuning or replacing the underlying model. Your AI agents do the thinking. Ghost remembers what matters and makes sure they know what they need.

Ghost Chimera is a local-first ambient intelligence runtime built around the Stealth Loop — an event-driven learning and intervention cycle (ghostchimera/stealth/): EVENT → UNDERSTAND → UPDATE STATE → RECALL EXPERIENCE → MATCH WORKFLOW → PREDICT → DECIDE → PREPARE / INJECT / ACT → OBSERVE OUTCOME → LEARN. Chimera Pilot remains as the execution capability underneath it: it compiles natural-language objectives into steps, runs them across registered backends with safety policy and fallbacks, and records telemetry.

This is beta-stage software for real, user-supervised work in local-first environments. It is not AGI, not a secure sandbox for untrusted code by itself, and not a replacement for licensed quantum operating systems.

Install

pip install ghostchimera            # Python: headless core, installs in seconds
pip install "ghostchimera[all]"     # Python: every backend (slow, see note below)
brew tap fernandogarzaaa/ghostchimera && brew install --HEAD ghostchimera

Install time: the [all] extra pulls every backend (desktop, local models, MCP, voice, quantum), including large ML and native packages (torch, transformers, llama-cpp-python, the voice stack). It can take well over 10 minutes on a typical connection. New users should start with the base package and add only the extras they need, for example pip install "ghostchimera[mcp,gateway]".

Full matrix (extras, publishing): docs/INSTALL.md

One-Line Install

The one-line path creates a local checkout, builds a virtual environment, installs the full Ghost Chimera runtime profile, verifies the CLI, and prints the launch command.

Windows PowerShell:

irm https://raw.githubusercontent.com/fernandogarzaaa/GHOST-Chimera/main/scripts/install.ps1 | iex

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/fernandogarzaaa/GHOST-Chimera/main/scripts/install.sh | bash

Then launch (scripts/install.ps1 on Windows, scripts/install.sh on macOS/Linux):

cd ~/ghost-chimera
.venv/bin/ghostchimera console

Installer options are environment variables. GHOSTCHIMERA_EXTRAS defaults to the full Ghost Chimera runtime plus verification tools; override it only for constrained development installs.

Runtime Specs

Minimum for Ghost Console and local orchestration:

Component Minimum Recommended
OS Windows 10/11, macOS 13+, Ubuntu 22.04+ Windows 11, macOS 14+, Ubuntu 24.04+
Python 3.11 3.12 or 3.13
RAM 4 GB 8-16 GB
Disk 2 GB free 10+ GB for memory, traces, and local models
Browser Current Chrome, Edge, Firefox, or Safari Current Chrome or Edge

The full install covers Python package dependencies — not model weights, API keys, GPU drivers, or build tools. Without provider credentials, Ghost still runs the console, memory tools, trust runtime, evals, and deterministic backends.

Usage in 5 minutes (no terminal needed)

Ghost Console is the point-and-click dashboard for everyday use:

  1. Start Ghost (ghostchimera console or Docker) and open http://localhost:8766/.
  2. The Setup wizard helps you pick an AI provider — choose OpenCode CLI or Local to start free.
  3. In Operate → Run, type an objective in plain words ("Summarize my inbox priorities") and press run.
  4. Check Operate → Memory for what Ghost remembered and Advanced → Trust for the run journal with replay.
  5. Type /ghost status inside Claude Code, OpenCode, Codex, or Gemini CLI to see Ghost working there too.

Full walkthrough with use cases, everyday recipes, and the safety model: docs/USAGE_GUIDE.md. Guided first run: docs/USER_TUTORIAL.md.

What it can do for you

  • Personal productivity — morning briefings, meeting prep, inbox triage drafts (never auto-sent), and asking your own history questions.
  • Operator workflows — repeatable VA-style runs with approval checkpoints, reusable Standing Orders, and phone control from messaging apps.
  • Developer leverage — project context auto-injected into your coding agents, free/local model options, and approval-gated computer use (browser and desktop).

How it works

  1. The Stealth Loop watches and learns. Events flow through understand → recall → predict → decide. Silence is the default; most events produce nothing visible.
  2. Chimera Pilot does. Approved objectives compile into steps across deterministic, local-model, browser, and desktop backends — dry-runnable before anything touches the world.
  3. Trust Runtime keeps receipts. Every run, approval, and outcome is journaled locally and replayable.

Cloud reasoning: NVIDIA Nemotron on Nebius Token Factory

Ghost stays local-first by default, but the Stealth Loop can consult NVIDIA's open Nemotron models in the cloud when you want deeper understanding than the deterministic engines provide.

Where Token Factory accelerates the workflow — the optional NemotronReasoner (ghostchimera/stealth/nemotron_reasoning.py) plugs into the Stealth Loop's UNDERSTAND and PREDICT phases:

  • UNDERSTAND — Nemotron 3 Nano (nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B) interprets an observation and returns a structured read (intent, confidence, suggested workflow, risk flags). Fast and cheap, so it can run per high-value event.
  • PREDICT — Nemotron 3 Super (nvidia/nemotron-3-super-120b-a12b) sharpens next-action predictions with real reasoning when the loop needs it.
  • Insights land in the loop's trace (trace["nemotron"]) and in intervention provenance. Anything classified secret is never sent to the cloud, and a failed cloud call degrades silently to the local loop.

Setup — get a key at https://console.nebius.com (Token Factory → API keys; free credits via the Nebius Builder Program), then:

export NEBIUS_API_KEY="..."
export NEBIUS_MODEL="nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B"   # optional override

Or pick Nebius Token Factory in the setup wizard / model picker (NEBIUS_API_KEY + NEBIUS_MODEL are the env vars). Attach the reasoner programmatically:

from ghostchimera.stealth import StealthLoop, build_cloud_enhancements

reasoner, grounding = build_cloud_enhancements()  # (None, None) without keys
loop = StealthLoop(reasoner=reasoner, grounding=grounding)

Web grounding with Tavily — when an event asks for fresh facts (payload["ground_with_web"] or a research/news-style event), the UNDERSTAND phase grounds it through Tavily, MCP-first:

  1. Remote Tavily MCP server (https://mcp.tavily.com/mcp, tavily-search / tavily-extract) via the stdlib MCP client in ghostchimera/mcp/mcp_protocol.py
  2. Local tavily-mcp over stdio (npx -y tavily-mcp)
  3. Direct REST fallback (POST https://api.tavily.com/search)
export TAVILY_API_KEY="..."   # get one at https://tavily.com
# optional: TAVILY_MCP_MODE=auto|remote|local|rest (default: auto)

Observability (optional) — Nebius chat completions and Tavily search/extract calls can be traced to LangSmith with zero new dependencies (a stdlib-only client posts to the LangSmith ingest API; the SDK is not required and not installed). Tracing is strictly opt-in: with no LANGSMITH_API_KEY set, nothing changes.

export LANGSMITH_API_KEY="..."          # from https://smith.langchain.com
export LANGSMITH_PROJECT="ghost-chimera-hackathon"  # optional, this is the default
export LANGSMITH_TRACING=1              # set to 0 to disable while keeping the key

Traced runs show up as nebius.chat_completion, tavily.search, and tavily.extract with the model, query, transport (MCP remote/local or REST), and result counts. API keys are never included in run payloads, and a tracing outage can never break the traced call.

Why Ghost

  • Memory that compounds across every session and every agent you use.
  • Approval-first autonomy — observe, prepare, inject, act, with you setting the ceiling.
  • Local-first privacy — your data lives in a SQLite file on your disk; secrets encrypted; cloud is opt-in per connection.
  • Runs on free models — local Ollama/llama.cpp or the OpenCode CLI's free tiers; swap providers without rewriting anything.

Capabilities at a glance

  • Stealth Loop (ghostchimera/stealth/) — Event Fabric, WorldState, Experience Graph, Workflow Learner, Prediction Engine, Stealth Evaluator, Context Fabric, Background Runtime, host adapters (Claude Code, OpenClaw, OpenCode, Codex, Gemini, Hermes), and local IPC transport.
  • Computer use — browser (console-managed debuggable Chrome), desktop (PyAutoGUI), and vision hierarchy with capability allowlists, risk classification, and explicit approvals.
  • Connectors (ghostchimera/connectors/) — GitHub (poll + webhooks), self-hosted OAuth2 + token vault (Slack, Notion, LinkedIn, GitHub, Google, Zendesk, Freshdesk, Gorgias, HubSpot, Salesforce, Airtable, Hubstaff, Time Doctor). See docs/CUSTOM_AUTH.md.
  • Durable local database — SQLite/WAL journal for events, interventions, outcomes, and workflows, including the useful-intervention-rate metric. No server required.
  • 30+ model providers — OpenAI, Anthropic, Gemini, OpenRouter, Nebius Token Factory (NVIDIA Nemotron), Ollama, local runtimes, and the OpenCode CLI bridge; swap or chain them without rewriting code.
  • Ghost Console — full no-code operator dashboard: guided setup, RAG Builder, Self-Evolution, Trust Runtime, Live Presence, remote control, conversational loop, local models, production readiness.
  • Trust Runtime — durable run journals, resumable approval checkpoints, capability admission, and eval flywheels. Details
  • Standing Orders — scoped reusable autonomy programs with explicit enable/run controls. Details
  • Conservative safety defaults — shell, network, desktop, and host self-editing are off by default; opt-in host mode is explicit and audited.

Documentation

Note on "MCP": GHOST's internal ghostchimera/mcp/ module implements a custom HTTP tool protocol (action/discover/call on 127.0.0.1:3100). It is not the standard Model Context Protocol (JSON-RPC over stdio/SSE). The naming is historical. The ghostchimera mcp CLI manages trust and approval for external standard-MCP servers; it does not expose a stdio server itself.

Testing

Run the test suite with pytest:

python -m pytest tests/

See CLAUDE.md for the full contributor command reference (compile check, single-file runs, eval suites).

Production & SaaS pointers

Appropriate Uses

  • User-supervised automation and assistance for real work in local-first mode.
  • Desktop and browser workflows (dry-run by default; live modes require explicit enablement and approvals).
  • Governed repository change workflows: evidence retrieval → plan → policy checks → PR-ready output.
  • Production automation inside externally isolated, reviewed deployments that pass ghostchimera doctor --production.
  • Extending Ghost Chimera with new backends, skills, and connectors.

Non-Goals And Boundaries

  • Untrusted prompts, repositories, or code must run inside external isolation, not directly on a host machine.
  • Ghost Chimera does not claim AGI, subjective consciousness, or fully autonomous operation.
  • Commercial and enterprise deployments are expected to pass production guardrails and add organization-specific controls.
  • Optional simulator support is not access to a proprietary quantum operating system.

License

MIT — see LICENSE. Third-party attribution in NOTICE.

Metadata

Release files for ghostchimera 0.4.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghostchimera 0.4.0b1
File Size Uploaded Provenance Actions
ghostchimera-0.4.0b1.tar.gz 1.3 MB With provenance Details for ghostchimera-0.4.0b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ghostchimera 0.4.0b1
File Interpreter ABI Platform Actions
ghostchimera-0.4.0b1-py3-none-any.whl Python 3 none any Details for ghostchimera-0.4.0b1-py3-none-any.whl

Total release size: 2.3 MB

Release files / ghostchimera-0.4.0b1.tar.gz

Download URL ghostchimera-0.4.0b1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
8f4151ee4cf521fcce73e9a6ffc988fa8f9ae63199b023cb0b5e96035be4a738
BLAKE2b-256 checksum
How to use checksums
ee8ac787c9526677b0a3ed10a31fc0b4e241c894050448e3b2fbdce15ea79dc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / ghostchimera-0.4.0b1-py3-none-any.whl

Download URL ghostchimera-0.4.0b1-py3-none-any.whl
Size 971.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa71bb8aae9cd0e75e93b2e032746da9b82fa785395843ab17846684c51c9cd9
BLAKE2b-256 checksum
How to use checksums
274b229233e3128888fa0c5a840408960763780721897e0db3bdd2f1fb4432d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Security for ghostchimera 0.4.0b1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ghostchimera-0.4.0b1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page