Metadata-Version: 2.4
Name: managed-research
Version: 0.1.0
Summary: Pure-Python SMR API client and MCP server.
Author: Synth Laboratories
License: MIT
Requires-Python: >=3.11
Requires-Dist: httpx>=0.28.1
Requires-Dist: pynacl>=1.5.0
Provides-Extra: dev
Requires-Dist: pytest>=8.3.3; extra == 'dev'
Requires-Dist: ruff>=0.11.0; extra == 'dev'
Description-Content-Type: text/markdown

# managed-research

Pure-Python public SMR surfaces for Managed Research.

Current scope:

- SMR API client
- SMR MCP stdio server
- generated-schema sync path for public SMR contracts

Out of scope for this slice:

- runtime internals
- sandbox/session control
- private backend models

## Install

```bash
pip install -U managed-research
```

For local development:

```bash
uv sync --extra dev
```

## Run the MCP server

```bash
uv run managed-research-mcp
```

The package reads `SYNTH_API_KEY` and `SYNTH_BACKEND_URL` from the environment.

Python API surface:

```python
from managed_research import ManagedResearchClient

client = ManagedResearchClient(api_key="sk_...")
projects = client.list_projects()
```

## Sync exported public schemas

```bash
uv run python scripts/sync_public_schemas.py --source /path/to/exported/schemas
```

If you prefer environment configuration, set `MANAGED_RESEARCH_SCHEMA_SOURCE`
instead of passing `--source`.

There is also a console entrypoint:

```bash
uv run managed-research-sync-schemas --source /path/to/exported/schemas
```
