Project Management
Copy page
Learn how to manage projects in the Inkeep Agent Framework
Overview
Projects are the top-level organizational unit in your Inkeep workspace. Each project contains its own agents, sub agents, tools, data components, and environment configurations.
Workspace structure
After following the Quick Start guide, your workspace will be organized with the following directory structure:
The src/inkeep.config.ts file defines workspace configuration for all projects. See Workspace Configuration for details.
Architecture
This project follows a workspace structure with the following services:
- Agents Manage UI (Port 3000): Web interface
- The agent framework visual builder. From the builder you can create, manage and visualize all your graphs.
- Agents Manage API (Port 3002): Agent configuration and management
- Handles entity management and configuration endpoints.
- Agents Run API (Port 3003): Agent execution and chat processing
- Handles agent communication. You can interact with your agents either over MCP from an MCP client or through our React UI components library
- MCP Service (Port 3006): Custom MCP servers
- Custom MCP servers for external tools and APIs. See our guide for how to add MCP servers to your project.
Project files and directories
index.ts
The project entry point inside each project directory that exports your project definition:
agents/
Contains agent definitions. Each file typically exports one agent:
See Agents & Sub Agents for more information about creating and configuring agents and sub agents.
tools/
Tool definitions that can be used by Sub Agents:
See MCP Tools and Function Tools for more information about creating and configuring MCP tools and function tools.
data-components/
Data components for structured UI output:
See Data Components for more information about creating and configuring data components.
external-agents/
External agent definitions:
See External Agents for more information about creating and configuring external agents.
environments/
Environment-specific configurations for different deployment stages:
How to add a new project
Use the inkeep add command to add template projects from the Inkeep Agents Cookbook to your workspace.
Prerequisite
Ensure you have the Inkeep CLI installed.
Step 1: Navigate to your projects directory
Navigate to the src/projects directory:
Step 2: List available templates
To see all available project templates, run inkeep add without any arguments:
This displays a list of available project templates you can add to your workspace.
Step 3: Add a project template
Add a specific project template using the --project flag:
For new projects, we recommend starting with a simple project template like docs-assistant, which you can customize to your needs.
Pushing changes to the Visual Builder
After making changes to your project code, use inkeep push to sync your local TypeScript project to the Visual Builder. This allows you to continue development using the Visual Builder's drag-and-drop interface.
Prerequisite
Ensure you have the Inkeep CLI installed.
Step 1: Navigate to your project directory
Change to the directory containing your project's index.ts file:
Step 2: Push your project
Run the push command:
Step 3: Verify in Visual Builder
After pushing, refresh your Visual Builder. Your project and all its agents, Sub Agents, tools, and data components will be available in the Visual Builder.
Additional options
Validate without pushing:
To validate your project without actually pushing changes, use the --json flag:
Pulling changes from the Visual Builder
When you make changes in the Visual Builder (such as updating prompts or modifying agent configurations), use inkeep pull to sync those changes back to your local TypeScript project.
Prerequisite
The inkeep pull command in-part leverages AI to sync your TypeScript files to the state of your Visual Builder, so at least one of the below environment variables to be defined:
The CLI prioritizes Anthropic → OpenAI → Google.
Here are the models used:
| Provider | Model(s) | Where to Get API Key |
|---|---|---|
| Anthropic | Claude Sonnet 4.5 (extended thinking) | Anthropic Console |
| OpenAI | GPT-5.1 | OpenAI Platform |
| Gemini 2.5 Flash | Google AI Studio |
Step 1: Navigate to your project directory
Change to the directory containing your project's index.ts file:
Step 2: Pull changes from Visual Builder
Run the pull command:
Step 3: Verify the changes
Check your project files to see the updates. For example, if you changed an agent's prompt in the Visual Builder:
The file should reflect the updated prompt from the Visual Builder.
See CLI Reference for more information about the inkeep pull command.
How to add a new MCP server
Use the inkeep add command to add custom MCP server templates from the Inkeep Agents Cookbook to your workspace. These templates provide starter code for common MCP server integrations that you can customize and deploy.
Prerequisite
Ensure you have the Inkeep CLI installed.
Step 1: Navigate to your workspace root
Navigate to your workspace root directory (where your package.json is located):
The CLI will automatically detect the apps/mcp/app directory in your workspace.
Step 2: List available MCP templates
To see all available MCP server templates, run inkeep add without any arguments:
This displays both project templates and MCP server templates you can add to your workspace.
Step 3: Add an MCP server template
Add a specific MCP server template using the --mcp flag:
The template will be added to apps/mcp/app/[template-name]/mcp/route.ts automatically.
Step 4: Customize and register
The MCP server will be exposed at http://localhost:3000/[template-name]/mcp. Customize it with your API credentials and business logic, then register it as a tool using mcpTool:
See MCP Tools for more information about registering MCP servers as tools.
Deployment Guides
To build and run your own images you can follow the Build a Custom Image docs.
This repostory contains a docker-compose.yml and template Dockerfile for each service:
Dockerfile.manage-uiDockerfile.manage-apiDockerfile.run-uiDockerfile.migrate
To build and run: