[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-76160":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":16,"starSnapshotCount":16,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},76160,"ctxd","ctxd-dev\u002Fctxd","ctxd-dev","Your AI agents can't see your files. ctxd connects your cloud data and makes it searchable via API, CLI, or MCP.","https:\u002F\u002Fctxd.dev",null,"Python",102,7,108,3,0,2.71,false,"main",true,[],"2026-06-12 02:03:40","# ctxd\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"img\u002Fctxd.png\" alt=\"ctxd logo\" width=\"160\">\n\u003C\u002Fp>\n\nPython SDK and CLI for the `ctxd` platform.\n\n## Overview\n\nCTXD is cloud context infrastructure for AI agents. It connects to cloud files and data across apps such as Google Drive, Slack, GitHub, and Google Calendar, then parses, indexes, and syncs that content so it can be searched from the same permission-aware index through the Python SDK, CLI, MCP, or REST API.\n\nFor a fuller introduction, see the [CTXD docs overview](https:\u002F\u002Fctxd.dev\u002Fdocs\u002Foverview\u002F).\n\nInstall:\n\n```bash\npip install ctxd\n```\n\nThe SDK exposes sync and async clients:\n\n- `Client`\n- `AsyncClient`\n\nAuthentication:\n\n1. Preferred for headless and scripts: create a user-bound API key through [app.ctxd.dev](app.ctxd.dev)\n2. For CLI automation, set `CTXD_API_KEY`\n3. `ctxd login` prompts for an API key interactively and stores it in plaintext in the ctxd config directory for future CLI and SDK usage\n4. `ctxd status` checks whether an API key is available from the active authentication source\n\nCLI manual:\n\n```bash\nexport CTXD_API_KEY=...       # Use env-based auth for this shell\u002Fsession\nctxd --version                # Print the installed ctxd version\nctxd login                    # Prompt for an API key and store it\nctxd status                   # Check whether an API key is configured\nctxd install-app              # Open the app installation page\nctxd search \"text:deployment\"\nctxd search text:test application:slack\nctxd fetch doc-123\nctxd profile\nctxd logout                   # Remove the stored API key\n```\n\n`CTXD_API_KEY` does not require `ctxd login`. Commands such as `ctxd search`, `ctxd fetch`, and `ctxd profile` use the environment variable directly when it is set.\n\nExample:\n\n```python\nfrom ctxd import Client\n\nclient = Client(api_key=\"\u003Capi-key>\")\n\nresults = client.search(\"text:deployment application:slack\")\nprofile = client.get_profile()\ndocument = client.fetch_document(\"doc-123\")\n```\n\nAPI key example:\n\n```python\nfrom ctxd import Client\n\nclient = Client(api_key=\"\u003Capi-key>\")\nresults = client.search(\"text:deployment application:slack\")\n```\n\nAsync example:\n\n```python\nfrom ctxd import AsyncClient\n\nasync with AsyncClient(api_key=\"\u003Capi-key>\") as client:\n    results = await client.search(\"text:deployment\")\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for the package version bump and release\nprocess.\n","ctxd 是一个云数据连接平台，它使AI代理能够访问和搜索用户在不同云端应用中的文件与数据。项目通过提供Python SDK、命令行工具（CLI）以及API接口，实现了对来自Google Drive、Slack、GitHub等多源数据的解析、索引及同步功能，从而允许用户或AI以统一且权限感知的方式查询这些信息。其主要特点包括支持多种认证方式、易于集成至现有工作流中，并提供了同步与异步客户端选项以满足不同应用场景的需求。非常适合需要跨多个在线服务整合数据资源并进行高效检索的企业和个人开发者使用。",2,"2026-06-11 03:54:41","CREATED_QUERY"]