Skip to content

About

Company Memory for AI Agents

Resources

Code of conduct

Contributing

Stars

13 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PulseOS-Lite β€” The OS for AI Native Companies

PulseOS Lite graph workspace preview

"Complexity is the enemy of execution. Strategy is the art of focusing on the right things."

This is the strategic hub for PulseOS-Lite. PulseOS Lite is a lightweight approach of PulseOS to provide a company memory and operational system for the agentic workflow, agentic workforce, and AI-native companies.

Built for builders who value strategic clarity and 100x execution velocity.


The PulseOS-Lite Standard: High-Alpha Execution

We don't do "templates." we do Alpha. Every file in this repo is a living component of our growth engine, governed by three core laws:

  1. Boil the Lake: Completeness is our default. We don't ship placeholders or "TBD"s. If a document costs minutes to finish with AI, we ship the 100% version.
  2. Search Before Building: We value the 1000x pattern over the 1x design. We search, validate, and then implement the battle-tested best practice.
  3. Strategic Coherence: Execution without alignment is just noise. Everything we build (from sales sequences to code) must link back to the Strategy Spine (102).

The Compression Advantage

Task type Traditional Team PulseOS-Lite Compression
GTM Strategy & Positioning 14 days 4 hours ~30x
Financial Growth Models 5 days 1 hour ~40x
Sales Enablement Assets 2 days 15 min ~60x
Technical Audits 3 days 30 min ~50x

πŸš€ Quick Start

  1. Start with 01_RUNME.md: That is the main onboarding document and the right place for a new user to begin.

  2. Add Source Material First: Put company knowledge base material into 001_Data_Souces.

    This repo also includes 000_Acme_Sample_Company_Memory as a public sample/template. It is reference material only. Running bootstrap to seed with your real company information will ask you if you want to delete the sample company memory before seeding the real company memory.

    Good inputs include:

    • strategy docs
    • founder notes
    • product docs and PRDs
    • sales decks and ICP notes
    • implementation plans
    • project documentation
    • customer research, call notes, and operating docs

    You can provide that material in two ways:

    • through the CLI bootstrap flow, which reads local intake files and external folder references
    • by opening your preferred LLM directly in this repo and asking it to seed the company brain from 001_Data_Souces

    After bootstrap, you can keep enriching the company brain with additional information from external systems such as databases, CRM exports, email threads, and chat conversations.

    Internal meeting transcripts should not be part of source intake by default. Store them under 000_Company_Memory/103_Corporate_Operations/103.5_Internal_Meeting_Transcripts when they become part of the operating system.

  3. Install and Bootstrap:

    cd cli && npm install && npm run bootstrap
  4. Start the Engine:

    npm run chat

Canonical company memory lives under 000_Company_Memory. Bootstrap and direct LLM seeding use the raw source material in 001_Data_Souces, then write durable company knowledge into the numbered folders inside 000_Company_Memory.

Bootstrap now asks only for the company name, but only after it has confirmed that real source material exists. If the intake is still empty, it hands off to the local chat session instead of exiting so you can keep working inside the daemon-backed CLI. It then reads:

In simple terms:

  • bootstrap seeds the documents
  • chat or daemon startup uses the existing SQL index
  • npm run index or the UI Rebuild graph/index action refreshes indexing and vectorization manually
  • when you add, create, move, rename, or delete Markdown documents in 000_Company_Memory outside the graph editor, rebuild before relying on the graph; a browser refresh only reloads the current SQL-backed snapshot

Important relationship note:

  • the Document Relationships graph is backed by the local SQL index, not by direct client-side Markdown parsing at render time
  • if document nodes appear without relationship edges, use the graph Settings tab and run Rebuild graph/index, or run cd cli && npm run index
  • if newly added documents do not appear yet, run the graph UI Rebuild index / Rebuild graph/index button, cd cli && npm run index, or /reload inside chat so the SQLite graph, document summaries, and retrieval vectors are current

Graph Rebuild Rule

The graph UI is backed by the local SQLite index. It does not parse the Markdown tree directly each time the browser refreshes.

Run a rebuild after any file-level Markdown change in 000_Company_Memory: adding a new document, creating one through an agent, moving or renaming files, or deleting files. Use one of:

cd cli
npm run index

or use /reload inside chat, or click Rebuild index / Rebuild graph/index in the graph UI. Until that rebuild runs, the graph may show the previous indexed snapshot.

The bootstrap engine now auto-detects your available model provider. For OpenAI, it can use either:

  • OPENAI_API_KEY, or
  • a local signed-in Codex session

Anthropic and Gemini still require their provider API keys.

