{"id":45661710,"url":"https://github.com/darth-hidious/prism","last_synced_at":"2026-05-10T04:30:36.322Z","repository":{"id":305678408,"uuid":"1023095469","full_name":"Darth-Hidious/PRISM","owner":"Darth-Hidious","description":"AI-Native Autonomous Materials Discovery Platform","archived":false,"fork":false,"pushed_at":"2026-04-03T13:25:55.000Z","size":14485,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T16:36:51.476Z","etag":null,"topics":["autonomous-agents","calphad","llm","machine-learning","materials-discovery","materials-science","mcp","optimade","scientific-computing"],"latest_commit_sha":null,"homepage":"https://prism.marc27.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Darth-Hidious.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-20T14:14:56.000Z","updated_at":"2026-04-03T12:13:43.000Z","dependencies_parsed_at":"2025-07-21T13:27:57.738Z","dependency_job_id":"1b2b25bd-8332-4a7b-93f3-fba1e322cadd","html_url":"https://github.com/Darth-Hidious/PRISM","commit_stats":null,"previous_names":["darth-hidious/prism"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Darth-Hidious/PRISM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darth-Hidious%2FPRISM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darth-Hidious%2FPRISM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darth-Hidious%2FPRISM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darth-Hidious%2FPRISM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Darth-Hidious","download_url":"https://codeload.github.com/Darth-Hidious/PRISM/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darth-Hidious%2FPRISM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31540826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autonomous-agents","calphad","llm","machine-learning","materials-discovery","materials-science","mcp","optimade","scientific-computing"],"created_at":"2026-02-24T09:15:37.367Z","updated_at":"2026-05-10T04:30:36.303Z","avatar_url":"https://github.com/Darth-Hidious.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/prism-banner.png\" alt=\"PRISM Banner\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ePRISM\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003eAI-Native Autonomous Materials Discovery Platform\u003c/strong\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cem\u003eby MARC27\u003c/em\u003e\u003c/p\u003e\n\n---\n\nPRISM is a single binary that gives you an AI agent for materials science. It searches knowledge graphs, runs compute jobs, orchestrates workflows, and connects to a federated mesh of research nodes.\n\n```bash\nprism                    # Launch interactive chat\nprism query --platform \"nickel superalloys\"\nprism research \"high-entropy alloys\" --depth 1\nprism billing            # Check credit balance\n```\n\n## Install\n\n```bash\ncurl -fsSL https://prism.marc27.com/install.sh | bash\n```\n\nOr download from [GitHub Releases](../../releases):\n\n| Platform | Archive |\n|----------|---------|\n| Linux x86_64 | `prism-linux-x86_64.tar.gz` |\n| macOS Apple Silicon | `prism-macos-aarch64.tar.gz` |\n| Windows x86_64 | `prism-windows-x86_64.zip` |\n\nOr from source:\n\n```bash\ngit clone https://github.com/Darth-Hidious/PRISM.git\ncd PRISM \u0026\u0026 cargo build --release\ncp target/release/prism ~/.local/bin/\n```\n\n## Interactive chat\n\nRun `prism` to launch a slash-command-driven AI agent with:\n- Slash-command palette — type `/` for commands like `/new`, `/info`, `/usage`, `/help`, `/model`, `/agent`, `/update`, `/exit`\n- Model picker via `/model` (hundreds of hosted models routed through MARC27)\n- Inline tool cards showing materials-science tool execution results (CALPHAD, pyiron, OPTIMADE, ML predictions, federated knowledge graph)\n- Streaming AI responses with markdown rendering\n- Boot diagnostics (Platform, Auth, Knowledge Graph, LLM Models, Compute, Marketplace, Local Node, Policy Engine) on every launch — run `prism doctor` for the full report\n\n## CLI Commands\n\n### Setup \u0026 Auth\n```\nprism setup              # First-time setup + login\nprism login              # Authenticate with MARC27\nprism configure --show   # Show LLM config\nprism status             # Auth state, paths, endpoints\n```\n\n### AI Agent\n```\nprism                    # Interactive chat agent\nprism query --platform \"titanium alloys\"\nprism query --semantic \"creep resistance\"\nprism query --cypher \"MATCH (a:Alloy) RETURN a\"\nprism research \"novel refractory alloys\" --depth 1\n```\n\n### Knowledge Graph\n```\nprism ingest ./data.csv              # Ingest data\nprism ingest --schema-only ./data.csv\nprism ingest --watch ./data/\n```\n\n### Compute\n```\nprism run python:3.11 --input data=x.csv\nprism run --backend marc27 --gpu A100\nprism run --ssh user@host             # BYOC via SSH\nprism run --k8s-context prod          # BYOC via Kubernetes\nprism run --slurm head@cluster        # BYOC via SLURM\nprism deploy create --name my-service --image img:latest\nprism deploy list\nprism job-status \u003cuuid\u003e\n```\n\n### Mesh \u0026 Nodes\n```\nprism node up            # Start local node (Neo4j + Qdrant)\nprism node status\nprism mesh discover      # Find LAN peers via mDNS\nprism mesh publish       # Share dataset to mesh\n```\n\n### Models\n```\nprism models list        # 535 hosted LLMs\nprism models search \"claude\"\n```\n\n### Workflows\n```\nprism workflow list\nprism workflow run explore --space \"Ni-Cr-Co\" --target \"yield_strength \u003e 900\"\nprism forge --paper arxiv:2106.09685 --dataset materials-project --target runpod:A100\n```\n\n### Billing\n```\nprism billing            # Credit balance\nprism billing usage      # Usage breakdown\nprism billing topup      # Buy credits (Stripe)\nprism billing prices     # Pricing table\n```\n\n### Other\n```\nprism tools              # List 108 available tools\nprism marketplace search # Browse datasets, models, plugins\nprism discourse list     # Multi-agent debate workflows\nprism report \"bug\"       # File support ticket\n```\n\n## Architecture\n\n```\nprism (single Rust binary)\n  prism-cli      Command routing, auth, TUI\n  prism-llm      LLM client (OpenAI + MARC27 proxy)\n  prism-agent    TAOR agent loop, tool calling, OPA policy\n  prism-node     Daemon, probe, E2EE key exchange\n  prism-ingest   Schema detection, ontology extraction\n  prism-server   Axum REST API + dashboard\n  prism-mesh     mDNS + Kafka pub/sub + federation\n  prism-compute  Docker / MARC27 / SSH / K8s / SLURM\n  prism-policy   OPA/Rego policy engine\n  prism-workflows YAML workflow engine (8 step types)\n\nPython tools (108 tools via JSON stdio)\n  Search: OPTIMADE (20+ providers), arXiv, Semantic Scholar\n  Predict: property prediction, structure prediction\n  Simulate: CALPHAD, DFT planning\n  Execute: Python, Bash (sandboxed)\n  Platform: knowledge graph, compute, marketplace\n  Custom: drop .py in ~/.prism/tools/\n```\n\n## Configuration\n\nAll config in `~/.prism/prism.toml`:\n\n```toml\n[llm]\nprovider = \"marc27\"\nurl = \"https://api.marc27.com/api/v1/projects/{id}/llm\"\nmodel = \"gemini-3.1-flash-lite-preview\"\n\n[node]\nname = \"lab-alpha\"\nport = 7327\n\n[mesh]\ndiscovery = [\"mdns\", \"platform\"]\n```\n\n## Security\n\n- **OPA/Rego policy engine** — every tool call checked\n- **E2EE** — X25519 + ChaCha20-Poly1305 for node-to-node data\n- **RBAC** — 4-tier roles (admin, operator, agent, viewer)\n- **Audit logging** — every action logged\n\n## Contributing\n\n- **TUI** — built with Ratatui, protocol documented in `docs/FRONTEND_PROTOCOL.md`\n- **Tools** — new Python tools in `app/tools/`, custom tools in `~/.prism/tools/`\n- **Workflows** — YAML in `~/.prism/workflows/`, auto-discovered as CLI commands\n\n## License\n\n| Component | License |\n|-----------|---------|\n| Python tools, tool server, config, plugins | [MIT](LICENSE-MIT) |\n| Rust crates, TUI, agent, workflows | [MARC27 Source-Available](LICENSE-MARC27) |\n\nCommercial licensing: team@marc27.com\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/marc27-logo.svg\" alt=\"MARC27\" height=\"40\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarth-hidious%2Fprism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarth-hidious%2Fprism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarth-hidious%2Fprism/lists"}