Verity is an OpenFloor-compliant agent focused on detecting and mitigating hallucinations. It evaluates statements for correctness and can act as a sentinel in conversations.
- Purpose: detect incorrect claims and help correct them
- Role: fact checking in multi-agent conversations
- Transport: Flask HTTP server
flask_server.py- HTTP server entry pointtemplate_agent.py- OpenFloor event handlingenvelope_handler.py- Envelope parsing/serializationutterance_handler.py- Verity's fact-checking logicagent_config.json- Manifest and capabilities
python flask_server.pyDefault server URL is printed on startup.
pip install -r ~/implementation-examples/verity/requirements.txtPOST /- OpenFloor envelope endpointPOST /manifest- Agent manifestGET /health- Health check
- Verity is designed to spot and correct hallucinations, not to be a general assistant.
- Verity can run as a regular agent or as a sentinel.
- To run as a sentinel, include an utterance in the invite like "join the floor as a sentinel".
- Sentinels respond only when a message triggers one of their conditions; for example, Verity speaks up only if it detects a non-factual message.
- To change identity or capabilities, edit
agent_config.json.
Same as the parent project. See ../LICENSE.