Overview
Thejulep CLI is a comprehensive command-line interface for interacting with the Julep platform.
Following are the available commands.
Authentication
- Basic
- With API Key
- With Environment
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
- Initialize
- Sync
- Import
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.Destination directory for where you want to initialize the project (default: current directory)
Task Execution
- Run
- Logs
Agent Management
The commands injulep agents are used to manage your agents.
- Create
- Update
- Delete
- List
- Get
julep agents create command is used to create a new agent.Model to be used (e.g., gpt-4). You can find the list of models here
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
- Create
- Update
- Delete
- List
- Get
Tool Management
- Create
- Update
- Delete
- List
Execution Management
- Create
- List
- Cancel
The CLI will soon include a
julep assistant command that launches an interactive prompt for generating commands from plain language. This feature is still under development.Miscellaneous
- Version
- Help
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.yamlto version control - DO commit
julep-lock.jsonto version control - Document project dependencies and requirements
Command Line Usage
- Use
--jsonflag for machine-readable output - Use
--quietfor scripting and automation - Always provide required parameters
File Management
- Project Configuration: Keep your
julep.yamlclean and well-organized - Lock File: Use
julep-lock.jsonto track remote state and relationships - Source Files: Organize definitions in appropriate directories under
src/
Workflow Tips
- Use
julep syncregularly to keep local and remote states in sync - Review changes with
--jsonoutput 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
--forceflags cautiously
Support
If you need help with further questions in Julep:- Join our Discord community
- Check the GitHub repository
- Contact support at hey@julep.ai