Command Reference
Commands for managing Julep projects and resources
Overview
The julep
CLI is a comprehensive command-line interface for interacting with the Julep platform.
Following are the available commands.
Authentication
The julep auth
command is used to authenticate your Julep CLI. This will prompt you to enter your API key and save it to the configuration file.
Example:
You can get your API key from the Julep Dashboard.
Project Management
The julep init
command is used to initialize a new Julep project using a predefined template. You can check the list of available templates in our library.
Name of the template to use from the library repository (default: “hello-world”)
Destination directory for where you want to initialize the project (default: current directory)
Skip confirmation prompt
Examples:
Task Execution
The julep run
command is used to execute a task.
ID of the task to execute
Input data for the task
Path to a json file containing the input to execute the task with
Wait for the task to complete before exiting, stream logs to stdout
Examples:
Agent Management
The commands in julep agents
are used to manage your agents.
The julep agents create
command is used to create a new agent.
Name of the agent
Description of the agent
Additional metadata (JSON format)
Instructions for the agent (can be repeated)
Path to agent definition file
Examples:
Note: When creating an agent, the agent doesn’t get automatically imported to the project. You can run
julep import --agent --id <agent-id>
to import the agent to the project.
Task Management
The julep tasks create
command is used to create a new task.
ID of the associated agent
Name of the task
Path to task definition file
Additional metadata (JSON format)
Inherit tools from agent
Import to project after creating
Tool Management
The julep tools create
command is used to create a new tool.
ID of the associated agent
Name of the tool
Type of the tool
Path to tool definition file
Description of the tool
Additional metadata (JSON format)
Import to project after creating
Execution Management
Miscellaneous
The julep --version
or julep -v
command displays the current version of the Julep CLI.
Best Practices
Project Organization
- Keep agent, task, and tool definitions in separate directories under
src/
- Use meaningful file names that reflect their purpose
- Follow the standard project structure
Version Control
- DO commit
julep.yaml
to version control - DO commit
julep-lock.json
to version control - Document project dependencies and requirements
Command Line Usage
- Use
--json
flag for machine-readable output - Use
--quiet
for scripting and automation - Always provide required parameters
File Management
- Project Configuration: Keep your
julep.yaml
clean and well-organized - Lock File: Use
julep-lock.json
to track remote state and relationships - Source Files: Organize definitions in appropriate directories under
src/
Workflow Tips
- Use
julep sync
regularly to keep local and remote states in sync - Review changes with
--json
output before applying updates - Use the assistant mode for complex workflows:
julep assistant
Security Best Practices
- Store API keys securely
- Use environment-specific configurations
- Review permissions before executing destructive commands
- Use
--force
flags cautiously
Always review the changes before using force flags (--force-local
, --force-remote
) as they can override remote or local state.
Support
If you need help with further questions in Julep:
- Join our Discord community
- Check the GitHub repository
- Contact support at hey@julep.ai