Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agenticsorg/lean-agentic
/ functions
Functions
1,015 in github.com/agenticsorg/lean-agentic
⨍
Functions
1,015
◇
Types & classes
284
↓ 347 callers
Method
log
* Log message to stderr (for debugging, not protocol communication)
npm/lean-agentic/mcp/server.js:258
↓ 112 callers
Method
push
Push a new binding
leanr-elab/src/context.rs:39
↓ 90 callers
Method
clone
(&self)
runtime/src/mailbox.rs:146
↓ 74 callers
Method
clone
(&self)
lean-agentic/src/environment.rs:302
↓ 47 callers
Method
len
(&self)
runtime/src/mailbox.rs:93
↓ 40 callers
Method
advance
Advance to next character
leanr-syntax/src/lexer.rs:425
↓ 39 callers
Method
mk_var
Create a variable term
lean-agentic/src/arena.rs:130
↓ 37 callers
Method
insert
Insert WHNF result
leanr-eval-lite/src/cache.rs:36
↓ 34 callers
Method
mk_app
Create an application term
lean-agentic/src/arena.rs:135
↓ 31 callers
Method
advance
Advance to next token
leanr-syntax/src/parser.rs:692
↓ 28 callers
Method
check
Check if current token matches
leanr-syntax/src/parser.rs:667
↓ 28 callers
Method
get
Get a term by its ID
lean-agentic/src/arena.rs:75
↓ 26 callers
Method
process
Process a RAG query with policy verification
leanr-rag-gateway/src/lib.rs:109
↓ 24 callers
Method
expect
Expect a specific token
leanr-syntax/src/parser.rs:675
↓ 22 callers
Method
createVariable
* Demonstrate hash-consing: creating same term twice reuses memory * Returns true if successful * @param {number} index * @returns {boo
npm/lean-agentic/wasm-web/leanr_wasm.js:157
↓ 22 callers
Method
mk_sort
Create a sort term
lean-agentic/src/arena.rs:116
↓ 21 callers
Method
intern
Intern a term and return its ID
lean-agentic/src/arena.rs:45
↓ 20 callers
Method
insert
( &self, id: &str, vector: &[f32], payload: HashMap<String, serde_json::Value>
src/agentdb/vector_store.rs:128
↓ 20 callers
Method
kind
Get the kind of a term by its ID
lean-agentic/src/arena.rs:85
↓ 18 callers
Method
parse_expr
Parse an expression
leanr-syntax/src/parser.rs:317
↓ 17 callers
Method
span
Get the span of this expression
leanr-syntax/src/ast.rs:207
↓ 17 callers
Method
to
Combine two spans into a single span covering both
leanr-syntax/src/span.rs:35
↓ 15 callers
Function
spawn
1. Spawn: Create new agent (<500ns target)
runtime/src/orchestration.rs:54
↓ 15 callers
Method
spawn
Spawn a new agent
runtime/src/runtime.rs:70
↓ 15 callers
Method
start
Start the runtime
runtime/src/runtime.rs:46
↓ 15 callers
Method
zero
Get the zero level ID
lean-agentic/src/level.rs:116
↓ 14 callers
Function
createDemo
()
npm/lean-agentic/src/web.js:90
↓ 14 callers
Method
current_char
Get current character
leanr-syntax/src/lexer.rs:415
↓ 14 callers
Method
init
* Initialize AgentDB connection
npm/lean-agentic/src/agentdb-integration.js:37
↓ 14 callers
Method
mk_nat
Create a natural number literal
lean-agentic/src/arena.rs:165
↓ 14 callers
Method
recv
Receive message (async)
runtime/src/mailbox.rs:116
↓ 14 callers
Method
stop
Stop the runtime
runtime/src/runtime.rs:58
↓ 13 callers
Method
getStats
()
npm/lean-agentic/src/web.js:70
↓ 13 callers
Method
intern
Intern a term into the hash-consed arena This computes the canonical representative [t]≡ ∈ T̂ Complexity: O(1) amortized
leanr-theorems/src/hashcons_confluence.rs:79
↓ 13 callers
Method
parse_ident
Parse an identifier
leanr-syntax/src/parser.rs:651
↓ 12 callers
Method
add_episode
Add an episode to memory
examples/memory-copilot/explainable_memory.rs:98
↓ 12 callers
Function
create_test_episode
(id: &str, content: &str, entities: Vec<String>)
examples/memory-copilot/explainable_memory.rs:351
↓ 12 callers
Method
demonstrateHashConsing
()
npm/lean-agentic/src/web.js:60
↓ 12 callers
Method
len
Get the length of this span
leanr-syntax/src/span.rs:45
↓ 12 callers
Method
max
Create a max level
lean-agentic/src/level.rs:136
↓ 12 callers
Method
send
Send message with backpressure check Returns error if above high water mark.
runtime/src/mailbox.rs:168
↓ 12 callers
Method
stats
Get cache statistics (demonstrates hash-consing benefit)
leanr-theorems/src/confluence.rs:145
↓ 11 callers
Method
createIdentityFunction
* Create a lambda abstraction (x : Type) => x * @returns {boolean}
npm/lean-agentic/wasm-web/leanr_wasm.js:198
↓ 11 callers
Method
get_mut
(&mut self)
runtime/src/capabilities.rs:101
↓ 11 callers
Method
mk_const
Create a constant term
lean-agentic/src/arena.rs:121
↓ 11 callers
Method
mk_lam
Create a lambda term
lean-agentic/src/arena.rs:140
↓ 11 callers
Method
parallel_reduce
Compute parallel reduction of a term This is a single-step reduction that reduces ALL β-redexes simultaneously. For example: - `(λx.x) ((λy.y) z)` ⇉
leanr-theorems/src/confluence.rs:83
↓ 11 callers
Function
test
* Test helper
npm/lean-agentic/tests/theorems/basic-theorems.test.js:27
↓ 11 callers
Method
update
Update profile with new execution data
runtime/src/profile.rs:57
↓ 10 callers
Method
is_empty
(&self)
runtime/src/mailbox.rs:99
↓ 10 callers
Method
is_eof
Check if at end of file
leanr-syntax/src/lexer.rs:432
↓ 10 callers
Method
push_var
Push a simple variable binding
lean-agentic/src/context.rs:65
↓ 10 callers
Method
sendRequest
* Send a JSON-RPC request
npm/lean-agentic/mcp/test-client.js:57
↓ 10 callers
Method
synth
Synthesis mode: infer the type of an expression Returns (term, type)
leanr-elab/src/elaborate.rs:156
↓ 10 callers
Method
wait
* Wait for specified milliseconds
npm/lean-agentic/mcp/test-client.js:173
↓ 9 callers
Method
current
Get current token
leanr-syntax/src/parser.rs:687
↓ 9 callers
Method
get
(&self, id: &str)
src/agentdb/episode_store.rs:24
↓ 9 callers
Method
mk_pi
Create a Pi term
lean-agentic/src/arena.rs:145
↓ 9 callers
Function
test
(name, fn)
npm/lean-agentic/tests/theorems/dependent-types.test.js:23
↓ 8 callers
Method
add_robot
Add a robot
examples/grid-operator/safety_bounded_grid.rs:157
↓ 8 callers
Method
close
* Close database connection
npm/lean-agentic/src/agentdb-integration.js:360
↓ 8 callers
Method
createIdentity
()
npm/lean-agentic/src/web.js:41
↓ 8 callers
Function
create_test_robot
(id: &str)
examples/grid-operator/safety_bounded_grid.rs:359
↓ 8 callers
Method
get
Get a level by its ID
lean-agentic/src/level.rs:111
↓ 8 callers
Method
len
Get the number of interned symbols
lean-agentic/src/symbol.rs:107
↓ 8 callers
Method
prove_confluence
( &mut self, source: &str, target1: &str, target2: &str, )
leanr-theorems/src/wasm.rs:30
↓ 8 callers
Method
push
Push a new binding onto the context
lean-agentic/src/context.rs:60
↓ 8 callers
Function
test
(name, fn)
npm/lean-agentic/tests/theorems/performance-theorems.test.js:23
↓ 8 callers
Method
whnf
Normalize a term to WHNF
leanr-eval-lite/src/normalize.rs:42
↓ 7 callers
Method
add_agent
Add agent to topology
runtime/src/topology.rs:40
↓ 7 callers
Method
check
Checking mode: check that an expression has a given type
leanr-elab/src/elaborate.rs:425
↓ 7 callers
Method
constant
Create a concrete level
lean-agentic/src/level.rs:121
↓ 7 callers
Function
create_test_envelope
()
examples/grid-operator/safety_bounded_grid.rs:337
↓ 7 callers
Function
create_test_mandate
()
examples/trading/risk_bounded_trading.rs:385
↓ 7 callers
Method
encode
(&self, graph: &LoopGraph)
src/llm-compiler/auto_vectorization.rs:154
↓ 7 callers
Method
fresh
Create a fresh metavariable
leanr-elab/src/metavar.rs:42
↓ 7 callers
Method
intern
Intern a level and return its ID
lean-agentic/src/level.rs:99
↓ 7 callers
Method
is_def_eq
Check if two terms are definitionally equal
lean-agentic/src/conversion.rs:68
↓ 7 callers
Method
parse_params
Parse function parameters
leanr-syntax/src/parser.rs:275
↓ 7 callers
Method
sendResponse
* Send JSON-RPC response
npm/lean-agentic/mcp/server.js:272
↓ 6 callers
Method
add_zone
Add a safety zone
examples/grid-operator/safety_bounded_grid.rs:152
↓ 6 callers
Function
create_test_zone
(id: &str, has_human: bool)
examples/grid-operator/safety_bounded_grid.rs:347
↓ 6 callers
Method
execute
Execute financial action with proofs
examples/finance/verified_finance_agent.rs:226
↓ 6 callers
Method
execute_command
Execute control command with safety verification
examples/grid-operator/safety_bounded_grid.rs:234
↓ 6 callers
Method
fresh_mvar
Create a fresh metavariable
leanr-elab/src/elaborate.rs:557
↓ 6 callers
Method
from
(iso: Tracked<T, Iso>)
runtime/src/capabilities.rs:136
↓ 6 callers
Method
get
(&self)
runtime/src/capabilities.rs:95
↓ 6 callers
Function
getStringFromWasm0
(ptr, len)
npm/lean-agentic/wasm-web/leanr_wasm.js:28
↓ 6 callers
Function
getStringFromWasm0
(ptr, len)
npm/lean-agentic/wasm-node/leanr_wasm.js:22
↓ 6 callers
Function
getStringFromWasm0
(ptr, len)
examples/wasm-demo/leanr_wasm.js:28
↓ 6 callers
Method
hash
Get the term's hash
lean-agentic/src/term.rs:161
↓ 6 callers
Method
is_eof
Check if at end of input
leanr-syntax/src/parser.rs:701
↓ 6 callers
Method
payload
(&self)
runtime/src/message.rs:37
↓ 6 callers
Method
pop
Pop the most recent binding for a name
leanr-elab/src/context.rs:51
↓ 6 callers
Method
recall
Recall episodes with explanation
examples/memory-copilot/explainable_memory.rs:184
↓ 6 callers
Method
reduce
(&mut self, term: &str)
leanr-theorems/src/wasm.rs:88
↓ 6 callers
Method
run
Run the task
runtime/src/scheduler.rs:56
↓ 6 callers
Method
sendError
* Send JSON-RPC error
npm/lean-agentic/mcp/server.js:284
↓ 6 callers
Method
unify
Unify two terms
lean-agentic/src/unification.rs:95
↓ 6 callers
Method
verify_signature
Verify Ed25519 signature
examples/ed25519_proof_signing.rs:146
next →
1–100 of 1,015, ranked by callers