Skip to main content

AI context synchronization and propagation between dev environments

Project description

Conciliate - Unified context for smarter AI decisions

MIT License PyPI version

Unified context for smarter AI decisions.

Conciliate automatically extracts API specifications from your backend, detects changes, and streams context to AI coding assistants in real-time. Keep your AI in sync across separate IDE sessions—no more manual copy-pasting.

Features

  • Auto-extraction: Monitors backend files, generates OpenAPI specs automatically
  • Live updates: Real-time synchronization via MCP protocol
  • Three access modes: MCP server, REST API, CLI, VS Code extension
  • Framework support: FastAPI, Flask, Express (auto-detected)
  • AI-native: Built for Claude Desktop, Cursor, VS Code Copilot
  • Local-first: No cloud dependencies, runs entirely on your machine
  • VS Code extension (status bar, API explorer, changes view, auto-refresh)
  • Mock server mode (fake API generation)
  • Multi-Workspace Support

Quick Start

Python Package

pip install conciliate

Setup

cd /path/to/your/project
conciliate init
# Edit .conciliate.yaml to set backend_path

Run

conciliate mcp      # For AI assistants (recommended)
conciliate watch    # REST API + file watching
conciliate serve    # REST API only

CLI Commands

Command Description
conciliate init Create config file
conciliate watch Watch backend + serve REST API
conciliate mcp Run MCP server for AI assistants
conciliate summary Display API summary
conciliate diff Show recent changes
conciliate status Show configuration

Configuration

Create .conciliate.yaml in your project root:

backend_path: ../backend    # Path to your backend
framework: auto             # Backend framework (auto, fastapi, flask, express)
port: 5678                  # Server port
output_dir: .conciliate     # Output directory

Copy from .conciliate.yaml.template for all available options.

� MCP Integration (AI Assistants)

Claude Desktop

Edit claude_desktop_config.json:

{
  "mcpServers": {
    "conciliate": {
      "command": "conciliate",
      "args": ["mcp"],
      "cwd": "C:\\path\\to\\your\\project"
    }
  }
}

VS Code

Create .vscode/mcp.json:

{
  "servers": {
    "conciliate": {
      "command": "conciliate",
      "args": ["mcp"],
      "cwd": "${workspaceFolder}"
    }
  }
}

Then: Restart your AI assistant → Ask: "What API endpoints are available?"

Features

  • 📚 Resources: Full spec, summaries, diffs
  • 🛠️ Tools: Reload, search, get endpoint details
  • Live Updates: Auto-detects backend changes, no manual reload
  • 🎯 Cross-session: Keep frontend/backend AI assistants synchronized

Full guide: docs/MCP_INTEGRATION.md

📡 REST API

When running conciliate watch or conciliate serve:

Endpoint Description
GET /spec Full OpenAPI specification
GET /summary Human-readable summary
GET /diff Latest changes
POST /reload Trigger spec regeneration

🧪 Example

# Start example backend
cd example/backend && python main.py

# In another terminal
cd ../.. && conciliate init
# Edit .conciliate.yaml: backend_path: ./example/backend

conciliate watch
# Visit http://localhost:5678/summary

Troubleshooting

Issue Solution
"Failed to generate spec" Check backend_path in config, verify app file exists
"No .conciliate.yaml found" Run conciliate init in your project directory
MCP not connecting Restart AI assistant, verify cwd path in config
Framework not detected Set framework explicitly in .conciliate.yaml
Extension not starting Install Python package: pip install conciliate
Changes view empty Wait 3 seconds for auto-refresh, or modify an endpoint

See full troubleshooting guide in docs/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conciliate-0.6.0.tar.gz (31.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conciliate-0.6.0-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file conciliate-0.6.0.tar.gz.

File metadata

  • Download URL: conciliate-0.6.0.tar.gz
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for conciliate-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8791567d4f97b1cbf0e3b0ae7f482d1ae738fecda09dd597907305da2849b03a
MD5 1eb20b841935a40007595e749d50e1eb
BLAKE2b-256 1be6116fee2b6d4c0070c66dd186ca6902390f654b91a78583d4c4f38b302b04

See more details on using hashes here.

Provenance

The following attestation bundles were made for conciliate-0.6.0.tar.gz:

Publisher: publish.yml on iv4n-ga6l/conciliate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file conciliate-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: conciliate-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for conciliate-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fe4d44ecfdbff0eaa90ca4515769f194a43ab8bb6f29045a3a6dd292e293c9d
MD5 748faad524910ea2a1c6f455626df503
BLAKE2b-256 8c6824635b644453fe6d1398cb819352f69a417380a3d6bf1b70cbfe61ae30e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for conciliate-0.6.0-py3-none-any.whl:

Publisher: publish.yml on iv4n-ga6l/conciliate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page