MCPcopy Create free account

hub / github.com/FareedKhan-dev/long-running-agent / functions

Functions438 in github.com/FareedKhan-dev/long-running-agent

Method__init__
(self, model: ModelProvider)
src/lra/agents/planner.py:56
Method__init__
( self, *, model: str = "claude-sonnet-4-6", cwd: str | None = None, max_turns: int = 30 )
src/lra/agents/claude_sdk_lead.py:23
Method__init__
(self, model: ModelProvider, dispatcher: ToolDispatcher)
src/lra/agents/specialists.py:18
Method__init__
( self, settings: Settings | None = None, *, research_per_item: int = 2,
src/lra/agents/orchestrator.py:41
Method__init__
(self, model: ModelProvider)
src/lra/agents/evolver.py:26
Method__init__
( self, *, role: RoleSpec, model: ModelProvider, dispatcher: ToolDispa
src/lra/agents/subagent.py:33
Method__init__
(self, model: ModelProvider)
src/lra/agents/judge.py:39
Method__init__
(self, model: ModelProvider, dispatcher: ToolDispatcher)
src/lra/agents/reviewer.py:30
Method__init__
(self, model: ModelProvider, dispatcher: ToolDispatcher)
src/lra/agents/reviewer.py:49
Method__init__
( self, *, model: ModelProvider, dispatcher: ToolDispatcher, verifier:
src/lra/agent/loop.py:83
Method__init__
(self, path: str)
src/lra/coordination/decision_log.py:17
Method__init__
(self, *, auto_approve_reversible: bool = True)
src/lra/hitl/gate.py:21
Method__init__
(self, resolver: Callable[[GateRequest], Awaitable[GateDecision | None]])
src/lra/hitl/gate.py:40
Method__init__
(self, sandbox: object, workdir: str = _WORKDIR)
src/lra/execution/sandbox_e2b.py:19
Method__init__
(self, template: str = "base")
src/lra/execution/sandbox_e2b.py:53
Method__init__
(self, container: object, workdir: str = _WORKDIR)
src/lra/execution/sandbox_docker.py:24
Method__init__
(self, image: str = "python:3.12-slim")
src/lra/execution/sandbox_docker.py:84
Method__init__
(self, workdir: str)
src/lra/execution/sandbox_local.py:22
Method__init__
(self)
src/lra/execution/sandbox_local.py:56
Method__init__
( self, tools: Iterable[Tool], *, allow: set[str] | None = None, allow
src/lra/execution/dispatcher.py:21
Method__init__
( self, *, api_key: str, provider: WebProvider = "tavily", client: htt
src/lra/execution/tools/web.py:38
Method__init__
( self, *, client: httpx.AsyncClient | None = None, egress_policy: EgressPolic
src/lra/execution/tools/web.py:95
Method__len__
(self)
src/lra/memory/semantic_memory.py:64
Method__len__
(self)
src/lra/memory/episodic.py:22
Method__len__
(self)
src/lra/durable/saga.py:42
Method_append_event_sync
(self, event: EventRecord)
src/lra/state/mission_anchor.py:97
Method_commit
()
src/lra/execution/sandbox_docker.py:109
Method_commit_sync
(self, checkpoint: Checkpoint)
src/lra/state/mission_anchor.py:102
Function_flaky_cycle
Do the real work (commit), then crash ONCE before returning — a mid-cycle crash.
tests/durability/test_durable_spine.py:74
Method_initialize_sync
(self, title: str, description: str, items: Checklist)
src/lra/state/mission_anchor.py:65
Method_read
()
src/lra/persistence/object_store.py:46
Method_read
()
src/lra/execution/sandbox_docker.py:66
Method_read
()
src/lra/execution/sandbox_local.py:44
Method_read_sync
(self)
src/lra/state/mission_anchor.py:78
Function_register_vector
(conn: Any)
src/lra/memory/semantic_pg.py:96
Function_run
()
src/lra/execution/proc.py:28
Method_run
()
src/lra/execution/sandbox_docker.py:36
Method_search
()
src/lra/execution/tools/fs.py:117
Method_start
()
src/lra/execution/sandbox_docker.py:92
Method_stop
()
src/lra/execution/sandbox_docker.py:76
Function_v1_to_v2
(data: dict[str, object])
tests/unit/test_more_modules.py:91
Method_walk
()
src/lra/execution/tools/fs.py:81
Method_write
()
src/lra/persistence/object_store.py:36
Method_write
()
src/lra/execution/sandbox_docker.py:52
Method_write
()
src/lra/execution/sandbox_local.py:36
Methodadd
(self, records: list[MemoryRecord])
src/lra/memory/semantic_pg.py:35
Methodadd
(self, records: list[MemoryRecord])
src/lra/contracts/memory.py:56
Methodadd_tests
(self, *, feature: str, ctx: ToolContext)
src/lra/agents/reviewer.py:52
Methodall_done
(self)
src/lra/contracts/state.py:53
Methodappend_event
Append to the episodic event log (not necessarily committed immediately).
src/lra/contracts/state.py:117
Functionapply_migrations
Execute every ``*.sql`` migration in ``migrations_dir`` against ``dsn``; return the count.
src/lra/persistence/db.py:14
Methodawait_human_gate
Park on a human decision (visibly WAITING_ON_HUMAN); apply the default on timeout. Durable: survives crashes/restarts for days at zero cost,
src/lra/durable/workflows.py:122
Functionboom
()
tests/durability/test_hardening.py:68
Functionbuild_langfuse
Construct a Langfuse client, or ``None`` if not configured / not installed.
src/lra/obs/langfuse_exporter.py:15
Methodclose
(self)
src/lra/memory/semantic_pg.py:90
Methodclose
(self)
src/lra/execution/sandbox_e2b.py:48
Methodclose
(self)
src/lra/execution/sandbox_docker.py:75
Methodclose
(self)
src/lra/execution/sandbox_local.py:49
Functioncommit_all
Stage everything and commit; return the resulting HEAD sha. If there is nothing to commit, this is a no-op that returns the current HEAD (so call
src/lra/state/git_ops.py:76
Methodcomplete
Run one real model turn and return its real output + usage.
src/lra/contracts/model.py:63
Functionconfig
Show the resolved runtime configuration (secrets redacted).
src/lra/cli/main.py:28
Methodcycles_done
Live count of completed cycles (works mid-run and after completion).
src/lra/durable/workflows.py:102
Functiondecorator
(fn: Migrator)
src/lra/state/migrations.py:21
Functiondefault_python_checks
The standard deterministic gate for a uv-managed Python repo.
src/lra/verify/verifier.py:39
Methodembed
(self, texts: list[str])
src/lra/memory/embeddings.py:60
Methodembed
Return one vector per input text (each of length ``dim``).
src/lra/contracts/memory.py:28
Methodestimate_cost_usd
(self, usage: Usage)
src/lra/model/failover.py:37
Methodestimate_cost_usd
Compute real USD cost from real token counts (``0.0`` for local/free backends).
src/lra/contracts/model.py:73
Methodestimate_cost_usd
(self, usage: Usage)
tests/unit/test_more_modules.py:28
Methodexec
( self, argv: list[str], *, timeout_s: int = 600, cwd: str | None = No
src/lra/execution/sandbox_docker.py:28
Methodexec
( self, argv: list[str], *, timeout_s: int = 600, cwd: str | None = No
src/lra/execution/sandbox_local.py:25
Methodfrom_results
Build a verdict; ``all_green`` requires every *gating* check to pass.
src/lra/contracts/verify.py:45
Methodget
Fetch the bytes for ``key``.
src/lra/persistence/object_store.py:22
Functionget_logger
Return a bound structlog logger.
src/lra/obs/events.py:32
Methodget_status
(self, mission_id: str)
src/lra/persistence/repositories.py:65
Functionhandler
(request: httpx.Request)
tests/unit/test_model_backends.py:28
Methodhuman_decision
Resolve an open HITL gate with a human decision (approve/reject/abort).
src/lra/durable/workflows.py:118
Functionidempotency_key
Derive a deterministic idempotency key from ``parts``. Used to make side-effecting work (git commits, branch pushes, DB writes) safe under at
src/lra/ids.py:22
Functioninit_repo
Initialize a repo at ``cwd`` (idempotent) and set a local identity so commits work.
src/lra/state/git_ops.py:42
Methodinitialize
Create the anchor (progress/checklist/decisions/events) and return the baseline sha.
src/lra/contracts/state.py:109
Methodis_flaky
(self, name: str)
src/lra/verify/flaky_quarantine.py:19
Methodis_open
(self)
src/lra/contracts/state.py:34
Methodlast_item
The id of the most recently advanced checklist item.
src/lra/durable/workflows.py:107
Functionlist_branches
Return local branch names (empty if no commits yet).
src/lra/state/git_ops.py:95
Functionlog_oneline
Return up to ``n`` recent commits as ``<short-sha> <subject>`` lines.
src/lra/state/git_ops.py:103
Methodmean_score
(self)
src/lra/evals/harness.py:40
Methodmeasure
(self, workdir: str, *, command: list[str] | None = None)
src/lra/verify/trust_bootstrap.py:39
Functionmission
Plan a task into a checklist, then run it locally to completion.
src/lra/cli/main.py:71
Functionmission_abort
Cancel a running mission workflow.
src/lra/cli/main.py:208
Functionmission_approve
Resolve an open HITL gate on a mission with a human decision.
src/lra/cli/main.py:187
Functionmission_start
Plan + initialize the anchor, then start a durable MissionWorkflow on Temporal.
src/lra/cli/main.py:129
Functionmission_status
Query a running mission's status + cycle count (works mid-run and after completion).
src/lra/cli/main.py:168
Functionok
()
tests/durability/test_hardening.py:65
Methodok
(self)
src/lra/contracts/sandbox.py:26
Methodopen
(self, *, workdir: str, snapshot_id: str | None = None)
src/lra/execution/sandbox_e2b.py:57
Functionorchestrate
Plan, then run the FULL multi-agent org (research fan-out + Lead + review) locally.
src/lra/cli/main.py:94
Methodpass_rate
(self)
src/lra/evals/harness.py:36
Methodquery
(self, text: str, *, k: int = 5)
src/lra/memory/semantic_pg.py:57
Methodread_file
(self, relpath: str)
src/lra/execution/sandbox_docker.py:65
Methodread_file
(self, relpath: str)
src/lra/execution/sandbox_local.py:43
← previousnext →201–300 of 438, ranked by callers