Skip to main content

Live API contract layer for AI coding assistants — keeps Claude, Cursor, and VS Code in sync with your real microservices

Project description

Conciliate - Live API contract layer for AI coding assistants

MIT License PyPI version

Live API contract layer for AI coding assistants.

Conciliate keeps Claude, Cursor, and VS Code Copilot in sync with your real microservices — across environments, specs, and code changes — so AI-generated code always matches your APIs.

The Problem

  • AI suggests endpoints that don't exist or are out of date
  • Frontend and backend assistants disagree about the API
  • Microservice and third-party APIs change silently
  • No contract validation between AI-generated code and real APIs

Features

  • Contract extraction: Auto-generates OpenAPI specs from FastAPI, Flask, Express
  • Multi-service registry: Track local microservices, staging, production, third-party APIs
  • Request validation: Validate AI-generated requests against live contracts
  • MCP-native: Built for Claude Desktop, Cursor, VS Code Copilot
  • Change detection: Real-time diff tracking with AI-consumable narration
  • Local-first: No cloud dependencies, runs entirely on your machine

Quick Start

pip install conciliate
cd /path/to/your/project
conciliate init          # Create .conciliate.yaml
conciliate mcp           # Run MCP server for AI assistants

CLI Commands

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

MCP Tools

Tool Description
list_services List all registered microservices
list_endpoints List endpoints for a service
validate_request Validate request against live contract
explain_diff Explain API changes between environments
search_endpoints Search across all services
get_endpoint_details Get full schema for an endpoint
reload_api_spec Force-reload specs

REST API

Endpoint Description
GET /spec Full OpenAPI specification
GET /summary Human-readable summary
GET /diff Latest contract changes
POST /reload Trigger spec regeneration
GET /services List all services
POST /validate Validate request against contract

Troubleshooting

Issue Solution
"Failed to generate spec" Check backend_path in config
"No .conciliate.yaml found" Run conciliate init
MCP not connecting Restart AI assistant, verify cwd path
Framework not detected Set framework explicitly in .conciliate.yaml

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.7.0.tar.gz (35.4 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.7.0-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for conciliate-0.7.0.tar.gz
Algorithm Hash digest
SHA256 50fe17149be1aab4a2b052c9afb399f2ab8183e0c19e87bf2de22d7aa6bc3bea
MD5 5f6fa52647f5e767d98b29d572a0708b
BLAKE2b-256 df392a2b8b07ee22d3ae0d666c8d9840e70f02e10fd0639e75c9a7ce245575e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for conciliate-0.7.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.7.0-py3-none-any.whl.

File metadata

  • Download URL: conciliate-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 36.4 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 196229308eb807e89096178789128277efda5e5e4750cf7a96bcd98f04ffe3fe
MD5 8f9a53b138dc05ff59f7a68a3753bccc
BLAKE2b-256 89b48c2f97890b4dc2c0656d5b8b93e9ea361fa2535a4b0348df9edbcd175238

See more details on using hashes here.

Provenance

The following attestation bundles were made for conciliate-0.7.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