https://github.com/frappe/agent
Works with https://github.com/frappe/press
https://github.com/frappe/agent
Last synced: 2 months ago
JSON representation
Works with https://github.com/frappe/press
- Host: GitHub
- URL: https://github.com/frappe/agent
- Owner: frappe
- License: agpl-3.0
- Created: 2019-12-12T08:41:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T12:26:21.000Z (2 months ago)
- Last Synced: 2025-04-14T13:37:24.286Z (2 months ago)
- Language: Python
- Homepage:
- Size: 1.18 MB
- Stars: 86
- Watchers: 18
- Forks: 103
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Agent
## Installation
```
mkdir agent && cd agent
git clone https://github.com/frappe/agent repo
virtualenv env
source env/bin/activate
pip install -e ./repo
cp repo/redis.conf .
cp repo/Procfile .
```## Running
```
honcho start
```## CLI
Agent has a CLI
([ref](https://github.com/frappe/agent/blob/master/agent/cli.py)). You can
access this by activating the env:```bash
# Path to your agent's Python env might be different
source ./agent/env/bin/activateagent --help
```Once you have activated the env, you can access the iPython console:
```bash
agent console
```This should have the server object instantiated if it was able to find the
`config.json` file. If not you can specify the path (check `agent console --help`).