MCPcopy Create free account

hub / github.com/FareedKhan-dev/long-running-agent / types & classes

Types & classes148 in github.com/FareedKhan-dev/long-running-agent

↓ 34 callersClassModelMessage
One message in a model conversation.
src/lra/contracts/model.py:35
↓ 24 callersClassStubModel
Deterministic, offline ``ModelProvider`` for tests and CI.
src/lra/model/stub.py:19
↓ 24 callersClassTurnResult
The real result of one model turn. ``thinking`` holds the reasoning/CoT when the backend exposes it (captured for the observability view); ``
src/lra/contracts/model.py:42
↓ 16 callersClassAllowListDispatcher
A ``ToolDispatcher`` with an allow-list and mutating/egress policy.
src/lra/execution/dispatcher.py:18
↓ 14 callersClassGitMissionAnchor
A ``DurableState`` backed by a git repo at ``workdir``.
src/lra/state/mission_anchor.py:36
↓ 12 callersClassToolCall
A tool invocation the model requested (executed by the dispatcher, not the model).
src/lra/contracts/model.py:27
↓ 11 callersClassCheck
A single deterministic check: an argv run in the work directory.
src/lra/contracts/verify.py:18
↓ 11 callersClassChecklistItem
One mission work-unit; flips to ``done`` only after deterministic verification.
src/lra/contracts/state.py:20
↓ 10 callersClassMemoryRecord
A single memory item.
src/lra/contracts/memory.py:33
↓ 9 callersClassChecklist
The ordered set of mission items.
src/lra/contracts/state.py:38
↓ 9 callersClassLocalSandbox
Opens host-local sessions.
src/lra/execution/sandbox_local.py:53
↓ 9 callersClassRoleSpec
src/lra/agents/roles.py:21
↓ 9 callersClassToolSpec
Describes a tool to the model (JSON-Schema parameters) and to the dispatcher (policy).
src/lra/contracts/tools.py:22
↓ 9 callersClassUsage
Real token accounting as reported by the provider.
src/lra/contracts/model.py:17
↓ 8 callersClassToolContext
Live, non-serializable context handed to a tool at execution time.
src/lra/contracts/tools.py:50
↓ 7 callersClassDeterministicVerifier
Implements the ``Verifier`` protocol by shelling out to real check commands.
src/lra/verify/verifier.py:15
↓ 7 callersClassSubAgent
Runs one role as a bounded, read-or-scoped loop returning a condensed artifact.
src/lra/agents/subagent.py:30
↓ 6 callersClassCostLedger
Append-only ledger of spend for one mission.
src/lra/governor/cost.py:25
↓ 6 callersClassHashEmbedder
A deterministic, offline embedder (lexical hashing). For dev/CI/offline only.
src/lra/memory/embeddings.py:20
↓ 5 callersClassAction
A parsed model action: either a tool call or a done signal.
src/lra/agent/loop.py:28
↓ 5 callersClassAgentLoop
Runs one verified cycle of work using a model + tools + sandbox + verifier + anchor.
src/lra/agent/loop.py:80
↓ 5 callersClassBudgetGovernor
Refuses the next step *before* it runs if it would breach the spend/iteration ceiling.
src/lra/governor/governor.py:22
↓ 5 callersClassEventRecord
One entry in the append-only episodic event log.
src/lra/contracts/state.py:71
↓ 5 callersClassExecResult
The real result of running a command in a sandbox session.
src/lra/contracts/sandbox.py:17
↓ 5 callersClassInMemorySemanticIndex
A simple, exact-cosine semantic index backed by Python lists.
src/lra/memory/semantic_memory.py:28
↓ 5 callersClassPlanner
Turns a mission into a checklist using the model (with a safe fallback).
src/lra/agents/planner.py:53
↓ 5 callersClassRetrievalHit
A retrieved record with its similarity score.
src/lra/contracts/memory.py:45
↓ 4 callersClassDependencyStatus
src/lra/ops/degradation.py:26
↓ 4 callersClassGateRequest
A request for a human decision.
src/lra/contracts/hitl.py:28
↓ 4 callersClassGateResolution
The outcome of a gate.
src/lra/contracts/hitl.py:41
↓ 4 callersClassOpenAICompatModel
A ``ModelProvider`` backed by any OpenAI-compatible chat-completions endpoint.
src/lra/model/openai_compat.py:16
↓ 3 callersClassAgentAsJudge
Scores a candidate against a rubric using an independent model.
src/lra/agents/judge.py:36
↓ 3 callersClassCheckpoint
The inputs to one atomic checkpoint commit.
src/lra/contracts/state.py:93
↓ 3 callersClassClaudeModel
A ``ModelProvider`` backed by Anthropic's Messages API.
src/lra/model/claude.py:23
↓ 3 callersClassDecisionRecord
A durable, never-compacted record of an implicit design decision (anti-drift). Compaction drops implicit action-level decisions — the dangerous o
src/lra/contracts/state.py:57
↓ 3 callersClassEvalCase
src/lra/evals/harness.py:17
↓ 3 callersClassFileOwnershipMap
Maps file paths to their single permitted writer.
src/lra/coordination/ownership.py:63
↓ 3 callersClassLocalFileObjectStore
Stores blobs as files under ``root``, named by sha256 (immutable, dedup-friendly).
src/lra/persistence/object_store.py:27
↓ 3 callersClassLoopDetector
Flags oscillation: the same (state, action) signature recurring too often.
src/lra/governor/governor.py:59
↓ 3 callersClassMissionInput
Starts a mission; the anchor + checklist must already be initialized at ``workdir``.
src/lra/durable/types.py:15
↓ 3 callersClassReconcileAction
src/lra/durable/reconcile.py:18
↓ 3 callersClassSnapshot
A handle to a persisted sandbox state (filesystem ± memory, depending on backend).
src/lra/contracts/sandbox.py:30
↓ 3 callersClassTaskContract
The typed work order for a sub-agent.
src/lra/coordination/ticket.py:25
↓ 3 callersClassTicket
A unit of delegated work with a durable lifecycle.
src/lra/coordination/ticket.py:38
↓ 2 callersClassAutoPolicyGate
Resolves gates by policy alone (no human).
src/lra/hitl/gate.py:18
↓ 2 callersClassBM25Index
A minimal in-memory BM25 keyword index.
src/lra/memory/hybrid.py:23
↓ 2 callersClassBoardEntry
src/lra/coordination/blackboard.py:14
↓ 2 callersClassCallbackGate
Asks an async resolver; falls back to the request's default if it returns ``None``.
src/lra/hitl/gate.py:37
↓ 2 callersClassClaimCheckCodec
Offloads large payloads to an object store, journaling only a pointer.
src/lra/durable/codec.py:22
↓ 2 callersClassCycleOutcome
The result of one agent cycle.
src/lra/agent/loop.py:38
↓ 2 callersClassCycleResult
The small, journaled result of one cycle (no raw transcripts — pointers/summary only).
src/lra/durable/types.py:46
↓ 2 callersClassEgressPolicy
Allow-list of permitted egress hosts (default-deny: empty = nothing allowed).
src/lra/safety/egress.py:15
↓ 2 callersClassFailoverModel
Try providers in order; return the first success, raise only if all fail.
src/lra/model/failover.py:13
↓ 2 callersClassGitError
A git command exited non-zero.
src/lra/state/git_ops.py:14
↓ 2 callersClassGovernorDecision
Whether the next step may proceed, and why.
src/lra/governor/governor.py:12
↓ 2 callersClassMissionResult
Terminal mission summary.
src/lra/durable/types.py:59
↓ 2 callersClassMissionSummary
Terminal summary of a locally-run mission.
src/lra/agent/runner.py:32
↓ 2 callersClassOrchestrator
Runs a mission with the full org (research fan-out + Lead + review + reflection).
src/lra/agents/orchestrator.py:38
↓ 2 callersClassSafeParkDecision
src/lra/ops/degradation.py:33
↓ 2 callersClassSaga
Accumulates compensations and runs them LIFO on ``compensate``.
src/lra/durable/saga.py:21
↓ 2 callersClassSettings
Runtime configuration for an LRA deployment. The defaults are chosen so the system runs at ``$0`` out of the box: the ``stub`` model backend
src/lra/config.py:18
↓ 2 callersClassSkill
A learned, reusable capability.
src/lra/memory/skills.py:18
↓ 2 callersClassTraceRecorder
Collects ``TraceEvent``s and mirrors them to structlog.
src/lra/obs/events.py:46
↓ 2 callersClassVerdict
src/lra/agents/judge.py:18
↓ 2 callersClassVerificationResult
Aggregate verdict over a set of checks.
src/lra/contracts/verify.py:38
↓ 2 callersClassWebSearchTool
src/lra/execution/tools/web.py:23
↓ 2 callersClass_AlwaysFails
tests/unit/test_more_modules.py:16
↓ 1 callersClassBlackboard
src/lra/coordination/blackboard.py:20
↓ 1 callersClassCheckResult
The real outcome of running a ``Check``.
src/lra/contracts/verify.py:27
↓ 1 callersClassCompensation
src/lra/durable/saga.py:16
↓ 1 callersClassCostEntry
One recorded model turn.
src/lra/governor/cost.py:15
↓ 1 callersClassCredentialBroker
Maps placeholder tokens to real secrets, injected only at egress.
src/lra/safety/egress.py:25
↓ 1 callersClassCycleInput
One agent-cycle invocation.
src/lra/durable/types.py:36
↓ 1 callersClassDecisionLog
A JSONL file of ``DecisionRecord``s. Append-only; never rewritten.
src/lra/coordination/decision_log.py:14
↓ 1 callersClassDockerSandboxSession
src/lra/execution/sandbox_docker.py:23
↓ 1 callersClassE2BSandboxSession
src/lra/execution/sandbox_e2b.py:18
↓ 1 callersClassEvalCaseResult
src/lra/evals/harness.py:24
↓ 1 callersClassEvalReport
src/lra/evals/harness.py:32
↓ 1 callersClassEvolutionResult
src/lra/agents/evolution.py:19
↓ 1 callersClassFlakyQuarantine
src/lra/verify/flaky_quarantine.py:12
↓ 1 callersClassGrepTool
src/lra/execution/tools/fs.py:97
↓ 1 callersClassHybridRetriever
Combines a dense ``SemanticIndex`` and a ``BM25Index`` via RRF.
src/lra/memory/hybrid.py:75
↓ 1 callersClassInMemoryEpisodicLog
src/lra/memory/episodic.py:12
↓ 1 callersClassInMemorySkillStore
Stores verified skills and retrieves them by description similarity.
src/lra/memory/skills.py:37
↓ 1 callersClassListFilesTool
src/lra/execution/tools/fs.py:67
↓ 1 callersClassLocalSandboxSession
A host-local working directory.
src/lra/execution/sandbox_local.py:19
↓ 1 callersClassMissionState
State carried across Continue-As-New (pointers only — never history).
src/lra/durable/types.py:29
↓ 1 callersClassMutationResult
src/lra/verify/mutation.py:20
↓ 1 callersClassNoopReranker
Pass-through reranker (keeps fusion order). The $0 default.
src/lra/memory/rerank.py:16
↓ 1 callersClassOwnershipViolation
A write to a path the writer does not own.
src/lra/coordination/ownership.py:47
↓ 1 callersClassProgressLedger
Round counter + stall detection.
src/lra/durable/ledgers.py:34
↓ 1 callersClassPromptCandidate
src/lra/agents/evolver.py:17
↓ 1 callersClassPromptEvolver
Proposes an improved prompt for a role from its failure traces (offline).
src/lra/agents/evolver.py:23
↓ 1 callersClassReadFileTool
src/lra/execution/tools/fs.py:23
↓ 1 callersClassReviewResult
src/lra/agents/reviewer.py:21
↓ 1 callersClassReviewer
Adversarial, fresh-context diff review.
src/lra/agents/reviewer.py:27
↓ 1 callersClassRuleOfTwoViolation
Raised when a session would hold all three dangerous capabilities.
src/lra/safety/rule_of_two.py:23
↓ 1 callersClassSdkRunResult
src/lra/agents/claude_sdk_lead.py:15
↓ 1 callersClassShellTool
src/lra/execution/tools/shell.py:9
↓ 1 callersClassSituationSnapshot
Reconstructed situational awareness: what a fresh agent needs to resume coherently.
src/lra/contracts/state.py:81
next →1–100 of 148, ranked by callers