Retrieves and replaces the local agent definition and tests with those defined on the server.

kapso pull [AGENTID]

Arguments

ArgumentDescriptionDefault
AGENTIDAgent identifierFrom agent.yaml

Description

This command synchronizes your local files with the version stored on the Kapso server. It pulls and replaces:

  1. Agent graph definition (agent.yaml)
  2. Test suites and test cases

This is useful when:

  • The agent has been modified through the web interface
  • Multiple team members are working on the same agent
  • You need to reset local changes to the server version

Examples

Pull using local configuration:

kapso pull

Pull specific agent:

kapso pull agent_123456789

Notes

  • Requires valid authentication token
  • Warning: Overwrites local files without prompting
  • Creates necessary directories if they don’t exist