loopgain
An open-source cost controller for AI agent loops — stops a loop when it's actually converged and rolls back before it degrades, instead of running to a fixed max_iterations cap. Real-time loop-gain (Aβ) bands + best-so-far rollback. Adapters for LangGraph, CrewAI, AutoGen, LangChain, OpenAI Agents, and Claude Agent SDK; raw API for custom stacks.
파일 탐색기
최종 버전 다운로드 (.zip)- ci.yml
- dependabot.yml
- 01_code_pytest.py
- 02_json_extract.py
- 03_essay_critique.py
- 04_sql_synth.py
- 05_unsolvable_stalls.py
- 06_diverges.py
- 07_agentic_multistep.py
- _common.py
- README.md
- __init__.py
- autogen.py
- claude_agent_sdk.py
- crewai.py
- langchain.py
- langgraph.py
- openai_agents.py
- __init__.py
- __main__.py
- _version.py
- classifier.py
- cli.py
- core.py
- funnel.py
- telemetry.py
- __init__.py
- test_autogen_smoke.py
- test_claude_agent_sdk_smoke.py
- test_crewai_smoke.py
- test_langchain_smoke.py
- test_langgraph_smoke.py
- test_openai_agents_smoke.py
- __init__.py
- test_classifier_mock_validation.py
- test_classifier_synthetic.py
- test_core.py
- test_funnel.py
- test_integrations.py
- test_stress.py
- test_telemetry.py
- test_termination_safety.py
- .gitignore
- CHANGELOG.md
- LICENSE
- Makefile
- PROTOCOL_v2_classifier.md
- pyproject.toml
- README.md
- RESULTS_v2_classifier.md
- TELEMETRY.md
# 설치 가이드
git clone https://github.com/loopgain-ai/loopgain
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd loopgain
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천- Python 3 pip 명령어를 쓰려면 Python이 필요합니다.
pip install loopgain
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install keyring
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install 'loopgain[langgraph]' # LangGraph
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install 'loopgain[crewai]' # CrewAI
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Python
쉬움pip install loopgain
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install keyring
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
python -m loopgain telemetry --show # equivalent, without the console script
파이썬 스크립트(또는 모듈)를 실행합니다.
pip install 'loopgain[langgraph]' # LangGraph
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
pip install 'loopgain[crewai]' # CrewAI
PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Make
보통- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
