Skip to main content
Ctrl+K
quantlab-factor-agent 0.2.0 - Home quantlab-factor-agent 0.2.0 - Home
  • Getting started
  • User guide
  • API reference
  • GitHub
  • Getting started
  • User guide
  • API reference
  • GitHub

Section Navigation

  • Campaign
    • factor_agent.campaign.Campaign
    • factor_agent.campaign.CampaignResult
    • factor_agent.campaign.Stop
    • factor_agent.preflight.CheckReport
    • factor_agent.preflight.Check
    • factor_agent.cli.main
    • factor_agent.config.CampaignConfig
    • factor_agent.config.DataConfig
    • factor_agent.config.ScoringConfig
    • factor_agent.config.NeutralizeConfig
    • factor_agent.config.EvaluatorConfig
    • factor_agent.config.GateConfig
    • factor_agent.config.AdmissionConfig
    • factor_agent.config.RoundConfig
    • factor_agent.config.ContextConfig
    • factor_agent.config.AcceptanceConfig
    • factor_agent.config.RoleConfig
    • factor_agent.config.Mechanism
    • factor_agent.ledger.Ledger
    • factor_agent.ledger.TrialRecord
    • factor_agent.events.Events
    • factor_agent.events.read
    • factor_agent.snapshot.RunSnapshot
    • factor_agent.snapshot.SnapshotMismatch
    • factor_agent.snapshot.CodeVersionChanged
    • factor_agent.segments.Segments
    • factor_agent.segments.Segment
    • factor_agent.prompts.Templates
    • factor_agent.prompts.PromptError
  • Gate and vocabulary
    • factor_agent.gate.Gate
    • factor_agent.gate.Passed
    • factor_agent.gate.Rejected
    • factor_agent.gate.graph.Graph
    • factor_agent.gate.vocabulary.Vocabulary
    • factor_agent.gate.vocabulary.VocabularyError
    • factor_agent.zoo.Zoo
    • factor_agent.candidate.Candidate
    • factor_agent.gate.stages.split
    • factor_agent.gate.stages.Staged
    • factor_agent.gate.stages.session_column
    • factor_agent.aggregations.SessionAggregation
    • factor_agent.aggregations.SessionMean
    • factor_agent.aggregations.SessionSum
    • factor_agent.aggregations.SessionCount
    • factor_agent.aggregations.SessionStd
    • factor_agent.aggregations.SessionSkew
    • factor_agent.aggregations.SessionMin
    • factor_agent.aggregations.SessionMax
    • factor_agent.aggregations.SessionFirst
    • factor_agent.aggregations.SessionLast
    • factor_agent.aggregations.SessionWeightedMean
    • factor_agent.aggregations.SessionCorr
    • factor_agent.aggregations.WithinSession
  • Evaluation
    • factor_agent.evaluator.Evaluator
    • factor_agent.evaluator.Metrics
    • factor_agent.evaluator.CompileFailure
    • factor_agent.scoring.Scoring
    • factor_agent.scoring.Neutralization
    • factor_agent.session.SessionColumns
    • factor_agent.session.SessionFactor
    • factor_agent.session.session_function
    • factor_agent.derived.Provider
    • factor_agent.derived.DerivedColumnsFactor
  • Acceptance and export
    • factor_agent.acceptance.Acceptance
    • factor_agent.acceptance.AcceptanceReport
    • factor_agent.acceptance.ModelResult
    • factor_agent.acceptance.Contribution
    • factor_agent.segments.HoldoutLocked
    • factor_agent.exported.GraphFactor
  • LLM backends
    • factor_agent.llm.base.LLMBackend
    • factor_agent.llm.base.Request
    • factor_agent.llm.base.Reply
    • factor_agent.llm.base.ProviderQuotaExhausted
    • factor_agent.llm.base.ProviderReplyMalformed
    • factor_agent.llm.base.AskingAgain
    • factor_agent.llm.base.make_backend
    • factor_agent.llm.openai_compatible.OpenAICompatibleBackend
    • factor_agent.llm.anthropic.AnthropicBackend
    • factor_agent.llm.claude_code.ClaudeCodeBackend
    • factor_agent.llm.replay.ReplayBackend
    • factor_agent.llm.replay.ReplayExhausted
    • factor_agent.llm.log.LLMLog
  • Web frontend
    • factor_agent.web.run_view.list_runs
    • factor_agent.web.run_view.find_run
    • factor_agent.web.run_view.run_version
    • factor_agent.web.run_view.read_call
    • factor_agent.web.run_view.read_files
    • factor_agent.web.run_view.read_ic
    • factor_agent.web.run_view.RunView
    • factor_agent.web.run_view.RunSummary
    • factor_agent.web.run_view.Health
    • factor_agent.web.run_view.Tokens
    • factor_agent.web.run_view.RoundTokens
    • factor_agent.web.run_view.RunningRound
    • factor_agent.web.run_view.RoundCall
    • factor_agent.web.run_view.PendingTrial
    • factor_agent.web.run_view.Check
    • factor_agent.web.run_view.LLMCall
    • factor_agent.web.run_view.Trial
    • factor_agent.web.run_view.Collision
    • factor_agent.web.run_view.Factor
    • factor_agent.web.run_view.Neighbour
    • factor_agent.web.run_view.AcceptanceReports
    • factor_agent.web.run_view.Comparison
    • factor_agent.web.run_view.Contribution
    • factor_agent.web.run_view.HoldoutOpen
    • factor_agent.web.run_view.Placed
    • factor_agent.web.run_view.Refusal
    • factor_agent.web.run_view.TrialRef
    • factor_agent.web.run_view.Finding
    • factor_agent.web.run_view.Stop
    • factor_agent.web.run_view.MemoryVersion
    • factor_agent.web.run_view.LineChange
    • factor_agent.web.run_view.RunFiles
    • factor_agent.web.run_view.ConfigCopy
    • factor_agent.web.run_view.SnapshotFile
    • factor_agent.web.run_view.TrialIC
    • factor_agent.web.run_view.AdmissionLimits
    • factor_agent.web.app.create_app
    • factor_agent.web.app.main
  • Module index
    • factor_agent
  • API reference
  • LLM backends
  • factor_agent.llm.base.LLMBackend

factor_agent.llm.base.LLMBackend#

class LLMBackend(*args, **kwargs)[source]#

Bases: Protocol

Anything that completes a request.

Methods#

LLMBackend.complete

previous

LLM backends

next

factor_agent.llm.base.LLMBackend.complete

On this page
  • LLMBackend
  • Methods

© Copyright 2026, Zhaorong Dai.

Created using Sphinx 9.2.0.

Built with the PyData Sphinx Theme 0.23.0.