Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/awakenworks/awaken
/ functions
Functions
15,944 in github.com/awakenworks/awaken
⨍
Functions
15,944
◇
Types & classes
2,546
↓ 3,563 callers
Method
clone
(&self)
crates/awaken-stores/src/postgres.rs:20
↓ 3,103 callers
Method
expect
(&mut self, ch: char)
crates/awaken-tool-pattern/src/parser.rs:73
↓ 1,243 callers
Method
clone
(&self)
crates/awaken-runtime/src/state/store.rs:30
↓ 1,035 callers
Method
push
(&mut self, chunk: &str)
crates/awaken-runtime/src/extensions/a2a/a2a_backend.rs:1043
↓ 770 callers
Method
as_ref
(&self)
crates/awaken-server-contract/src/contract/scope.rs:83
↓ 460 callers
Method
clone
(&self)
crates/awaken/tests/agent_loop.rs:1896
↓ 328 callers
Method
as_str
(self)
crates/awaken-server/src/services/config_service.rs:85
↓ 319 callers
Function
from_value
(value: &Value)
crates/awaken-server/src/services/config_service/normalization.rs:274
↓ 302 callers
Method
on_agent_event
(&mut self, ev: &AgentEvent)
crates/awaken-server/src/protocols/acp/encoder.rs:71
↓ 277 callers
Function
apply
(choice: ThemeChoice)
apps/admin-console/src/lib/use-theme.ts:20
↓ 274 callers
Method
get
(&self, id: &str)
crates/awaken-ext-mcp/src/manager.rs:2635
↓ 271 callers
Method
extend
(&mut self, mut other: Self)
crates/awaken-runtime-contract/src/state/command.rs:61
↓ 258 callers
Method
contains
(&self)
crates/awaken-runtime-contract/src/state/slot.rs:72
↓ 253 callers
Method
status
(&self)
crates/awaken-server-contract/src/contract/mailbox.rs:349
↓ 239 callers
Method
install_plugin
(&self, plugin: P)
crates/awaken-runtime/src/state/store.rs:148
↓ 237 callers
Method
with_tool
Register a tool by ID.
crates/awaken-runtime/src/builder.rs:120
↓ 232 callers
Method
insert
(&mut self, key: String, cx: opentelemetry::Context)
crates/awaken-ext-observability/src/otel.rs:96
↓ 220 callers
Method
insert
Insert one pinned agent and its immutable version metadata.
crates/awaken-server/src/services/pinned_registry.rs:58
↓ 212 callers
Function
run_agent_loop
Execute the agent loop. Prefer `AgentRuntime::run()` for production use. Handles both fresh runs and resumed runs (state-driven detection). Supports
crates/awaken-runtime/src/loop_runner/mod.rs:304
↓ 203 callers
Function
connect
( url: &str, credentials: Option<&str>, )
crates/awaken-stores/src/nats_connect.rs:5
↓ 200 callers
Method
insert
(&mut self, value: K::Value)
crates/awaken-runtime-contract/src/state/slot.rs:84
↓ 192 callers
Method
shutdown
Signal background tasks to shut down.
crates/awaken-stores/src/nats_mailbox/mod.rs:193
↓ 189 callers
Method
as_str
(self)
crates/awaken-ext-skills/src/skill.rs:92
↓ 182 callers
Method
store
Borrow the thread/run store for read paths. Writes must be routed through `mailbox.coordinator()`.
crates/awaken-server/src/app/modules.rs:87
↓ 181 callers
Method
commit
(&self, patch: MutationBatch)
crates/awaken-runtime/src/state/store.rs:101
↓ 172 callers
Function
render
Render Prometheus text exposition format. Returns `None` if the recorder has not been installed.
crates/awaken-server/src/metrics.rs:50
↓ 170 callers
Method
write
(&self, _run: &awaken_eval::EvalRun)
crates/awaken-server/src/app_test.rs:53
↓ 168 callers
Method
is_empty
(&self)
crates/awaken-server/src/transport/replay_buffer.rs:115
↓ 165 callers
Method
is_empty
Returns `true` when no lineage fields are set.
crates/awaken-runtime/src/extensions/background/types.rs:74
↓ 161 callers
Method
with_agent_id
(mut self, agent_id: impl Into<String>)
crates/awaken-runtime/src/run.rs:187
↓ 159 callers
Function
request
( app: &axum::Router, method: &str, uri: &str, body: Option<Value>, )
crates/awaken-server/tests/eval_api.rs:278
↓ 159 callers
Function
start
(controller)
examples/openui-chat/src/lib/ag-ui-adapter.test.ts:8
↓ 151 callers
Function
test_identity
()
crates/awaken/tests/agent_loop.rs:147
↓ 150 callers
Method
thread_id
(&self)
crates/awaken-server-contract/src/contract/mailbox.rs:324
↓ 149 callers
Function
request_json
( router: &axum::Router, method: Method, uri: &str, body: Option<Value>, )
crates/awaken-server/tests/config_api.rs:764
↓ 146 callers
Method
dispatch_id
(&self)
crates/awaken-server-contract/src/contract/mailbox.rs:319
↓ 139 callers
Function
make_runtime
()
crates/awaken/tests/agent_loop.rs:140
↓ 134 callers
Method
len
Returns the number of messages currently buffered in the channel.
crates/awaken-runtime/src/inbox.rs:84
↓ 130 callers
Method
take
Take all collected events, leaving the buffer empty.
crates/awaken-runtime-contract/src/contract/event_sink.rs:41
↓ 129 callers
Method
get
(&self, id: &str)
examples/src/starter_backend/skills.rs:118
↓ 121 callers
Function
builder
()
crates/awaken-runtime-contract/src/registry_spec/tests.rs:428
↓ 121 callers
Method
clone
(&self)
crates/awaken-runtime-contract/src/state/slot.rs:21
↓ 119 callers
Method
save_thread
(&self, thread: &Thread)
crates/awaken-stores/tests/fault_injection.rs:50
↓ 119 callers
Method
send
Send a message to the owner agent. Returns `true` if delivered to the channel. Returns `false` if the receiver was dropped — in that case `on_closed`
crates/awaken-runtime/src/inbox.rs:54
↓ 118 callers
Method
read
(&self, run_id: &str)
crates/awaken-server/src/app_test.rs:57
↓ 117 callers
Method
get
Get the summary of a specific task.
crates/awaken-runtime/src/extensions/background/manager.rs:524
↓ 117 callers
Method
json
(body: Value)
crates/awaken-ext-mcp/tests/mcp_tests.rs:404
↓ 116 callers
Method
record
(&self, event: &MetricsEvent)
crates/awaken-ext-observability/src/sink.rs:94
↓ 116 callers
Method
text
Extract concatenated text parts.
crates/awaken-protocol-a2a/src/lib.rs:227
↓ 115 callers
Method
len
(&self)
crates/awaken-stores/tests/adr0036_mandatory.rs:55
↓ 114 callers
Method
get
(&self, id: &str)
crates/awaken-runtime/src/registry/memory.rs:62
↓ 110 callers
Method
parse
Parse a service-account JSON string. Validates the minimum fields the signer needs (`client_email`, `private_key`, with `private_key` looking like a P
crates/awaken-runtime/src/credentials/material.rs:115
↓ 108 callers
Function
make_store
()
crates/awaken-server/src/mailbox/tests.rs:66
↓ 106 callers
Method
on_agent_event
(&mut self, ev: &AgentEvent)
crates/awaken-server/src/protocols/ag_ui/encoder.rs:60
↓ 105 callers
Method
into_response
(self)
crates/awaken-server/src/error.rs:61
↓ 105 callers
Method
spawn
Spawn a background task. `name` is an optional short identifier for addressing (e.g. "researcher"). If provided, it must be unique among running task
crates/awaken-runtime/src/extensions/background/manager.rs:285
↓ 104 callers
Method
header
(mut self, key: impl Into<String>, value: impl Into<String>)
crates/awaken-ext-observability/src/otel_config.rs:183
↓ 102 callers
Method
count
(&self, scope: EventScope)
crates/awaken-stores/src/postgres_event.rs:286
↓ 102 callers
Method
register_phase_hook
( &mut self, plugin_id: impl Into<String>, phase: Phase, hook: H, )
crates/awaken-runtime/src/plugins/registry.rs:215
↓ 101 callers
Method
enqueue
(&self, dispatch: &RunDispatch)
crates/awaken-stores/src/memory_mailbox.rs:131
↓ 99 callers
Method
len
Number of frames currently in the buffer.
crates/awaken-server/src/transport/replay_buffer.rs:111
↓ 95 callers
Function
make_run
(run_id: &str, thread_id: &str, updated_at: u64)
crates/awaken-stores/tests/support/mod.rs:4
↓ 92 callers
Method
as_str
(&self)
crates/awaken-runtime/src/credentials/material.rs:142
↓ 92 callers
Method
with_id
Create a new thread with a specific identifier.
crates/awaken-runtime-contract/src/thread.rs:89
↓ 90 callers
Method
contains_key
(&self, id: &str)
crates/awaken-runtime/src/registry/memory.rs:66
↓ 90 callers
Method
get
(&self, dispatch_id: &str)
crates/awaken-stores/src/nats_mailbox/index.rs:101
↓ 89 callers
Method
execute
( &self, _request: InferenceRequest, )
crates/awaken-server/tests/run_api.rs:244
↓ 89 callers
Method
with_agent_spec
Register an agent spec.
crates/awaken-runtime/src/builder.rs:102
↓ 89 callers
Method
with_provider
Register a provider (LLM executor) by ID.
crates/awaken-runtime/src/builder.rs:164
↓ 88 callers
Method
ensure_schema
Ensure all tables exist. Called lazily on first access.
crates/awaken-stores/src/postgres/schema.rs:7
↓ 87 callers
Method
get
( &self, namespace: ConfigNamespace, id: &str, )
crates/awaken-server/src/services/config_service.rs:388
↓ 86 callers
Method
next
(&mut self)
crates/awaken-stores/src/memory/mod.rs:767
↓ 86 callers
Method
store
(&self)
crates/awaken-runtime/src/phase/engine.rs:45
↓ 83 callers
Function
act
Run one scene; never throws — records outcome and keeps the camera rolling.
e2e/tests/admin-demo.spec.ts:111
↓ 83 callers
Function
build_test_app
()
crates/awaken-server/tests/eval_api.rs:118
↓ 82 callers
Method
metrics
(&self)
crates/awaken-ext-observability/src/sink.rs:88
↓ 82 callers
Method
write
Write a typed value.
crates/awaken-runtime/src/profile/mod.rs:53
↓ 80 callers
Method
registry
(&self)
crates/awaken-ext-mcp/src/manager.rs:2233
↓ 79 callers
Method
on_agent_event
(&mut self, ev: &AgentEvent)
crates/awaken-server/src/protocols/ai_sdk_v6/encoder.rs:84
↓ 79 callers
Method
snapshot
(&self)
crates/awaken-runtime/src/state/store.rs:51
↓ 75 callers
Function
beat
(page: Page, ms = 650)
e2e/tests/demo-helpers.ts:117
↓ 75 callers
Method
claim_token
(&self)
crates/awaken-stores/src/nats_buffered_thread/hierarchy_claim.rs:81
↓ 73 callers
Method
checkpoint
( &self, thread_id: &str, messages: &[Message], run: &RunRecord, )
crates/awaken-stores/tests/fault_injection.rs:114
↓ 73 callers
Method
with_parent_thread_id
(mut self, parent_thread_id: impl Into<String>)
crates/awaken-runtime/src/run.rs:240
↓ 69 callers
Function
jsonResponse
(data: unknown, init?: { ok?: boolean; status?: number })
apps/admin-console/src/pages/agent-editor-page.test.tsx:40
↓ 69 callers
Function
now_ms
Returns the current time in milliseconds since the UNIX epoch. Uses `unwrap_or_default()` so the call never panics (returns `0` if the system clock i
crates/awaken-runtime-contract/src/time.rs:6
↓ 69 callers
Function
resolve
(registries: &RegistrySet, agent_id: &str)
crates/awaken-runtime/src/registry/resolve/pipeline/mod.rs:160
↓ 68 callers
Method
clone
()
examples/copilotkit-starter/lib/persisted-http-agent.ts:48
↓ 67 callers
Method
with_llm_response
(mut self, response: LLMResponse)
crates/awaken-runtime/src/hooks/context.rs:199
↓ 66 callers
Function
build_router
Build the complete router for the given state.
crates/awaken-server/src/routes.rs:103
↓ 65 callers
Method
is_empty
(&self)
crates/awaken-server/src/services/pinned_registry.rs:203
↓ 65 callers
Method
recv
(&mut self)
crates/awaken-server/src/protocols/mcp/adapter.rs:33
↓ 65 callers
Method
with_model
Register a model offering. The id is extracted from `spec.id`.
crates/awaken-runtime/src/builder.rs:136
↓ 64 callers
Method
claim
( &self, thread_id: &str, consumer_id: &str, lease_ms: u64, now: u64,
crates/awaken-stores/src/memory_mailbox.rs:163
↓ 64 callers
Method
get
( &self, namespace: &str, id: &str, )
crates/awaken-server/src/services/config_service/tests.rs:118
↓ 64 callers
Function
parse_pattern
Parse a pattern string into a [`ToolCallPattern`].
crates/awaken-tool-pattern/src/parser.rs:100
↓ 64 callers
Method
resolver_arc
Return a cloned `Arc` of the agent resolver.
crates/awaken-runtime/src/runtime/agent_runtime/mod.rs:239
↓ 63 callers
Method
abort
Abort lifecycle tasks. This is idempotent.
crates/awaken-server/src/mailbox.rs:488
↓ 63 callers
Function
baseSpec
(overrides: Partial<AgentSpec> = {})
apps/admin-console/src/lib/agent-editor-helpers.test.ts:29
↓ 63 callers
Function
make_spec
(id: &str)
crates/awaken-runtime/src/registry/resolve/pipeline/tests.rs:268
next →
1–100 of 15,944, ranked by callers