pip
package managerWRITER_API_KEY
.
Create a new file called .env
in the root of your project, for example, my-agent/.env
, and add the following line:
http://127.0.0.1:4005
and you can specify a different port with the --port
flag.
writer edit
command, you might see the warning Missing required environment variables for vault access
. This warning is expected because Vault is a secrets management feature that’s only available in the Writer Cloud version of Agent Builder.WRITER_LOG_LEVEL
environment variable:
main.py
)main.py
file contains your agent’s Python code and initial state:
.wf/
directory).wf/
directory contains your agent’s configuration, including:
.wf/
directory. Writer Framework automatically manages this directory.
static/
directory)static/
directory. The development server serves these files automatically, allowing you to reference them in your agent’s UI.
http://127.0.0.1:4005
. You can see the URL in the terminal after running the writer edit
command.
.env
file.
.env
file when exporting your agent to a zip file and move your secrets to your cloud agent’s Vault.