Multi-Platform AI Orchestration with Cross-Engine Coordination
Each engine specialized for different workloads, coordinated through PAI
| Engine | Model | Specialty | Use Cases |
|---|---|---|---|
| PNC (Claude Code) | Claude Sonnet 4.5 | Primary DA, Algorithm runner | Complex multi-step work, orchestration, 129 skills, 33 agents |
| PNK (OpenCode) | Provider-agnostic | Multi-file architecture | Large refactors (10+ files), TUI planning |
| PNG (Antigravity) | Gemini | Web research | Research, fast factual lookup, latest docs |
| PNX (Codex CLI) | GPT-4 | Sandboxed execution | Verification, adversarial testing |
| PNO (Ollama) | Local (Llama/Gemma/Qwen) | Cost-free inference | Classification, JSON extraction, summarization |
Seamless delegation between engines with provenance tracking
// PNC orchestrates research across PNG and PNX
const research = await Task({
subagent_type: "GeminiResearcher",
description: "Web research on topic",
prompt: "Research latest AI developments"
});
// PNC delegates complex multi-file work to PNK
await Bash({
command: `opencode run "Refactor auth system across 15 files"`,
workdir: "/project"
});
// PNC routes classification to PNO (zero cost)
const classification = await Bash({
command: `bun PAI/Tools/Inference.ts --task fast_classification "..."`,
workdir: "~/.claude"
});
// Cross-engine handoff with provenance
await Bash({
command: `bun PAI/Tools/RecordRouter.ts handoff \\
--from PNC --to PNX \\
--task "Verify security findings" \\
--context "assessment-2024-07-08"`,
workdir: "~/.claude"
});
Persistent cross-engine state with Qdrant vector database
Survives context resets and engine switches
High-performance vector database
Structured memory organization
// Query recent sessions
await Bash({
command: `icm query session-log --limit 10 --filter "tag:security"`,
});
// Semantic search across all topics
await Bash({
command: `icm search "authentication implementation" --k 5`,
});
// Write to entity graph
await Bash({
command: `icm write entity-graph --data '{
"type": "company",
"name": "Anthropic",
"tags": ["AI", "LLM"],
"relationships": ["builds:Claude"]
}'`,
});
Typed entities with relationship tracking
Four core entity types
8 relationship types
Deep relationship exploration
// Add entity with relationships
await Bash({
command: `bun PAI/Tools/KnowledgeGraph.ts add \\
--type company \\
--name "Anthropic" \\
--relationships "built:Claude,founded-by:Dario-Amodei"`,
workdir: "~/.claude"
});
// 2-hop traversal
await Bash({
command: `bun PAI/Tools/KnowledgeGraph.ts traverse \\
--start "Claude" \\
--depth 2`,
workdir: "~/.claude"
});
// Search entities
await Bash({
command: `bun PAI/Tools/KnowledgeGraph.ts search \\
--query "LLM safety" \\
--limit 5`,
workdir: "~/.claude"
});