agentleFS
kinkos1234kinkos1234/comad-world/eye/CLAUDE.md

comad-world / eye

CLAUDE.md16 starsChanged 8 months agoMITView on GitHub

Ontology-Native Prediction Simulation Engine. 텍스트를 지식 그래프로 변환하고 시뮬레이션 + 분석 + 리포트를 생성한다.

  • Reads credentials

The file

Files
CLAUDE.md

ComadEye

Ontology-Native Prediction Simulation Engine. 텍스트를 지식 그래프로 변환하고 시뮬레이션 + 분석 + 리포트를 생성한다.

Stack

  • Python 3.13, FastAPI, Next.js 16 (React 19)
  • Neo4j 5 (bolt://localhost:7687), Ollama (http://localhost:11434)
  • Embeddings: BGE-M3 (sentence-transformers, device=mps)

Commands

make dev                    # API + Frontend 동시 실행
make api                    # uvicorn api.server:app --reload --port 8000
make frontend               # cd frontend && npm run dev (port 3000)
docker compose up           # Full stack (Neo4j + Ollama + API + Frontend)
pytest tests/ -v --cov=utils --cov=graph --cov-report=term-missing --cov-fail-under=50
flake8 .                    # Lint
mypy utils/config.py graph/neo4j_client.py  # Type check
cd frontend && npm run lint # Frontend lint

Key Directories

  • api/ — FastAPI routes (pipeline, analysis, QA, report, graph)
  • graph/ — Neo4j client, community detection, summarizer
  • ingestion/ — Text chunking, deduplication, validation
  • analysis/ — 6 analysis spaces (hierarchy, temporal, recursive, structural, causal, cross-space)
  • narration/ — Report generation, Q&A session
  • pipeline/ — Full simulation orchestrator
  • simulation/ — Event propagation engine
  • frontend/ — Next.js web UI
  • config/ — YAML config files
  • tests/ — pytest suite (17 files, 50% coverage target)

Environment (.env)

NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=changeme
LLM_BASE_URL=http://localhost:11434/v1
LLM_MODEL=auto
EMBEDDINGS_MODEL=BAAI/bge-m3
EMBEDDINGS_DEVICE=mps

CLI (main.py)

  • python main.py run — Full pipeline
  • python main.py qa — Interactive Q&A
  • python main.py analyze — 6-space analysis
  • python main.py report — Report generation

CI

GitHub Actions: Python lint/type/test + Frontend build. Triggers on push to main, autoresearch/** branches.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.