Important Phase 1 auth rule:

  • PulseOS chat and bootstrap can use a local Codex session for OpenAI
  • retrieval embeddings still use OPENAI_API_KEY when present
  • without OPENAI_API_KEY, retrieval falls back to heuristic vectors

Keeping that information current is the responsibility of the user. Bootstrap gives the initial population layer, but the company brain stays useful only if the user continues to add or reference updated source material over time.

Local SQL + Vector Retrieval

The local CLI creates a SQLite database for retrieval.

By default it lives at:

  • ~/.pulseos/workspaces/<workspace-id>/knowledge-base.sqlite

The rest of the local runtime state lives alongside it:

  • ~/.pulseos/workspaces/<workspace-id>/daemon-state.json
  • ~/.pulseos/workspaces/<workspace-id>/bootstrap-state.json
  • ~/.pulseos/workspaces/<workspace-id>/snapshots/
  • ~/.pulseos/workspaces/<workspace-id>/logs/
  • ~/.pulseos/workspaces/<workspace-id>/cache/

Overrides:

  • PULSEOS_HOME preferred root override, for example /data/pulseos in Docker
  • PULSEOS_WORKSPACE_ID explicit workspace selector when you want multiple repos or environments under one PulseOS home
  • PULSEOS_LITE_OPEN_SOURCE_CLI_HOME or PULSEOS_CLI_HOME legacy direct workspace-dir overrides that still work for backward compatibility

The main tables are:

  • documents one row per indexed knowledge-base markdown document, including its title, summary, owner, status, and ontology_domain
  • knowledge_vectors one embedding per document summary
  • index_runs one row per indexing/vectorization run
  • crm_objects a provider-neutral CRM mirror for contacts, companies, deals, activities, tickets, and custom records, with normalized fields plus raw_json
  • crm_sync_runs one row per CRM sync attempt, including provider, status, row counts, and error text

The ontology_domain is the document's structural placement in the company brain. For files inside 000_Company_Memory, it is inferred from the numbered domain folder, such as 102_Corporate_Strategy_and_Foundation, 203_Sales_Enablement_Hub, or 600_Projects. In v1, this is the basic ontology layer: it lets the CLI and graph understand where each document belongs before any richer organization, department, project, or people ontology is added.

What uses this database today:

  • the local CLI chat flow (npm run chat) uses the SQLite database and stored vectors to retrieve relevant company-brain documents before answering
  • the local daemon uses the same workspace database, so a different terminal can access the same indexed company brain without storing mutable state inside the repo
  • the local UI (npm run ui) uses the same SQLite index in two focused views: Company Ontology for the folder hierarchy, and Document Relationships for a gravity-style Markdown reference map with quiet connector lines and hover-only document labels; the graph can be panned, zoomed, fitted, reset, manually rearranged by dragging nodes, hidden without losing the control bar, and reopened from the same toolbar
  • the UI now includes a docked mini IDE for Markdown editing: multiple open document tabs, save/save-all, dirty-state indicators, a resizable editor pane, and a local terminal that can dock right or bottom
  • npm run index can create or refresh the same database without opening chat
  • npm run status checks whether the database, tables, and latest indexing/vectorization run are healthy

πŸ’» IDE-First & Agent-First Architecture

The UI provided by npm run ui is primarily a visually friendly interface. While it is useful as an additional visual guide to the company structure, the true power of the company memory is harnessed directly via the CLI and your IDE.

The best way to run the CLI, the agents, and the company memory is natively inside your preferred IDE (Cursor, VS Code, Antigravity, etc.).

You can run your agents (Codex, Claude, Gemini) in your terminal or directly in the IDE and simply tell them to call the CLI tools. This allows the models to autonomously:

  • Perform document ingestion and retrieval (npm run chat or npm run index)
  • Read, edit, and update markdown files and their relationships
  • Maintain and update the knowledge graph directly from the terminal

Because the graph and company memory are backed by markdown files and a local SQLite CLI layer, the models have full autonomy to read and rewrite the strategy without needing a complex UI layer in between. Build your documents and agents inside the graph, and use the CLI to supercharge them.

Commands:

  • npm run bootstrap seeds the markdown documents only
  • npm run chat starts the daemon, creates or refreshes the SQL index, and runs vectorization
  • npm run ui starts the daemon and prints a private local browser URL for the interactive Company Memory UI with ontology/document relationship views, a docked document IDE, and a local terminal
  • npm run index manually creates or refreshes the SQLite database, SQL tables, document relationships, summaries, and vectors; run this after new Markdown documents are added outside the graph editor
  • npm run status checks bootstrap status, intake readiness, daemon state, auth availability, SQL table creation, and the latest indexing/vectorization status
  • npm run daemon:start starts the daemon directly and also creates or refreshes the SQL index plus vectorization
  • :reload re-indexes the repo and re-runs vectorization from inside chat

