Command Reference
Commands for managing Julep projects and resources
Overview
It is still in development and is not yet stable. Not all commands are implemented yet. Below are the commands that are implemented.
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.
Name of the project
Description of the project
Examples:
Task Execution
The julep run
command is used to execute a task.
ID or name of the task to execute
Input data for the task
Path to a file containing the input for the task
Wait for the task to complete before exiting, stream logs to stdout
Examples:
Agent Management
The julep agents
command is 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
Import to project after creating
Examples:
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
The julep executions create
command is used to create a new execution for a task.
ID or name of the task to execute
JSON string representing the input for the task (defaults to )
Path to a file containing the input for the task
Julep Assistant
julep assistant
launches an interactive prompt (a “wizard” mode) that uses AI to interpret plain-English requests and transform them into valid julep
CLI commands. Think of it as a chat-based REPL that helps you build and manage your Julep resources more intuitively.
The assistant works as follows:
- Opens a session where you can type natural language instructions (e.g., “Create a GPT-4 agent named MarketingBot”).
- The assistant uses an LLM (Large Language Model) to suggest one or more CLI commands that match your request (e.g.,
julep agents create --name "MarketingBot" --model "gpt-4"
). - Displays the suggested command(s) and prompts for confirmation:
- (Y): Run the command immediately, showing output in the same session.
- (n): Skip or cancel the suggestion.
- (edit): Manually revise the command prior to execution.
- Returns to the prompt for follow-up instructions, giving you a conversational workflow (e.g., “Now list all my tasks”, “Delete the agent I just created”, etc.).
Example Session:
The idea is to make it easier to onboard new users and make it easier to manage projects.
-
Simplifies Onboarding: Users can manage agents, tasks, and tools with minimal knowledge of CLI flags and syntax.
-
Conversational Guidance: The assistant can ask clarifying questions if a request is ambiguous and recall recently created or updated resources.
-
Expandable: Future enhancements might include richer multi-step workflows, advanced editing, and deeper project insights (e.g., referencing
julep-lock.json
state).This feature is particularly useful for new users or those who want a quick, conversational way to build out a project without memorizing every
julep
subcommand. Simply type what you want in natural language, confirm or edit the generated commands, and let the assistant handle the rest.
Miscellaneous
The julep --version
or julep -v
command displays the current version of the Julep CLI.
Global Configuration
The following configuration can be used with any command:
--quiet
,-q
: Suppress all output except errors and explicitly requested data--color
: Force enable colored output--no-color
: Force disable colored output
Examples:
By default, color output is:
- Enabled for TTY (interactive terminal) sessions
- Disabled for non-TTY sessions (pipes, redirects, etc.)
- Disabled if NO_COLOR environment variable is set
- Disabled if TERM=dumb
The CLI will automatically detect these conditions and adjust color output accordingly.
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