Multi-provider AI Agent & IPython/Jupyter Magic (OpenAI, Anthropic, Gemini, OpenRouter, Ollama, DeepSeek, Groq) that writes and executes Python code directly in your local Jupyter Notebook.
pip install jupyter-omni-agent==0.1.0 Copy PIP instructions
로컬 Jupyter Notebook에 다양한 AI 서비스 API 키(OpenAI, Anthropic Claude, Google Gemini, OpenRouter, DeepSeek, Groq, Upstage Solar) 및 로컬 Ollama를 연결하여, 자연어 명령만으로 내 로컬 커널에서 파이썬 코드를 자동 작성·실행·자가수정(Self-Healing)해주는 올인원 AI 에이전트 라이브러리입니다.
pip install jupyter-omni-agent 또는 로컬 소스에서 설치:
pip install -e . 💻 Jupyter Notebook 사용법 (%%ai 매직 명령어) 1. 익스텐션 로드 및 API 키 등록 %load_ext jupyter_omni_agent # 원하는 서비스의 API 키 등록 (환경변수로 설정해도 자동 인식됩니다) %ai_key openrouter sk-or-v1-xxxxxxxxxxxxxxxxxxxx %ai_key openai sk-proj-xxxxxxxxxxxxxxxxxxxx %ai_key gemini AIzaSyXXXXXXXXXXXXXXXXXXXX 2. 사용할 프로바이더 & 모델 선택 # OpenRouter 사용 시 %ai_config openrouter anthropic/claude-3.7-sonnet # 로컬 Ollama 사용 시 (API 키 불필요) %ai_config ollama qwen2.5-coder:7b 3. 셀에서 자연어로 로컬 파이썬 코드 생성 & 즉시 실행 (%%ai) %%ai 현재 메모리에 있는 df 데이터프레임의 결측치를 평균값으로 채우고, 카테고리별 매출 합계를 구해서 파생변수 summary_df로 저장하고 출력해줘. 🐍 일반 Python 스크립트에서 사용하기 import pandas as pd from jupyter_omni_agent import OmniNotebookAgent df = pd.DataFrame({"product": ["A", "B", "C"], "sales": [120, 340, 260]}) agent = OmniNotebookAgent( provider="openrouter", model="anthropic/claude-3.7-sonnet", api_key="sk-or-v1-...", user_ns=locals(), ) res = agent.run("df에서 sales가 200 이상인 행만 필터링해서 high_sales 변수에 저장하고 출력해줘") print(res.stdout) Project links Homepage Issues Key dates PyPI data Data sourced directly from PyPI's database. Released: Nov 7, 2026 Newer release available (0.3.1) 1 maintainer PyPI data Data sourced directly from PyPI's database. cdsassj00 Credits Author: Antigravity Lab
ai-agent anthropic code-interpreter gemini ipython jupyter ollama openai openrouter
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




