Files
wehub-resource-sync bcbd1bdb22
Integ / changes (push) Has been skipped
Pre-commit / pre-commit (push) Failing after 1s
CLI exit codes / changes (push) Has been skipped
Test (Install) / changes (push) Has been skipped
Test (Python) / changes (push) Has been skipped
Test (TypeScript) / changes (push) Has been skipped
CLI exit codes / cli-gate (push) Has been cancelled
Test (Install) / test-install-gate (push) Has been cancelled
Integ / integ-gate (push) Has been cancelled
Test (Python) / test-python-gate (push) Has been cancelled
Test (TypeScript) / test-typescript-gate (push) Has been cancelled
Test (Install) / python-minimal (3.12) (push) Has been cancelled
Test (Install) / python-minimal (3.11) (push) Has been cancelled
Test (Install) / python-extra (agno, mirage.agents.agno) (push) Has been cancelled
Test (Install) / python-extra (chroma, mirage.resource.chroma) (push) Has been cancelled
Test (Install) / python-extra (pdf, mirage.core.filetype.pdf) (push) Has been cancelled
Integ / integ (push) Has been cancelled
Integ / integ-database (push) Has been cancelled
Integ / integ-database-ts (push) Has been cancelled
Integ / integ-data (push) Has been cancelled
Integ / integ-ssh (push) Has been cancelled
Integ / integ-ssh-ts (push) Has been cancelled
Test (Python) / audit (push) Has been cancelled
Test (TypeScript) / test (push) Has been cancelled
Test (TypeScript) / python-fs-shim (push) Has been cancelled
CLI exit codes / Python CLI (push) Has been cancelled
CLI exit codes / TypeScript CLI (push) Has been cancelled
CLI exit codes / Cross-language snapshot interop (push) Has been cancelled
Test (Python) / test (push) Has been cancelled
Test (Python) / import-isolation (deepagents, openai, mirage.agents.openai_agents) (push) Has been cancelled
Test (Python) / import-isolation (deepagents, pydantic-ai, mirage.agents.pydantic_ai) (push) Has been cancelled
Integ / integ-ts (push) Has been cancelled
Integ / integ-fuse (push) Has been cancelled
Test (Install) / python-extra (databricks, mirage.resource.databricks_volume) (push) Has been cancelled
Test (Install) / python-extra (deepagents, mirage.agents.langchain) (push) Has been cancelled
Test (Install) / python-extra (email, mirage.resource.email) (push) Has been cancelled
Test (Install) / python-extra (fuse, mirage.fuse.mount) (push) Has been cancelled
Test (Install) / python-extra (hdf5, mirage.core.filetype.hdf5) (push) Has been cancelled
Test (Install) / python-extra (hf, mirage.resource.hf_buckets) (push) Has been cancelled
Test (Install) / python-extra (lancedb, mirage.resource.lancedb) (push) Has been cancelled
Test (Install) / python-extra (langfuse, mirage.resource.langfuse) (push) Has been cancelled
Test (Install) / python-extra (mongodb, mirage.resource.mongodb) (push) Has been cancelled
Test (Install) / python-extra (nextcloud, mirage.resource.nextcloud) (push) Has been cancelled
Test (Install) / python-extra (openai, mirage.agents.openai_agents) (push) Has been cancelled
Test (Install) / python-extra (openhands, mirage.agents.openhands, 3.12) (push) Has been cancelled
Test (Install) / python-extra (parquet, mirage.core.filetype.parquet) (push) Has been cancelled
Test (Install) / python-extra (postgres, mirage.resource.postgres) (push) Has been cancelled
Test (Install) / python-extra (pydantic-ai, mirage.agents.pydantic_ai) (push) Has been cancelled
Test (Install) / python-extra (qdrant, mirage.resource.qdrant) (push) Has been cancelled
Test (Install) / python-extra (redis, mirage.resource.redis) (push) Has been cancelled
Test (Install) / python-extra (s3, mirage.resource.s3) (push) Has been cancelled
Test (Install) / python-extra (ssh, mirage.resource.ssh) (push) Has been cancelled
Test (Install) / ts-minimal (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:30:44 +08:00

231 lines
5.5 KiB
TOML

[project]
name = "mirage-ai"
version = "0.0.3"
description = "A unified virtual filesystem for AI agents. Mount S3, Google Drive, Slack, Gmail, GitHub, Linear, Notion, Postgres, MongoDB, SSH, and more behind one filesystem so agents read, write, and pipe across services with familiar shell commands."
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.11"
authors = [
{ name = "Zecheng Zhang", email = "zecheng@strukto.ai" },
]
keywords = [
"ai-agents",
"filesystem",
"vfs",
"fuse",
"s3",
"google-drive",
"slack",
"agent-tools",
"shell",
"rag",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Filesystems",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"aiofiles>=24.1.0",
"aiohttp>=3.14.0",
"fastapi>=0.135.1",
"httpx>=0.28.1",
"python-multipart>=0.0.27",
"orjson>=3.11",
"pyyaml>=6.0.3",
"tree-sitter>=0.25.2",
"tree-sitter-bash>=0.25.1",
"typer>=0.12.0",
"uvicorn[standard]>=0.41.0",
"jq>=1.11.0",
"pyjwt[crypto]>=2.13.0",
"dulwich>=1.2.5",
]
[project.urls]
Homepage = "https://www.strukto.ai/"
Repository = "https://github.com/strukto-ai/mirage"
Documentation = "https://docs.mirage.strukto.ai"
Issues = "https://github.com/strukto-ai/mirage/issues"
[project.scripts]
mirage = "mirage.cli.main:main"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["mirage*"]
[project.optional-dependencies]
# --- storage / object stores ---
s3 = ["aioboto3>=13.0"]
r2 = ["aioboto3>=13.0"]
gcs = ["aioboto3>=13.0"]
oci = ["aioboto3>=13.0"]
databricks = ["databricks-sdk>=0.72.0"]
# --- network / remote ---
ssh = ["asyncssh>=2.23.0"]
nextcloud = ["opendal>=0.47.1"]
# --- huggingface ---
hf = ["opendal>=0.47.1"]
# --- mount ---
fuse = ["mfusepy>=1.0.0"]
# --- mongodb ---
mongodb = ["pymongo>=4.9"]
# --- postgres ---
postgres = ["asyncpg>=0.30.0"]
# --- redis ---
redis = ["redis[hiredis]>=5.0"]
# --- mail ---
email = ["aioimaplib>=2.0.1", "aiosmtplib>=5.1.0"]
# --- data ---
parquet = ["pandas>=3.0.1", "pyarrow>=15.0"]
hdf5 = ["h5py>=3.16.0", "tables>=3.11.1", "pandas>=3.0.1"]
pdf = ["pypdfium2>=5.7.0", "pillow>=12.2.0"]
# --- observability ---
langfuse = ["langfuse>=4.2.0"]
# --- chroma ---
# thin HTTP-only client; the accessor uses AsyncHttpClient exclusively
chroma = ["chromadb-client>=1.0.0"]
# --- qdrant ---
qdrant = ["qdrant-client[fastembed]>=1.18.0"]
# --- anthropic ---
anthropic = ["anthropic>=0.88"]
# --- openai ---
openai = ["openai>=2.30.0", "openai-agents>=0.14.7"]
# --- pydantic-ai ---
pydantic-ai = [
"pydantic-ai-slim>=1.56",
"pydantic-ai-backend>=0.1.0",
"mirage-ai[pdf]",
]
# --- deepagents ---
deepagents = ["deepagents>=0.4.12", "mirage-ai[pdf]"]
# --- openhands ---
openhands = [
"openhands-sdk>=1.18.0; python_version >= '3.12'",
"openhands-tools>=1.18.0; python_version >= '3.12'",
]
# --- agno ---
agno = ["agno>=2.4.0"]
# --- claude-agent-sdk ---
claude-agent-sdk = ["claude-agent-sdk>=0.1.0"]
# --- camel ---
camel = ["camel-ai>=0.2.40,<0.3", "markitdown>=0.1.5"]
# --- sandboxes ---
daytona = ["daytona>=0.176.0"]
# --- meta: install everything ---
all = [
"mirage-ai[s3]",
"mirage-ai[r2]",
"mirage-ai[gcs]",
"mirage-ai[oci]",
"mirage-ai[databricks]",
"mirage-ai[ssh]",
"mirage-ai[nextcloud]",
"mirage-ai[hf]",
"mirage-ai[fuse]",
"mirage-ai[mongodb]",
"mirage-ai[postgres]",
"mirage-ai[redis]",
"mirage-ai[email]",
"mirage-ai[parquet]",
"mirage-ai[hdf5]",
"mirage-ai[pdf]",
"mirage-ai[langfuse]",
"mirage-ai[chroma]",
"mirage-ai[qdrant]",
"mirage-ai[anthropic]",
"mirage-ai[openai]",
"mirage-ai[pydantic-ai]",
"mirage-ai[deepagents]",
"mirage-ai[openhands]",
"mirage-ai[agno]",
"mirage-ai[claude-agent-sdk]",
"mirage-ai[daytona]",
]
lancedb = [
"lancedb>=0.33.0",
]
[tool.uv]
conflicts = [
[
{ extra = "camel" },
{ extra = "openai" },
],
[
{ extra = "camel" },
{ extra = "openhands" },
],
[
{ extra = "camel" },
{ extra = "pydantic-ai" },
],
[
{ extra = "camel" },
{ extra = "all" },
],
]
[dependency-groups]
dev = [
"aioresponses>=0.7.6",
"python-dotenv>=1.2.2",
"grpcio>=1.78.0",
"grpcio-tools>=1.78.0",
"moto[s3,server]>=5.1.22",
"pre-commit",
"pytest",
"pytest-asyncio>=0.24.0",
"pytest-cov>=7.0.0",
"pytest-httpx>=0.36.0",
]
[tool.flake8]
exclude = ["mirage/commands/remote/grpc/proto/command_pb2.py", "mirage/commands/remote/grpc/proto/command_pb2_grpc.py"]
per-file-ignores = [
"python/mirage/resource/*/prompt.py:E501",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=mirage --cov-report=term-missing -q --import-mode=importlib"
markers = [
"network: tests that require network access",
"no_host_override: skip the tests/server/conftest autouse MIRAGE_ALLOWED_HOSTS=* override",
"no_auth_override: skip the tests/server/conftest autouse MIRAGE_AUTH_MODE=local-with-no-token override",
]