Commit graph

945 commits

Author SHA1 Message Date
cybermaggedon
79e16e65f6
Fix/agent tool resilience (#461)
* Fix incorrect tool initialisation in agent service

* Make Action: parsing more resient.  If there are quotation marks, strip them off.

* Added test case for this change
2025-08-21 13:00:33 +01:00
cybermaggedon
54948e567f
Increase agent ReACT tool coverage (#460)
* Extra multi-step tool invocation

* Multi-step reasoning test
2025-08-21 00:36:45 +01:00
cybermaggedon
1adcbc3a3a
Fix missing anthropic import (#459) 2025-08-19 21:25:15 +01:00
Jack Colquitt
244da4aec1
Features/vertex anthropic (#458)
* Added Anthropic support for VertexAI

* Update tests to match code

* Fixed private.json usage with Anthropic (I think).

* Fixed test

---------

Co-authored-by: Cyber MacGeddon <cybermaggedon@gmail.com>
2025-08-19 21:00:22 +01:00
cybermaggedon
e89a5b5d23
Knowledge load utility CLI (#456)
* Knowledge loader

* More tests
2025-08-13 16:07:58 +01:00
cybermaggedon
258dfaeb7c
Fix token chunker, broken API invocation (#455) 2025-08-08 18:59:27 +01:00
cybermaggedon
a7de175b33
Fix token chunker, broken API invocation (#454) 2025-08-08 14:41:24 +01:00
cybermaggedon
6c681967ab
Validate librarian collection (#453) 2025-08-07 21:36:24 +01:00
cybermaggedon
83f0c1e7f3
Structure data mvp (#452)
* Structured data tech spec

* Architecture principles

* New schemas

* Updated schemas and specs

* Object extractor

* Add .coveragerc

* New tests

* Cassandra object storage

* Trying to object extraction working, issues exist
2025-08-07 20:47:20 +01:00
cybermaggedon
5de56c5dbc
Schema structure refactor (#451)
* Write schema refactor spec

* Implemented schema refactor spec
2025-08-04 21:42:57 +01:00
cybermaggedon
f4733021c5
Fix Mistral OCR ident to be standard pdf-decoder (#450)
* Fix Mistral OCR ident to be standard pdf-decoder

* Correct test
2025-08-04 14:01:36 +01:00
cybermaggedon
7e0d831026
Fixed Mistral OCR to use current API (#448)
* Fixed Mistral OCR to use current API

* Added PDF decoder tests
2025-08-04 10:08:16 +01:00
cybermaggedon
8f0828c9a6
Fix logging startup problems (#447) 2025-07-31 00:16:42 +01:00
cybermaggedon
069bae7e77
Fix logging startup problems (#446) 2025-07-31 00:01:08 +01:00
cybermaggedon
444d205251
Fix/startup failure (#445)
* Fix loggin startup problems
2025-07-30 23:42:11 +01:00
cybermaggedon
dd70aade11
Implement logging strategy (#444)
* Logging strategy and convert all prints() to logging invocations
2025-07-30 23:18:38 +01:00
cybermaggedon
3e0651222b
Install missing build deps (#442) 2025-07-23 21:28:19 +01:00
cybermaggedon
e19e0f00fe
Install missing build deps (#441) 2025-07-23 21:25:48 +01:00
cybermaggedon
98022d6af4
Migrate from setup.py to pyproject.toml (#440)
* Converted setup.py to pyproject.toml

* Modern package infrastructure as recommended by py docs
2025-07-23 21:22:08 +01:00
cybermaggedon
d83e4e3d59
Update to enable knowledge extraction using the agent framework (#439)
* Implement KG extraction agent (kg-extract-agent)

* Using ReAct framework (agent-manager-react)
 
* ReAct manager had an issue when emitting JSON, which conflicts which ReAct manager's own JSON messages, so refactored ReAct manager to use traditional ReAct messages, non-JSON structure.
 
* Minor refactor to take the prompt template client out of prompt-template so it can be more readily used by other modules. kg-extract-agent uses this framework.
2025-07-21 14:31:57 +01:00
Cyber MacGeddon
1fe4ed5226 Update Python deps to 1.2 2025-07-17 19:26:19 +01:00
cybermaggedon
81c7c1181b
Updated CLI invocation and config model for tools and mcp (#438)
* Updated CLI invocation and config model for tools and mcp

* CLI anomalies

* Tweaked the MCP tool implementation for new model

* Update agent implementation to match the new model

* Fix agent tools, now all tested

* Fixed integration tests

* Fix MCP delete tool params
2025-07-16 23:09:32 +01:00
cybermaggedon
a96d02da5d
Update config util to take files as well as command-line text (#437) 2025-07-16 19:55:04 +01:00
cybermaggedon
54592b5e9f
Empty configuration is returned as empty list, previously was not in response (#436) 2025-07-15 14:30:37 +01:00
cybermaggedon
f37decea2b
Increase storage test coverage (#435)
* Fixing storage and adding tests

* PR pipeline only runs quick tests
2025-07-15 09:33:35 +01:00
cybermaggedon
4daa54abaf
Extending test coverage (#434)
* Contract tests

* Testing embeedings

* Agent unit tests

* Knowledge pipeline tests

* Turn on contract tests
2025-07-14 17:54:04 +01:00
cybermaggedon
2f7fddd206
Test suite executed from CI pipeline (#433)
* Test strategy & test cases

* Unit tests

* Integration tests
2025-07-14 14:57:44 +01:00
cybermaggedon
9c7a070681
Feature/react call mcp (#428)
Key Features

  - MCP Tool Integration: Added core MCP tool support with ToolClientSpec and ToolClient classes
  - API Enhancement: New mcp_tool method for flow-specific tool invocation
  - CLI Tooling: New tg-invoke-mcp-tool command for testing MCP integration
  - React Agent Enhancement: Fixed and improved multi-tool invocation capabilities
  - Tool Management: Enhanced CLI for tool configuration and management

Changes

  - Added MCP tool invocation to API with flow-specific integration
  - Implemented ToolClientSpec and ToolClient for tool call handling
  - Updated agent-manager-react to invoke MCP tools with configurable types
  - Enhanced CLI with new commands and improved help text
  - Added comprehensive documentation for new CLI commands
  - Improved tool configuration management

Testing

  - Added tg-invoke-mcp-tool CLI command for isolated MCP integration testing
  - Enhanced agent capability to invoke multiple tools simultaneously
2025-07-08 16:19:19 +01:00
cybermaggedon
e56186054a
MCP client support (#427)
- MCP client service
- Tool request/response schema
- API gateway support for mcp-tool
- Message translation for tool request & response
- Make mcp-tool using configuration service for information
  about where the MCP services are.
2025-07-07 23:52:23 +01:00
cybermaggedon
21bee4cd83
Add command args to the MCP server (#426)
* Host and port parameters

* Added websocket arg

* More docs
2025-07-04 14:20:34 +01:00
cybermaggedon
ac977d18f4
Add MCP container push (#425) 2025-07-03 17:00:59 +01:00
Cyber MacGeddon
29596c5228 Merge branch 'release/v1.0' into release/v1.1 2025-07-03 16:11:10 +01:00
Cyber MacGeddon
fac42eb01b Merge branch 'master' into release/v1.0 2025-07-03 16:01:40 +01:00
Cyber MacGeddon
6edf252797 Merge branch 'master' into release/v1.0 2025-07-03 15:59:21 +01:00
cybermaggedon
44bdd29f51
Update docs for API/CLI changes in 1.0 (#421)
* Update some API basics for the 0.23/1.0 API change
2025-07-03 14:58:32 +01:00
cybermaggedon
cc224e97f6
Update docs for API/CLI changes in 1.0 (#420)
* Update some API basics for the 0.23/1.0 API change
2025-07-03 14:58:29 +01:00
Jack Colquitt
f6a6999790
Update README with even more tidying 2025-07-02 19:44:53 -07:00
Jack Colquitt
b55fd6414f
Update README with lots more tidying 2025-07-02 19:31:40 -07:00
Jack Colquitt
577157af19
Update README with tidying 2025-07-02 19:22:18 -07:00
Jack Colquitt
021b43a827
Update README to fix broken link 2025-07-02 18:55:00 -07:00
cybermaggedon
f907ea7db8
PoC MCP server (#419)
* Very initial MCP server PoC for TrustGraph

* Put service on port 8000

* Add MCP container and packages to buildout
2025-07-02 18:19:23 +01:00
Cyber MacGeddon
f0b2752abf Bump setup.py versions for 1.1 2025-07-02 16:40:13 +01:00
Cyber MacGeddon
dbe78ebe46 Merge branch 'release/v1.0' 2025-06-28 12:02:20 +01:00
Jack Colquitt
008943ec37
Update README with messaging tweaks 2025-06-27 16:24:21 -07:00
Jack Colquitt
078d110b13
Add files via upload 2025-06-27 16:22:12 -07:00
cybermaggedon
b1a546e4d2
Fix missing script (#418) 2025-06-24 11:32:50 +01:00
cybermaggedon
bab9ac4bd5
Fix command line args (#417) 2025-06-24 11:21:15 +01:00
cybermaggedon
f08e3c1b27
Feature/reverse gateway (#416)
* Created reverse gateway

* Dispatched invoke message translations

* Added config receiver

* Provide a script to start rev-gateway
2025-06-24 11:19:20 +01:00
cybermaggedon
fcab3aeb0e
Fix/library translators (#415)
* Fixing naming

* Fix mapping of library document list
2025-06-23 21:52:21 +01:00
cybermaggedon
a4e2f67cb1
Feature/translator classes (#414)
Pull the JSON/Pulsar message translation into a separate module, will be useful for other comms channels
2025-06-20 16:59:55 +01:00