1 viewer
rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off
cre8-app-intelligence intelligence cargo crate
IntelligenceApp — LLM provider registry + adapters (anthropic/openai-compat/cli). Extracted from src/apps/intelligence (2026-05-23, step 15 of src/apps elimination).
20workspace deps
15direct dependents
94transitive dependents
199calls out
170calls in
395call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Declared but never named in this crate's source: cre8-app-truth-api (normal).
Files
lowhigh
File call graph
Resolved calls between this crate's files, callers left of callees.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 469 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| RuntimeContext::intelligence_optsrc/context_ext.rs:55 | trait impl | 4 | 1 | 16 | 0 | 8 | |
| IntelligenceRegistry::get_defaultsrc/registry.rs:95 | method | 4 | 1 | 28 | 2 | 7.9 | |
| RuntimeContext::intelligencesrc/context_ext.rs:50 | trait impl | 4 | 1 | 10 | 1 | 5.2 | |
| IntelligenceRegistry::emptysrc/registry.rs:67 | method | 7 | 1 | 41 | 1 | 5 | |
| OpenAiCompat::newsrc/adapters/openai_compat.rs:176 | method | 21 | 1 | 17 | 0 | 5 | |
| tool_with_fakesrc/tools/graph_query.rs:256 | fn | 73 | 10 | 10 | 3 | 4.5 | |
| OpenAiCompat::with_kindsrc/adapters/openai_compat.rs:230 | method | 4 | 1 | 12 | 0 | 4.5 | |
| IntelligenceRegistry::getsrc/registry.rs:84 | method | 3 | 1 | 3 | 1 | 4.3 | |
| GraphQueryTool::required_string_argsrc/tools/graph_query.rs:101 | method | 7 | 1 | 6 | 0 | 3.7 | |
| tool_that_recordssrc/tools/vm_os.rs:256 | fn | 9 | 1 | 8 | 2 | 3.2 | |
| HashEmbedProvider::newsrc/adapters/hash_embed.rs:23 | method | 3 | 1 | 9 | 0 | 3 | |
| install_intelligence_arcsrc/context_ext.rs:69 | fn | 3 | 1 | 18 | 0 | 3 | |
| which_binsrc/adapters/cli_subprocess.rs:638 | fn | 15 | 4 | 5 | 1 | 2.9 | |
| IntelligenceRegistry::set_defaultsrc/registry.rs:91 | method | 3 | 1 | 25 | 1 | 2.9 | |
| tool_that_recordssrc/tools/cre8vm_exec.rs:163 | fn | 14 | 1 | 7 | 2 | 2.8 | |
| parse_cli_outputsrc/adapters/cli_subprocess.rs:758 | fn | 48 | 10 | 5 | 0 | 2.5 | |
| OpenAiCompat::ollamasrc/adapters/openai_compat.rs:244 | method | 4 | 1 | 6 | 3 | 2.4 | |
| settle_llm_spendsrc/spend.rs:356 | fn | 118 | 11 | 12 | 6 | 2.4 | |
| connectsrc/connection.rs:43 | fn | 11 | 4 | 3 | 3 | 2.3 | |
| VmOsTool::newsrc/tools/vm_os.rs:122 | method | 20 | 1 | 3 | 0 | 2.1 | |
| poolsrc/key_pool.rs:263 | fn | 4 | 1 | 9 | 2 | 2 | |
| get_or_initsrc/pool_registry.rs:240 | fn | 15 | 4 | 9 | 5 | 2 | |
| AnthropicProvider::newsrc/adapters/anthropic.rs:112 | method | 3 | 1 | 10 | 0 | 2 | |
| with_pool_failoversrc/pool_registry.rs:324 | fn | 86 | 6 | 10 | 8 | 2 | |
| quota_tier_for_modelsrc/spend.rs:86 | fn | 8 | 5 | 3 | 0 | 1.9 | |
| OpenAiCompat::clear_model_reference_cachesrc/adapters/openai_compat.rs:478 | method | 5 | 2 | 3 | 0 | 1.9 | |
| ApiKeyPool::from_secretssrc/key_pool.rs:80 | method | 5 | 1 | 3 | 0 | 1.9 | |
| OpenAiCompat::openaisrc/adapters/openai_compat.rs:237 | method | 3 | 1 | 8 | 2 | 1.8 | |
| GraphQueryTool::newsrc/tools/graph_query.rs:60 | method | 13 | 1 | 1 | 0 | 1.8 | |
| FakeGraph::fixturesrc/tools/graph_query.rs:239 | method | 15 | 1 | 1 | 0 | 1.8 | |
| toolsrc/tools/vector_search.rs:208 | fn | 12 | 1 | 3 | 3 | 1.8 | |
| IntelligenceRegistry::discover_from_vaultsrc/registry.rs:176 | method | 10 | 1 | 11 | 4 | 1.7 | |
| spendsrc/spend.rs:479 | fn | 11 | 1 | 13 | 0 | 1.7 | |
| Cre8VmExecTool::newsrc/tools/cre8vm_exec.rs:63 | method | 14 | 1 | 1 | 0 | 1.7 | |
| ApiKeyPool::picksrc/key_pool.rs:135 | method | 27 | 9 | 7 | 1 | 1.7 | |
| push_prompt_sectionsrc/adapters/cli_subprocess.rs:609 | fn | 6 | 1 | 2 | 0 | 1.7 | |
| Cre8Router::is_model_compatiblesrc/router.rs:124 | method | 18 | 9 | 2 | 0 | 1.6 | |
| validate_selection_idsrc/registry.rs:387 | fn | 12 | 6 | 2 | 0 | 1.6 | |
| IntelligenceRegistry::listsrc/registry.rs:154 | method | 14 | 1 | 5 | 1 | 1.6 | |
| providers_jsonsrc/connection.rs:55 | fn | 14 | 1 | 2 | 3 | 1.6 |
Outside the workspace
anyhow base64 cre8-lib-math hyperdb serde serde_json sha2 tracing