Manual Fallback for Terminal-Based LLMs

If an LLM is working through the terminal and you do not want to rely on npm run chat to create the retrieval layer, use this fallback:

cd cli
npm install
npm run index

That command:

  • creates knowledge-base.sqlite if it does not exist
  • creates the documents, knowledge_vectors, index_runs, crm_objects, and crm_sync_runs tables if they do not exist
  • scans the curated markdown knowledge base
  • writes document metadata into documents
  • writes embeddings into knowledge_vectors
  • records the run in index_runs

If you want to force a full re-index from the terminal, run:

cd cli
node --import tsx/esm index-kb.ts --force

OpenAI Auth Modes

PulseOS supports these OpenAI auth modes for chat and bootstrap:

  • PULSEOS_OPENAI_AUTH_MODE=auto prefer a local signed-in Codex session, otherwise fall back to OPENAI_API_KEY
  • PULSEOS_OPENAI_AUTH_MODE=api_key require OPENAI_API_KEY
  • PULSEOS_OPENAI_AUTH_MODE=codex_cli_session require codex login

Optional override:

  • PULSEOS_OPENAI_CODEX_BIN choose a non-default codex binary path

If you want to switch an existing machine from API-key auth to subscription-backed Codex auth:

  1. ensure the Codex CLI is installed
  2. run codex login
  3. leave PULSEOS_OPENAI_AUTH_MODE unset or set it to auto
  4. use PULSEOS_OPENAI_AUTH_MODE=api_key only when you want to force API-key auth instead

Current limitation:

  • Codex-session auth is used for OpenAI chat and bootstrap only
  • embeddings are still API-key-backed or heuristic

Claude Auth Modes

PulseOS supports these Claude auth modes for chat and bootstrap:

  • PULSEOS_CLAUDE_AUTH_MODE=auto prefer ANTHROPIC_API_KEY, otherwise fall back to a local signed-in Claude Code session
  • PULSEOS_CLAUDE_AUTH_MODE=api_key require ANTHROPIC_API_KEY
  • PULSEOS_CLAUDE_AUTH_MODE=claude_cli_session require claude auth login

Optional override:

  • PULSEOS_CLAUDE_BIN choose a non-default claude binary path

If you want to switch an existing machine from API-key auth to subscription-backed Claude auth:

  1. ensure the Claude CLI is installed
  2. run claude auth login
  3. set PULSEOS_CLAUDE_AUTH_MODE=claude_cli_session or leave it on auto

Default Models

Current defaults:

  • OpenAI chat: gpt-5.4
  • OpenAI bootstrap: gpt-5.4
  • Claude chat: claude-opus-4-6
  • Gemini chat: gemini-2.0-flash

How to change them:

  • set PULSEOS_CHAT_OPENAI_MODEL to change the default OpenAI chat model
  • set PULSEOS_BOOTSTRAP_OPENAI_MODEL to change the default OpenAI bootstrap model
  • set PULSEOS_CHAT_ANTHROPIC_MODEL to change the default Claude chat model
  • set PULSEOS_CHAT_GEMINI_MODEL to change the default Gemini chat model
  • run /model or /switch inside chat to choose an available provider/model with the arrow keys
  • run /models inside chat to list supported shortcuts and example model IDs

Examples:

PULSEOS_CHAT_OPENAI_MODEL=gpt-5.4-mini npm run chat
PULSEOS_BOOTSTRAP_OPENAI_MODEL=gpt-5.4-mini npm run bootstrap

The chat intro also shows whether each provider is available through API-key auth or a local signed-in CLI session.

Persistent Workspace Storage

PulseOS stores operational memory outside the repository by default.

That means:

  • deleting or recloning the repo does not delete the local company-memory database
  • branch switching does not become accidental database state management
  • Docker rebuilds can keep the same workspace memory when ~/.pulseos is mounted as a volume
  • Git remains code and Markdown sync, not database sync

Recommended container pattern:

  • mount ~/.pulseos to /data/pulseos
  • set PULSEOS_HOME=/data/pulseos

Cloud AI Workspace Company Memory

This repo can also be used as a company memory layer for cloud AI workspaces such as Codex, ChatGPT, Claude, Gemini, or any assistant that can read a local repo or synced workspace.

Recommended pattern:

  • keep this repo as the canonical company brain
  • link or open it alongside other project repos when working in a cloud AI workspace
  • tell the model to read this repo before drafting strategy, product, GTM, sales, operations, or delivery work
  • save important project decisions and conversation summaries back into the repo so the company memory improves over time

