{"id":22647188,"url":"https://github.com/indexnetwork/semantic-router","last_synced_at":"2025-03-29T06:47:54.148Z","repository":{"id":263533613,"uuid":"890696274","full_name":"indexnetwork/semantic-router","owner":"indexnetwork","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-21T14:34:59.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T20:01:46.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indexnetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-19T02:44:41.000Z","updated_at":"2024-11-21T14:35:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"063da631-9f81-4489-a28d-c2e4925d47ef","html_url":"https://github.com/indexnetwork/semantic-router","commit_stats":null,"previous_names":["indexnetwork/semantic-router"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexnetwork%2Fsemantic-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexnetwork%2Fsemantic-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexnetwork%2Fsemantic-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexnetwork%2Fsemantic-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indexnetwork","download_url":"https://codeload.github.com/indexnetwork/semantic-router/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246150409,"owners_count":20731419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-09T07:32:57.941Z","updated_at":"2025-03-29T06:47:54.130Z","avatar_url":"https://github.com/indexnetwork.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Index Semantic Router\n\nA trustless, privacy-preserving semantic routing agent that processes and evaluates content updates using LLM providers. Built with end-to-end TEE (Trusted Execution Environment) architecture for complete operational blindness - no one, including the operators, can see what's being processed or who is using it.\n\n\u003cimg width=\"1995\" alt=\"router-1\" src=\"https://github.com/user-attachments/assets/5e8cc74a-72c4-4c1c-8cca-f4b03135130e\"\u003e\n\n\n## Features\n\n- Real-time content filtering using Server-Sent Events (SSE)\n- End-to-end TEE architecture:\n  - [Lit Protocol](https://litprotocol.com/) for secure key management and configuration\n  - [OpenGradient](https://opengradient.ai/) for private LLM inference\n  - [Fleek](https://fleek.network/) for secure TEE-based decentralized runtime\n  - IPFS for decentralized prompt storage\n- Multiple data source integrations:\n  - Farcaster\n  - Lu.ma (coming soon)\n  - Paragraph.xyz (coming soon)\n\n## Prerequisites\n\n- Python 3.8+\n- Node.js 16+\n- Google Cloud Project (for Gemini)\n- OpenGradient account\n- Lit Protocol setup\n- IPFS node (optional, for self-hosting prompts)\n\n## Installation\n\n### Using Pre-built Image\n\n1. Pull and run the official Docker image:\n```bash\ndocker pull indexnetwork/semantic-router:0.0.2\ndocker run -p 8000:8000 --env ROUTER_CONFIG=\"\u003cYOUR_CONFIG\u003e\" indexnetwork/semantic-router:0.0.2\n```\n\n\u003e **Note**: Contact hello@index.network for testing purposes to obtain the ROUTER_CONFIG value. Do not share this configuration directly.\n\n### Using Docker (Build from Source)\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/indexnetwork/semantic-router\ncd semantic-router\n```\n\n2. Build and run the Docker container:\n```bash\ndocker build -t semantic-router .\ndocker run -p 8000:8000 semantic-router\n```\n\n3. Connect to the agent's SSE endpoint:\n\n```bash\ncurl -N \"http://localhost:8000/?prompt=If+its+a+significant+update+on+decentralized+AI+and+autonomous+agents.\"\n```\n\n## API\n\n### GET /\n\nStreams semantic evaluation results for the provided prompt.\n\nQuery Parameters:\n- `prompt`: Your prompt, could be anything.\n\nResponse: Server-Sent Events stream with JSON payloads\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexnetwork%2Fsemantic-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findexnetwork%2Fsemantic-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexnetwork%2Fsemantic-router/lists"}