AI Tools Compatibility Guide
This codebase is optimized for compatibility with multiple AI coding assistants and IDEs.β Fully Supported AI Tools
1. Claude Code (Anthropic)
- Status: β Fully Supported
- Configuration: Uses
.cursorrulesand.ai/directory - Features:
- Project-aware code generation
- Context-aware refactoring
- Documentation generation
- Test generation
- Best Practices:
- Reads entire codebase context
- Follows established patterns
- Maintains consistency
2. GitHub Copilot (Microsoft/OpenAI)
- Status: β Fully Supported
- Configuration:
.github/copilot-instructions.md.vscode/settings.json
- Features:
- Inline code completions
- Function generation
- Test suggestions
- Documentation
- Best Practices:
- Use inline comments to guide suggestions
- Leverage
#file:syntax for context - Tab through multiple suggestions
3. Cursor (Anysphere)
- Status: β Fully Supported
- Configuration:
.cursorrules.cursor/mcp.json.vscode/*(inherited)
- Features:
- Chat with codebase
- Multi-file edits
- MCP server integration
- @-mentions for docs
- Best Practices:
- Use
@codebasefor project-wide questions - Use
@docsfor documentation queries - Use
@gitfor history context
- Use
4. Gemini Code Assist (Google)
- Status: β Supported
- Configuration: Uses workspace settings
- Features:
- Code completions
- Refactoring suggestions
- Documentation generation
- Best Practices:
- Integrates with Google Cloud
- Follows EditorConfig
- Respects .gitignore
5. OpenAI Codex (OpenAI)
- Status: β Fully Supported
- Configuration:
.openai/codex-instructions.md.openai/code-completion-config.json.vscode/settings.json(OpenAI section)
- Features:
- Advanced code completions
- Multi-line suggestions
- Context-aware generation
- Code explanation and documentation
- Best Practices:
- Use clear function signatures as prompts
- Provide context via comments
- Review generated code for security
- Test completions thoroughly
6. OpenAI GPT-4 (via extensions)
- Status: β Supported
- Configuration: Extension-specific, uses
.openai/configs - Features:
- Code generation
- Explanation
- Debugging assistance
- Refactoring suggestions
- Best Practices:
- Use prompt templates from
.ai/prompts.md - Provide context from documentation
- Leverage
.openai/codex-instructions.md
- Use prompt templates from
π§ IDE Compatibility
Visual Studio Code
- Status: β Fully Configured
- Configuration Files:
.vscode/settings.json- Editor, Python, formatting.vscode/extensions.json- Recommended extensions.vscode/launch.json- Debugging configurations.vscode/tasks.json- Build and test tasks
- AI Extensions Supported:
- GitHub Copilot
- GitHub Copilot Chat
- OpenAI Codex
- Cursor (VSCode fork)
- Tabnine
- AWS CodeWhisperer
- Recommended Extensions:
Cursor
- Status: β Fully Configured
- Configuration Files:
.cursorrules- AI behavior rules.cursor/mcp.json- MCP server integration- Inherits all
.vscode/*configs
- Unique Features:
- Native MCP protocol support
- Multi-file editing
- Codebase-aware chat
- Setup:
- Open project in Cursor
- MCP server auto-detected via
.cursor/mcp.json - Use
Cmd+Kfor inline edits - Use
Cmd+Lfor chat
JetBrains IDEs (PyCharm, IntelliJ)
- Status: β οΈ Partial Support
- Configuration:
.editorconfigprovides base settings - AI Support:
- GitHub Copilot plugin
- AI Assistant (JetBrains)
- Note: May need manual Python interpreter setup
Neovim / Vim
- Status: β οΈ Manual Configuration Needed
- Recommendations:
- Use
coc.nvimwith Python LSP - Install GitHub Copilot plugin
- Respect
.editorconfig
- Use
- Configuration: User-managed
π Configuration Files Overview
Universal (All Tools)
| File | Purpose | Supported By |
|---|---|---|
.editorconfig | Editor settings | All IDEs |
.gitignore | VCS exclusions | All tools |
pyproject.toml | Python tooling | All Python tools |
.pre-commit-config.yaml | Git hooks | All VCS workflows |
AI-Specific
| File | Purpose | Used By |
|---|---|---|
.cursorrules | AI behavior rules | Cursor, Claude Code |
.github/copilot-instructions.md | Copilot guidelines | GitHub Copilot |
.openai/codex-instructions.md | OpenAI Codex guide | OpenAI Codex, GPT-4 |
.openai/code-completion-config.json | Codex configuration | OpenAI Codex |
.ai/README.md | AI assistant guide | All AI tools |
.ai/prompts.md | Prompt templates | All AI tools |
IDE-Specific
| File | Purpose | Used By |
|---|---|---|
.vscode/settings.json | Editor config | VSCode, Cursor |
.vscode/extensions.json | Extension recommendations | VSCode, Cursor |
.vscode/launch.json | Debug configs | VSCode, Cursor |
.vscode/tasks.json | Build tasks | VSCode, Cursor |
.cursor/mcp.json | MCP server | Cursor |
π Quick Start by Tool
VSCode with GitHub Copilot
- Install VSCode: https://code.visualstudio.com/
- Install Extensions:
- Open Project:
- Install Recommended Extensions: Click βInstallβ when prompted
- Setup Python:
Cmd+Shift+Pβ βPython: Select Interpreterβ- Choose
./venv/bin/python
Cursor
- Install Cursor: https://cursor.sh/
- Open Project:
- MCP Auto-detected: Cursor reads
.cursor/mcp.jsonautomatically - Start Coding:
Cmd+Kfor inline editsCmd+Lfor chat@codebasefor project context
Claude Code (CLI)
- Install Claude Code: https://docs.anthropic.com/claude-code
- Navigate to Project:
- Start Session:
- Reads Automatically:
.cursorrules.ai/README.md- Project structure
OpenAI Codex
- Install OpenAI Extension:
- VSCode: Install OpenAI extension
- Or use OpenAI API directly
- Configure API Key:
- Open Project:
- Configuration Auto-loaded:
.openai/codex-instructions.md.openai/code-completion-config.json.vscode/settings.json(OpenAI section)
Gemini Code Assist
- Install Cloud Code: https://cloud.google.com/code
- Open Project in Supported IDE:
- VSCode
- JetBrains
- Enable Gemini:
- Settings β Cloud Code β AI Assistance
- Start Coding: Inline suggestions appear automatically
π― Feature Comparison
| Feature | VSCode+Copilot | Cursor | Claude Code | OpenAI Codex | Gemini |
|---|---|---|---|---|---|
| Inline Completions | β | β | β | β | β |
| Chat Interface | β | β | β | β | β |
| Multi-file Edits | β οΈ | β | β | β | β οΈ |
| Codebase Context | β οΈ | β | β | β | β οΈ |
| MCP Integration | β | β | β | β οΈ | β |
| Test Generation | β | β | β | β | β |
| Refactoring | β | β | β | β | β |
| Documentation | β | β | β | β | β |
| Function-level Gen | β | β | β | β | β |
| Security Analysis | β οΈ | β | β | β | β οΈ |
π¨ Code Style Consistency
All AI tools respect these configurations:Formatting
- Black: 127 character line length
- isort: Black-compatible import sorting
- flake8: Linting with E203, W503 ignored
- mypy: Strict type checking
Editor Settings
- Indent: 4 spaces for Python
- Indent: 2 spaces for YAML, JSON
- Trailing whitespace: Auto-removed
- Final newline: Auto-inserted
- Line endings: LF (Unix)
File Exclusions
All tools ignore:venv/,.venv/__pycache__/,*.pyc.pytest_cache/,.mypy_cache/logs/htmlcov/,.coverage
π Documentation for AI Tools
Where AI Tools Should Look First
- Project Overview:
README.md - Architecture:
README.mdβ Architecture section - Development Setup:
DEVELOPMENT.md - Contributing:
CONTRIBUTING.md - Code Patterns:
.cursorrules(Cursor, Claude).openai/codex-instructions.md(OpenAI Codex).github/copilot-instructions.md(GitHub Copilot)
- API Reference:
http://localhost:8000/docs(when running)
Prompt Templates
See.ai/prompts.md for pre-written prompts for common tasks:
- Adding new tools
- Creating API endpoints
- Writing tests
- Debugging issues
- Performance optimization
- Security reviews
π Security Considerations
All AI tools are configured to:Never Commit
- Secrets or API keys
.envfiles (only.env.example)- Credentials
- Private keys
Always Validate
- User inputs with Pydantic
- JWT tokens
- Authorization with OpenFGA
- Environment variables
Logging Rules
- β Log events, errors, metrics
- β Log user IDs, resource IDs
- β Never log passwords, tokens, secrets
- β Never log PII without encryption
π§ͺ Testing with AI Tools
Test Generation Prompts
For any AI tool:Running Tests
All AI tools can suggest:π Debugging with AI Tools
Debug Prompts
Debug Configurations
VSCode/Cursor users can use preconfigured launch configs:- Python: MCP Server (StreamableHTTP)
- Python: Debug Tests
- Python: Current File
.vscode/launch.json for all options.
π Telemetry and Observability
AI tools understand our observability patterns:Tracing
Logging
Metrics
π’ Deployment Awareness
AI tools understand deployment contexts:- Local Development: Docker Compose
- Staging: Kubernetes with Kustomize
- Production: Kubernetes with Helm
KUBERNETES_DEPLOYMENT.md and PRODUCTION_DEPLOYMENT.md.
π€ Contributing AI Configurations
If you improve AI tool configurations:- Test with multiple tools (VSCode, Cursor, Claude)
- Document in this file
- Update
.ai/README.md - Submit PR with examples
π Support
Issues with AI Tools
- VSCode/Copilot: https://github.com/github/copilot-docs/issues
- Cursor: https://forum.cursor.sh/
- Claude Code: https://support.anthropic.com/
- Gemini: https://cloud.google.com/support
Project-Specific Issues
- GitHub Issues: https://github.com/vishnu2kmohan/mcp-server-langgraph/issues
- Discussions: https://github.com/vishnu2kmohan/mcp-server-langgraph/discussions
π Keeping Configurations Updated
When updating AI configurations:- Test Changes: Verify with at least 2 AI tools
- Update Docs: This file and
.ai/README.md - Version Control: Commit with clear message
- Notify Team: PR description should explain changes
π Future Compatibility
Weβre monitoring and will add support for:- β³ Amazon CodeWhisperer - AWS-powered completions
- β³ Tabnine - Privacy-focused AI assistant
- β³ Codeium - Free AI code acceleration
- β³ Sourcegraph Cody - Code intelligence platform
- β³ Replit Ghostwriter - Collaborative AI coding
Recently Added
- β OpenAI Codex (2025-10-10) - Full configuration added
β Verification Checklist
To verify AI tool compatibility:-
.editorconfigrespected -
.vscode/settings.jsonloaded - Python formatter (Black) working
- Import sorter (isort) working
- Linter (flake8) showing errors
- Type checker (mypy) working
- Tests runnable
- Debug configs working
- AI completions appearing
- Project context understood
Last Updated: 2025-10-10 Maintained By: @vishnu2kmohan License: MIT