Use this folder for durable AI/project conversation memory:

Important:

  • cloud AI workspace access can read and update the Markdown company brain
  • the local SQL/vector retrieval layer is still powered by the CLI and daemon
  • conversation logging is not automatic unless the user or an external automation saves those summaries into the repo
  • users are responsible for reviewing logged memories before treating them as reliable company knowledge

πŸ”’ Privacy & Security: All information, API keys, and data inputs run entirely locally on your machine and are securely stored within your local environment.

For the full setup flow, process explanation, and agent structure, read 01_RUNME.md first and then 03_HOW_IT_WORKS.md for the deeper β€œHow It Works” walkthrough. For MCP/client integration, also read 05_MCP_SETUP.md. (Note: If you use Claude Code, the MCP server is already auto-configured out-of-the-box via the hidden .claude.json file in this repo!)


πŸ—οΈ The Hybrid 100s Framework

All core memory folders are grouped inside 000_Company_Memory so the repo root stays focused on onboarding, source intake, and local tooling.

Layer Domain canonical Agent
101 System Control @ARK (Chief of Staff)
102 Corporate Strategy @Strategy
103 Operations Hub @Operations
104 Finance & Economy @Finance
105 Tech & Infrastructure @Infrastructure
106 Legal & Compliance @Legal
201 Market Intel @MarketIntel
202 GTM Strategy @GTM
203 Sales Enablement @Sales
301 Client Delivery @Delivery
302 Analytics @Analytics
401 Partnerships @Partnerships
402 Fundraising @Fundraising
502 Execution Engine @AUTONOMOUS
600 Projects @ARK

Inside 203_Sales_Enablement_Hub, the CRM sync and revenue data model now lives in 203.8_CRM_and_Revenue_Data. That section defines the provider-neutral CRM landing shape used by the local SQLite layer for future HubSpot, Attio, Salesforce, or CSV syncs.


πŸ€– The "Double Link" Agent Network

We use a Double Link architecture to ensure agents are never more than one click away:

  • Fast Call: Domain agent shortcuts live in 000_Company_Memory/000_Agent_Shortcuts/ for instant terminal reference.
  • Local Context: Every domain folder has an AGENT.md link for local orchestration.
  • Execution Tooling: 000_Company_Memory/502_Execution_Engine/ holds execution infrastructure and integration scaffolding, not private task-agent prompts.
  • Machine Registry: A strictly formatted agent_registry.yaml acts as a machine-readable dictionary, enabling non-LLM external pipelines (like Make.com, local Python scripts, or GitHub Actions) to query and route exactly which agents exist without having to parse complex Markdown text.

The Lazy-Loader Libraries

To prevent prompt-bloat, the system inherently supports separating actionable knowledge into dynamic registries:

  • /skills/ β€” Standard Operating Procedures (SOPs) or exact logic steps that agents map and load only when instructed.
  • /tools/ β€” Payload parameters and API schema definitions that grant external software interaction.

Building Toward PulseOS

PulseOS Lite is the simplest version of the broader PulseOS platform we are building.

PulseOS is designed for enterprise-level agentic workflows: a memory and runtime layer where AI systems can reason over structured company context, execute safely, and improve across teams without becoming locked to one model provider.

The long-term goal is to make PulseOS an open standard for agentic memory and the enterprise infrastructure around:

  • the intelligence graph
  • the company memory graph
  • the reality graph
  • managed safe runtime environments
  • sandboxed execution for agents and tools
  • model-agnostic inference optimization at scale

We are a small team backed by investors and currently building the platform. The work sits at the intersection of agent infrastructure, knowledge graphs, secure runtimes, memory systems, and inference optimization.

🀝 Attribution

Part of this repository's architecture and 100x efficiency philosophy are inspired by the gstack methodology by Garry Tan. We acknowledge and appreciate the open-source concepts of "Boil the Lake" and the dual-layer agent framework which serve as the foundation of this engine's execution logic.


License

MIT β€” Fork it, build it, ship it.

Powered by PulseOS-Lite β€” Built by JP Carrillo for Strategic Clarity at Scale.


Join PulseOS

We are looking for technical talent to help build the open standard for agentic memory and enterprise-grade AI infrastructure.

If you are excited by company memory graphs, safe agent runtimes, model-agnostic systems, or inference optimization, we would love to hear from you.

Website: pulse.tintto.com

contact@tintto.com

About

Company Memory for AI Agents

Resources

Code of conduct

Contributing

Stars

13 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages