Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FareedKhan-dev/long-running-agent
/ functions
Functions
438 in github.com/FareedKhan-dev/long-running-agent
⨍
Functions
438
◇
Types & classes
148
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
Method
add
(self, records: list[MemoryRecord])
src/lra/memory/semantic_pg.py:35
Method
add
(self, records: list[MemoryRecord])
src/lra/contracts/memory.py:56
Method
add_tests
(self, *, feature: str, ctx: ToolContext)
src/lra/agents/reviewer.py:52
Method
all_done
(self)
src/lra/contracts/state.py:53
Method
append_event
Append to the episodic event log (not necessarily committed immediately).
src/lra/contracts/state.py:117
Function
apply_migrations
Execute every ``*.sql`` migration in ``migrations_dir`` against ``dsn``; return the count.
src/lra/persistence/db.py:14
Method
await_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
Function
boom
()
tests/durability/test_hardening.py:68
Function
build_langfuse
Construct a Langfuse client, or ``None`` if not configured / not installed.
src/lra/obs/langfuse_exporter.py:15
Method
close
(self)
src/lra/memory/semantic_pg.py:90
Method
close
(self)
src/lra/execution/sandbox_e2b.py:48
Method
close
(self)
src/lra/execution/sandbox_docker.py:75
Method
close
(self)
src/lra/execution/sandbox_local.py:49
Function
commit_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
Method
complete
Run one real model turn and return its real output + usage.
src/lra/contracts/model.py:63
Function
config
Show the resolved runtime configuration (secrets redacted).
src/lra/cli/main.py:28
Method
cycles_done
Live count of completed cycles (works mid-run and after completion).
src/lra/durable/workflows.py:102
Function
decorator
(fn: Migrator)
src/lra/state/migrations.py:21
Function
default_python_checks
The standard deterministic gate for a uv-managed Python repo.
src/lra/verify/verifier.py:39
Method
embed
(self, texts: list[str])
src/lra/memory/embeddings.py:60
Method
embed
Return one vector per input text (each of length ``dim``).
src/lra/contracts/memory.py:28
Method
estimate_cost_usd
(self, usage: Usage)
src/lra/model/failover.py:37
Method
estimate_cost_usd
Compute real USD cost from real token counts (``0.0`` for local/free backends).
src/lra/contracts/model.py:73
Method
estimate_cost_usd
(self, usage: Usage)
tests/unit/test_more_modules.py:28
Method
exec
( self, argv: list[str], *, timeout_s: int = 600, cwd: str | None = No
src/lra/execution/sandbox_docker.py:28
Method
exec
( self, argv: list[str], *, timeout_s: int = 600, cwd: str | None = No
src/lra/execution/sandbox_local.py:25
Method
from_results
Build a verdict; ``all_green`` requires every *gating* check to pass.
src/lra/contracts/verify.py:45
Method
get
Fetch the bytes for ``key``.
src/lra/persistence/object_store.py:22
Function
get_logger
Return a bound structlog logger.
src/lra/obs/events.py:32
Method
get_status
(self, mission_id: str)
src/lra/persistence/repositories.py:65
Function
handler
(request: httpx.Request)
tests/unit/test_model_backends.py:28
Method
human_decision
Resolve an open HITL gate with a human decision (approve/reject/abort).
src/lra/durable/workflows.py:118
Function
idempotency_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
Function
init_repo
Initialize a repo at ``cwd`` (idempotent) and set a local identity so commits work.
src/lra/state/git_ops.py:42
Method
initialize
Create the anchor (progress/checklist/decisions/events) and return the baseline sha.
src/lra/contracts/state.py:109
Method
is_flaky
(self, name: str)
src/lra/verify/flaky_quarantine.py:19
Method
is_open
(self)
src/lra/contracts/state.py:34
Method
last_item
The id of the most recently advanced checklist item.
src/lra/durable/workflows.py:107
Function
list_branches
Return local branch names (empty if no commits yet).
src/lra/state/git_ops.py:95
Function
log_oneline
Return up to ``n`` recent commits as ``<short-sha> <subject>`` lines.
src/lra/state/git_ops.py:103
Method
mean_score
(self)
src/lra/evals/harness.py:40
Method
measure
(self, workdir: str, *, command: list[str] | None = None)
src/lra/verify/trust_bootstrap.py:39
Function
mission
Plan a task into a checklist, then run it locally to completion.
src/lra/cli/main.py:71
Function
mission_abort
Cancel a running mission workflow.
src/lra/cli/main.py:208
Function
mission_approve
Resolve an open HITL gate on a mission with a human decision.
src/lra/cli/main.py:187
Function
mission_start
Plan + initialize the anchor, then start a durable MissionWorkflow on Temporal.
src/lra/cli/main.py:129
Function
mission_status
Query a running mission's status + cycle count (works mid-run and after completion).
src/lra/cli/main.py:168
Function
ok
()
tests/durability/test_hardening.py:65
Method
ok
(self)
src/lra/contracts/sandbox.py:26
Method
open
(self, *, workdir: str, snapshot_id: str | None = None)
src/lra/execution/sandbox_e2b.py:57
Function
orchestrate
Plan, then run the FULL multi-agent org (research fan-out + Lead + review) locally.
src/lra/cli/main.py:94
Method
pass_rate
(self)
src/lra/evals/harness.py:36
Method
query
(self, text: str, *, k: int = 5)
src/lra/memory/semantic_pg.py:57
Method
read_file
(self, relpath: str)
src/lra/execution/sandbox_docker.py:65
Method
read_file
(self, relpath: str)
src/lra/execution/sandbox_local.py:43
← previous
next →
201–300 of 438, ranked by callers