- You can store local text-based context (
playbook.json) in the local context space. - You can then push the context from the local space to your remote context space on ByteRover.
- Finally, you can query the needed context from your remote context space to feed it to your agent.
Start with Your Local Context
We start by creating a local context file namedsecurity.md. In a real scenario, you could already have many of these files in your codebase.
This is the content of the security.md file:
Add to the Local Context Space
Prompt your agent:Push to Remote Context Space
From the terminal, run:Query the Remote Context Space
Prompt your agent:What just happen?
When you ask the agent to add all content fromsecurity.md using brv add, the agent adds the content to the local playbook.json file.
When you run the brv push command, all context from playbook.json is pushed to the remote context space.
You can then query the context back from the remote space.
But why does this matter?
Try one of these next to see the full power of ByteRover:Add context inline
For example, instead of starting from a file, you can prompt the agent to add the context directly:Add multiple files
Try prompting your agent to read multiple files and add the context withbrv add.
It will happen effortlessly.