Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@inkeep/create-agents) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
create-agents
Create an Inkeep Agent Framework directory with multi-service architecture.
Quick Start
# Interactive mode
npx create-agents
# With directory name
npx create-agents my-agent-directory
# With options
npx create-agents my-agent-directory --project-id my-project --openai-key sk-... --anthropic-key sk-ant-...
Usage
@inkeep/create-agents
is a wrapper around the Inkeep CLI's create
command that sets up a complete Agent Framework directory with:
Interactive Mode
Run without arguments for an interactive setup experience:
npx create-agents
You'll be prompted for:
- Directory name
- Tenant ID
- Project ID
- Anthropic API key (recommended)
- OpenAI API key (optional)
Direct Mode
Specify options directly:
pnpm create-agents my-agent-directory --project-id my-project-id --anthropic-key sk-ant-... --openai-key sk-...
Options
--project-id <project-id>
- Project identifier for your agents--openai-key <openai-key>
- OpenAI API key (optional)--anthropic-key <anthropic-key>
- Anthropic API key (recommended)
What's Created
After running @inkeep/create-agents
, you'll have a complete Agent Framework Directory:
my-agent-directory/
├── src/
│ └── <project-id>/ # Agent configurations
│ ├── hello-agent.ts # Example agent configuration
│ ├── inkeep.config.ts # Inkeep CLI configuration
│ └── .env # CLI environment variables
├── apps/
│ ├── manage-api/ # Manage API service
│ │ ├── src/index.ts # API server entry point
│ │ ├── package.json # Service dependencies
│ │ ├── tsconfig.json # TypeScript config
│ │ └── .env # Service environment
│ ├── run-api/ # Run API service
│ │ ├── src/index.ts # API server entry point
│ │ ├── package.json # Service dependencies
│ │ ├── tsconfig.json # TypeScript config
│ │ └── .env # Service environment
│ └── shared/ # Shared code
│ └── credential-stores.ts # Credential store config
├── package.json # Root package with workspaces
├── turbo.json # Turbo build configuration
├── drizzle.config.ts # Database configuration
├── biome.json # Linting and formatting
├── .env # Root environment variables
├── .env.example # Environment template
├── .gitignore # Git ignore rules
└── README.md # Project documentation
Next Steps
Navigate to your directory:
cd my-agent-directory
Start the services:
# Start both Manage API and Run API pnpm dev
In a new terminal, start the Manage UI:
inkeep dev
Deploy your project:
cd src/<project-id>/ pnpm inkeep push
Available Services
After setup, you'll have access to:
- Manage API (Port 3002): Agent configuration and management
- Run API (Port 3003): Agent execution and chat processing
- Manage UI (Port 3000): Visual agent builder (via
npx inkeep dev
)
Commands Available in Your Directory
pnpm dev
- Start both API services with hot reloadpnpm db:migrate
- Apply database migrationsinkeep dev
- Start the Manage UIinkeep push
- Deploy project configurations
Environment Variables
The directory includes multiple environment files:
Root .env
(shared configuration)
# AI Provider Keys
ANTHROPIC_API_KEY=your-anthropic-key-here
OPENAI_API_KEY=your-openai-key-here
# Service Ports
MANAGE_API_PORT=3002
RUN_API_PORT=3003
# Database
DB_FILE_NAME=file:./local.db
# Environment
ENVIRONMENT=development
LOG_LEVEL=debug
Service-specific .env
files
apps/manage-api/.env
- Manage API configurationapps/run-api/.env
- Run API configurationsrc/<project-id>/.env
- CLI configuration