MCPcopy Create free account

hub / github.com/atripati/ark / functions

Functions715 in github.com/atripati/ark

↓ 141 callersMethodError
()
pkg/runtime/agent_test.go:226
↓ 39 callersMethodExecute
(context string, task string)
pkg/runtime/agent.go:15
↓ 35 callersMethodRecord
Record records an observation and updates the model's profile.
pkg/governor/registry.go:122
↓ 35 callersMethodremember
Store a memory. Persists immediately to disk. Args: content: The text to remember. namespace: Isolation grou
ark-memory/ark_memory/agent.py:58
↓ 33 callersFunctionNewRegistry
NewRegistry creates an empty registry.
pkg/governor/registry.go:97
↓ 30 callersMethodSetStep
(step int, stepType string)
pkg/runtime/agent.go:40
↓ 24 callersMethodRegisterTool
(tool Tool)
pkg/tools/http.go:64
↓ 24 callersMethodRegisterTool
(id, name, description string, fullSchema string)
pkg/context/manager.go:112
↓ 23 callersMethodRecordStep
(step int, inputTokens, outputTokens int, action, toolName string, latency time.Duration)
pkg/cost/cost.go:163
↓ 22 callersMethodrecall
Recall memories relevant to a query. Semantic search with time decay. Args: query: What to search for (natural language)
ark-memory/ark_memory/agent.py:102
↓ 21 callersMethodcount
Count memories in a namespace.
ark-memory/ark_memory/agent.py:215
↓ 20 callersFunctionNewRouterWithExecutor
(exec Executor)
pkg/tools/http.go:51
↓ 17 callersFunctionDefaultBudget
(totalTokens int)
pkg/context/manager.go:21
↓ 17 callersFunctionNewManager
(budget TokenBudget)
pkg/context/manager.go:97
↓ 17 callersFunctionNewTracker
(pricing TokenPrice)
pkg/cost/cost.go:134
↓ 17 callersMethodRecord
(model string, kind string, stepType string, toolName string, latencyMs float64, cost float64, errorClass stri
pkg/runtime/agent.go:119
↓ 16 callersFunctionModelPricing
(provider, model string)
pkg/cost/cost.go:59
↓ 16 callersMethod_make_agent
(self)
ark-memory/tests/test_memory.py:193
↓ 15 callersMethodAdaptContext
(plan *ContextPlan, result ExecutionResult)
pkg/context/engine.go:173
↓ 14 callersMethodHandle
(call *ToolCall)
pkg/runtime/agent.go:35
↓ 14 callersMethodPrepareContext
(taskID, query string)
pkg/context/engine.go:114
↓ 14 callersFunctionclamp
(v float64)
pkg/governor/registry.go:521
↓ 13 callersFunctionDefaultVerifierConfig
DefaultVerifierConfig returns production-safe defaults.
pkg/governor/verifier.go:55
↓ 13 callersMethodGetProfile
GetProfile returns a copy of a model's profile.
pkg/governor/registry.go:347
↓ 13 callersFunctionNewVerifier
NewVerifier creates a verifier linked to the capability registry.
pkg/governor/verifier.go:81
↓ 13 callersMethodReport
()
pkg/cost/cost.go:220
↓ 13 callersMethod_make
(self)
ark-memory/tests/test_experience.py:11
↓ 13 callersMethodstore
Store a memory. Generates embedding if not present.
ark-memory/ark_memory/store.py:74
↓ 12 callersMethodLoad
(id string)
pkg/context/manager.go:128
↓ 12 callersFunctionNew
(cfg Config, fast, strong runtime.Executor)
pkg/router/router.go:97
↓ 11 callersMethodAdd
(report *CostReport)
pkg/cost/cost.go:346
↓ 11 callersMethodembed
(self, text: str)
ark-memory/ark_memory/embeddings.py:34
↓ 11 callersFunctionregisterTestTools
(mgr *Manager)
pkg/context/engine_test.go:415
↓ 10 callersFunctionNewJSONFileStore
(path string)
pkg/store/store.go:72
↓ 10 callersMethodString
()
pkg/context/engine.go:95
↓ 10 callersMethod_make
(self)
ark-memory/tests/test_collector.py:13
↓ 10 callersMethodclose
Close database connection.
ark-memory/ark_memory/store.py:480
↓ 10 callersMethodstrategy_learned
Record a strategy or pattern that was discovered.
ark-memory/ark_memory/experience.py:206
↓ 10 callersMethodtool_succeeded
Record a successful tool execution.
ark-memory/ark_memory/experience.py:79
↓ 9 callersMethodClose
()
pkg/store/store.go:232
↓ 9 callersMethodRun
(taskID, task string)
pkg/runtime/agent.go:340
↓ 9 callersMethodSetTaskID
(taskID string)
pkg/cost/cost.go:157
↓ 8 callersFunctionDefaultEngineConfig
()
pkg/context/engine.go:30
↓ 8 callersFunctionNewEngine
(mgr *Manager, config EngineConfig)
pkg/context/engine.go:40
↓ 8 callersFunctionNewHTTPExecutor
(allowedDomains []string)
pkg/tools/http.go:178
↓ 8 callersMethodRank
(query string, mgr *Manager)
pkg/context/engine.go:472
↓ 8 callersFunctionRegisterCustomHTTP
(router *Router, cfg CustomToolConfig)
pkg/tools/custom.go:24
↓ 8 callersMethodShouldEscalate
ShouldEscalate checks if a failed verification should trigger escalation to a stronger model.
pkg/governor/verifier.go:393
↓ 8 callersMethodValidate
()
pkg/config/config.go:293
↓ 8 callersMethodingest_file
Ingest events from a JSONL file. Each line is one JSON event. Args: path: Path to the JSONL event log file.
ark-memory/ark_memory/collector.py:65
↓ 7 callersFunctionDefaultConfig
()
pkg/config/config.go:67
↓ 7 callersMethodEvict
(id string)
pkg/context/manager.go:314
↓ 7 callersFunctionLoad
(path string)
pkg/config/config.go:96
↓ 7 callersFunctionNewAgent
(engine *ctx.Engine, executor Executor, tools ToolHandler, config AgentConfig)
pkg/runtime/agent.go:172
↓ 7 callersMethodRegister
(block *ContextBlock)
pkg/context/manager.go:106
↓ 7 callersMethodheaders
()
pkg/tools/github.go:117
↓ 7 callersMethodprompt_worked
Record a prompt/task that produced good results.
ark-memory/ark_memory/experience.py:142
↓ 7 callersFunctionstripNulls
(m map[string]interface{})
pkg/tools/github.go:1008
↓ 7 callersMethodtool_failed
Record a failed tool execution.
ark-memory/ark_memory/experience.py:112
↓ 7 callersFunctionvalidatePath
(path string)
pkg/tools/filesystem.go:71
↓ 6 callersMethodBudgetExceeded
()
pkg/cost/cost.go:201
↓ 6 callersFunctionClassifyTask
(query string)
pkg/governor/intelligence.go:18
↓ 6 callersFunctionCleanResponse
(raw string, taskType string, config QualityConfig)
pkg/runtime/quality.go:117
↓ 6 callersMethodDecisions
()
pkg/router/router.go:325
↓ 6 callersFunctionDefaultQualityConfig
()
pkg/runtime/quality.go:16
↓ 6 callersFunctionDetermineEffort
model history, and the last verification confidence.
pkg/governor/intelligence.go:200
↓ 6 callersMethodRecordSuccess
(toolID string, latency time.Duration)
pkg/context/engine.go:639
↓ 6 callersMethodTracerRef
()
pkg/context/engine.go:66
↓ 6 callersMethodVerifyToolCall
(model string, toolName string, call *runtime.ToolCall, response *runtime.ModelResponse)
pkg/governor/verifier.go:89
↓ 6 callersMethod_make_store
(self)
ark-memory/tests/test_memory.py:70
↓ 6 callersFunctioncleanCompilerError
(raw string)
pkg/runtime/verify.go:783
↓ 6 callersFunctionfindScore
(scores []toolScore, prefix string)
cmd/ark/main.go:1051
↓ 5 callersMethodEmit
Emit writes a single event as a JSON line.
pkg/runtime/events.go:43
↓ 5 callersMethodFlush
()
pkg/store/store.go:224
↓ 5 callersMethodSave
(record ToolStatsRecord)
pkg/store/store.go:184
↓ 5 callersMethodSetAttribution
(userID, featureID, sessionID string)
pkg/cost/cost.go:147
↓ 5 callersMethodSetBudget
(maxUSD float64)
pkg/cost/cost.go:141
↓ 5 callersMethodStrategy
()
pkg/router/router.go:364
↓ 5 callersFunctionclamp
(v, lo, hi float64)
pkg/context/engine.go:838
↓ 5 callersFunctioncontains
helper
pkg/config/config_test.go:361
↓ 5 callersFunctioncontainsFlag
(flags []string, flag string)
pkg/governor/governor_test.go:534
↓ 5 callersMethodrecordPerf
this is for performance recording i mean self improving
pkg/router/router.go:291
↓ 5 callersFunctionstructuralLint
Phase 2: Structural Lint
pkg/runtime/verify.go:179
↓ 5 callersMethodsuccessRate
()
pkg/router/router.go:72
↓ 5 callersMethodwhat_worked_for
Get strategies that worked for a specific task type.
ark-memory/ark_memory/experience.py:338
↓ 5 callersFunctionwriteTestConfig
(t *testing.T, content string)
pkg/config/config_test.go:12
↓ 4 callersFunctionCheckDisagreement
CheckDisagreement compares two model outputs to detect if they fundamentally disagree. Simple version: Jaccard similarity on word sets.
pkg/governor/intelligence.go:299
↓ 4 callersMethodClose
()
pkg/store/store.go:36
↓ 4 callersMethodGetExecutor
()
pkg/tools/http.go:143
↓ 4 callersMethodGetTool
(name string)
pkg/tools/http.go:142
↓ 4 callersMethodLoadAll
()
pkg/store/store.go:203
↓ 4 callersMethodLoadRelevant
(query string, maxBlocks int)
pkg/context/manager.go:189
↓ 4 callersFunctionNewToolRanker
()
pkg/context/engine.go:411
↓ 4 callersFunctionOptimizePrompt
(raw string, taskType string)
pkg/runtime/quality.go:26
↓ 4 callersMethodPredictFailure
(model string, taskType TaskType, toolName string)
pkg/governor/intelligence.go:94
↓ 4 callersMethodPrintTrace
(traceID string)
pkg/context/engine.go:949
↓ 4 callersMethodRender
()
pkg/context/manager.go:260
↓ 4 callersMethodVerifyReasoning
VerifyReasoning checks a final reasoning/completion response.
pkg/governor/verifier.go:248
↓ 4 callersMethodbest_tool_for
Find the best tool for a task based on past experience. Returns tool recommendations with success rates and performance data.
ark-memory/ark_memory/experience.py:276
↓ 4 callersFunctioncontainsStr
(s, substr string)
pkg/governor/governor_test.go:523
next →1–100 of 715, ranked by callers