Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
import { useLocalRuntimeSelection } from "./use-local-runtime-selection";
export function useAgentPlacementFlow({ tenantId }: { tenantId: string }) {
const selection = useLocalRuntimeSelection({
tenantId,
watchForComputer: true,
});
const localPlacement =
!selection.error &&
selection.computer &&
selection.runtime &&
selection.workspaceGrant
? {
computerId: selection.computer.computer_id,
runtimeType: selection.runtime,
type: "local" as const,
workspaceGrantId: selection.workspaceGrant.grant_id,
}
: undefined;
return { localPlacement, selection };
}