-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
- Node.js 20+ (LTS recommended)
That's it. No cloud accounts needed for local use.
npx fozikio init my-agent
cd my-agentThis creates a complete agent workspace with:
-
.fozikio/agent.yaml— identity and cortex configuration -
.mcp.json— ready for Claude Code, Cursor, or any MCP client -
CLAUDE.md— quick reference for Claude Code users -
AGENTS.md— multi-agent roster -
.claude/hooks/— cognitive grounding hooks -
.claude/skills/— cortex memory skill -
reflex-rules/— safety guardrails (powered by @fozikio/reflex)
npx fozikio init my-agent --store sqlite # default — local, no cloud needed
npx fozikio init my-agent --store firestore # cloud — needs GCP project
npx fozikio init my-agent --embed built-in # default — runs in-process
npx fozikio init my-agent --embed ollama # local models via Ollama
npx fozikio init my-agent --embed vertex # Google Cloud Vertex AI
npx fozikio init my-agent --obsidian # add .obsidian/ config
npx fozikio init --here # scaffold into current directorynpm install cortex-engine@0.6.0Then configure your MCP client — see MCP Integration.
Zero config. Creates a cortex.db file in your project directory. Works offline. Good for single-agent setups.
For remote access, multi-agent setups, or shared memory. Requires:
- A Google Cloud project with Firestore enabled
- Authentication (service account key or Application Default Credentials)
export GCP_PROJECT_ID="your-project-id"
# Option A: Service account key
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"
# Option B: Application Default Credentials
gcloud auth application-default loginRuns in-process using @huggingface/transformers (all-MiniLM-L6-v2, 384 dimensions). No external services needed. Downloads the model on first use (~23MB) with progress feedback. Cached for future starts.
For faster embeddings or custom models. Install Ollama, then:
ollama pull nomic-embed-textConfigure in agent.yaml:
cortex:
default:
embed: ollamaFor production deployments on Google Cloud. Uses text-embedding-004 (768 dimensions). Requires GCP credentials.
Start the MCP server:
npx fozikio serveOr check health:
npx fozikio health- Quick Start — Make your first observations in 5 minutes
- MCP Integration — Connect cortex to your AI client
- Plugin Authoring — Extend cortex with custom tools