This tutorial walks you through a complete InGa deal flow -- from installation to receiving deal dossiers with outreach drafts in your vault. Estimated time: 30 minutes.
Prerequisites:
- Docker + Docker Compose installed
- Node.js 20+ installed
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - An Anthropic API key (get one at https://console.anthropic.com/settings/keys)
git clone https://github.com/Bundelkund/InGa
cd InGa
npm install
cp .env.example .env.localOpen .env.local in your editor and set your Anthropic API key:
ANTHROPIC_API_KEY=sk-ant-api03-...Verify the installation:
npx tsx src/cli/index.ts --help
# Should show: inga [options] [command]FalkorDB is the intelligence graph backend. Start it with Docker:
docker-compose up -d falkordbVerify FalkorDB is running:
docker-compose ps falkordb
# State should be: UpVerify your environment (API keys + provider connectivity):
npx tsx src/cli/index.ts setupFalkorDB is schemaless — no migration step needed. Confirm the graph is ready:
npx tsx src/cli/index.ts stats
# Expected output: graph_nodes=0 graph_edges=0The vault is your Markdown-based workspace. Create it:
npx tsx src/cli/index.ts init ~/inga-vaultThis copies the vault template to ~/inga-vault/ with:
00_theses/-- where you put thesis files10_pipeline/-- where dossiers appear99_config/-- agent definitions and vault config
Verify:
ls ~/inga-vault/
# 00_theses 10_pipeline 20_portfolio 30_network 99_config README.mdCopy the thesis template and fill it in:
cp ~/inga-vault/00_theses/thesis-template.md ~/inga-vault/00_theses/my-first-thesis.mdOpen ~/inga-vault/00_theses/my-first-thesis.md in your editor. Update the frontmatter and body. For this tutorial, use the provided example thesis about RegTech:
# Or use the example thesis directly:
cp vault-template/examples/thesis-regtech-mittelstand.md ~/inga-vault/00_theses/regtech-mittelstand.mdThe example thesis targets German B2B software companies in regulatory technology with EPO patents or CORDIS grants.
Start the 10-agent deal sourcing pipeline:
npx tsx src/cli/index.ts thesis source ~/inga-vault/00_theses/regtech-mittelstand.mdClaude Code spawns a team of 10 agents. You will see:
[orchestrator] Reading thesis: regtech-mittelstand.md
[thesis-parser] Extracting search criteria...
[discovery] Querying EPO (patents)...
[discovery] Querying CORDIS (grants)...
[discovery] Querying Offeneregister (companies)...
[entity-resolver] Deduplicating 847 raw hits...
[graph-writer] Writing 234 nodes to FalkorDB...
[qualifier] Scoring 234 candidates...
[dossier-writer] Writing dossier: acme-gmbh.md (score: 78)...
[dossier-writer] Writing dossier: beta-software-gmbh.md (score: 65)...
[path-finder] Finding warm intro paths...
[outreach-composer] Drafting messages for acme-gmbh...
After 8-15 minutes, check your inbox:
ls ~/inga-vault/10_pipeline/inbox/
# acme-gmbh.md beta-software-gmbh.md ...You should see 5-10 deal dossiers.
Open a dossier in your editor (or Obsidian):
cat ~/inga-vault/10_pipeline/inbox/acme-gmbh.mdThe dossier contains:
- Company snapshot (founding year, headcount, location)
- Founder profiles
- IP and funding history (from EPO and CORDIS)
- Graph context (connected patents and grants)
- Strategic fit assessment (qualify-score + strategic-fit)
- Red flags
- Warm-intro paths (if any were found)
- Three outreach drafts (LinkedIn DM, cold email, warm intro ask)
To approve for outreach:
mv ~/inga-vault/10_pipeline/inbox/acme-gmbh.md ~/inga-vault/10_pipeline/outbox/To preview what would be sent:
npx tsx src/cli/index.ts email:send --dry-runTo send (requires Unipile and/or Instantly configured in .env.local):
npx tsx src/cli/index.ts email:sendYou have completed your first deal flow. Next:
-
Query the graph to explore discovered companies:
npx tsx src/cli/index.ts ask "Which companies have both EPO patents and CORDIS grants?" -
Run the outreach engine without Flow A (if you have a list of companies):
npx tsx src/cli/index.ts deals:qualify --source csv --input my-list.csv
-
Configure providers for enrichment and outreach:
- See providers.md for Crustdata, Unipile, Instantly setup
-
Set up background agents to run daily:
npx tsx src/cli/index.ts agent:create npx tsx src/cli/index.ts agent:install --agent my-agent --hour 8 --minute 0
-
Open the campaign dashboard:
npx tsx src/cli/index.ts campaign:dashboard
These commands ship in v0.5.0+. If they are not available, you are on an older build — run npm install && npm run typecheck to confirm the working tree is current. The outreach commands work independently of the Flow A vault flow.
docker-compose ps falkordb
docker logs inga-falkordb --tail 30See Setup FalkorDB for detailed troubleshooting.
- Check that your
.env.localhas a validANTHROPIC_API_KEY - Confirm FalkorDB is running:
docker-compose ps falkordb - Try with the example thesis:
vault-template/examples/thesis-regtech-mittelstand.md - Check Claude Code logs for agent errors
The qualifier agent filters companies by score >= 60. If your thesis criteria are very narrow, fewer companies may qualify. Try broadening the criteria in your thesis file.
- Architecture -- system overview
- Agents (Flow A) -- the 10 agent roles
- Vault Guide -- vault structure and dossier lifecycle
- Setup FalkorDB -- graph backend
- Providers -- outreach provider setup