AI Configuration
Configure AI models, MCP servers, persona prompts, and keep your AI setup portable across machines.
Overview
EZKeel treats AI tools as first-class citizens in the developer workflow. The ai section of workspace.yaml defines which models to use, while the .claude/ directory holds the runtime configuration (settings, MCP servers, persona). Together, they ensure every developer on the team has the same AI setup.
Model Configuration
Define your preferred models in workspace.yaml:
These values are used by ezkeel ai to determine which tool to launch and which API key to inject:
claudetools useANTHROPIC_API_KEYcodextools useOPENAI_API_KEYlocalresolves to the local model (e.g.ollama/llama3) and requires no API key
Using AI Tools
The ezkeel ai command is the unified entry point for all AI tools. It handles secret injection, model resolution, and tool launching in a single command.
Persona Portability
When you run ezkeel init, a .claude/ directory is scaffolded with your project's AI configuration. This includes settings, MCP server definitions, and the persona prompt from workspace.yaml.
To keep this configuration synchronized across machines and team members, EZKeel uses a dedicated Git branch:
How it works:
- Push stashes your current work, creates/updates the
ezkeel/personabranch with the.claude/directory, force-pushes, then restores your previous branch and stash. - Pull fetches the remote branch and checks out just the
.claude/subtree into your working directory.
Why a separate branch? The .claude/ directory often contains machine-specific paths or personal preferences. Keeping it on a dedicated branch avoids polluting your main branch history while still making it shareable.
Persona Prompt
The ai.persona field in workspace.yaml defines the system prompt used by AI assistants in your project:
This prompt is injected into the .claude/ configuration during ezkeel init and can be updated by editing workspace.yaml and re-running the scaffolding.
MCP Servers
EZKeel can configure Model Context Protocol (MCP) servers for your AI tools. MCP servers provide AI assistants with structured access to external tools and data sources.
Each server entry specifies:
| Field | Description |
|---|---|
name | Unique identifier for the server |
command | Executable to launch the server |
args | Arguments to pass to the command |
These MCP server definitions are written into the .claude/ configuration when the project is initialized, making them available to Claude Code and other MCP-compatible tools.