Commit Graph

129 Commits

Author SHA1 Message Date
Twirre Meulenbelt
78923d3d07 fix: move BDI core agent to make documentation generation better
Previously, the BDI Core Agent wasn't included in the docs.

ref: N25B-299
2025-11-25 12:45:23 +01:00
ae7c7a0236 Merge branch 'dev' into docs/docs-cb 2025-11-25 12:21:20 +01:00
5598c6b8fe Merge branch 'feat/norms-and-goals-program' into docs/docs-cb 2025-11-25 12:04:33 +01:00
Twirre Meulenbelt
6be045666d chore: remove unused variable 2025-11-25 12:04:30 +01:00
Twirre
ce058c3808 fix: correct typing, simplify logs
ref: N25B-299
2025-11-25 10:52:18 +00:00
Twirre Meulenbelt
11b5345ae7 fix: do not await add_behavior anymore
ref: N25B-299
2025-11-25 11:33:35 +01:00
Twirre Meulenbelt
d513111ef3 Merge remote-tracking branch 'origin/dev' into feat/norms-and-goals-program 2025-11-25 11:29:27 +01:00
e5949a7273 fix: fix test race condition
ref: N25B-301
2025-11-25 11:21:25 +01:00
129d3c4420 docs: add docs to CB
Pretty much every class and method should have documentation now.

ref: N25B-295
2025-11-24 21:58:22 +01:00
Twirre Meulenbelt
3f22b854a7 fix: default norms and goals should be lists
ref: N25B-299
2025-11-24 20:28:34 +01:00
Twirre Meulenbelt
8ea8d4a8d4 feat: support history, norms and goals for LLM
ref: N25B-299
2025-11-24 17:58:44 +01:00
Twirre Meulenbelt
f2a67637c6 feat: add program manager
ref: N25B-299
2025-11-24 17:13:40 +01:00
ef00c03ec5 feat: pydantic models and inter-process messaging
Moved `InternalMessage` into schemas and created a `BeliefMessage`
model. Also added the ability for agents to communicate via ZMQ to
agents on another process.

ref: N25B-316
2025-11-24 14:03:34 +01:00
8607f9b615 chore: apply suggestions 2025-11-22 19:59:30 +01:00
4d076eac48 perf: improved speed of BDI
By efficiently checking when the next work has to be done, we can
increase performance not having to "busy loop". Time from transcription
-> message to LLM agent is now down to sub 1 millisecond.

ref: N25B-316
2025-11-22 19:53:19 +01:00
1f9926fe00 chore: apply suggestion
Changed `add_background_task` to `add_behavior` and added extra docs.
2025-11-22 10:28:52 +01:00
5fb923e20d refactor: testing
Redid testing structure, added tests and changed some tests.

ref: N25B-301
2025-11-21 17:03:40 +01:00
98d087417f docs: document how to use agents
ref: N25B-300
2025-11-21 13:28:37 +01:00
1c510c661e feat: more robust belief management
ref: N25B-316
2025-11-21 12:08:53 +01:00
610c4b526d fix: incorrect receiver and incorrect belief
ref: N25B-300
2025-11-20 15:04:40 +01:00
bb3f81d2e8 refactor: remove SPADE dependencies
Did not look at tests yet, this is a very non-final commit.

ref: N25B-300
2025-11-20 14:35:28 +01:00
Twirre Meulenbelt
64db25c974 Merge remote-tracking branch 'origin/dev' into refactor/config-file
# Conflicts:
#	src/control_backend/agents/ri_communication_agent.py
#	src/control_backend/core/config.py
#	src/control_backend/main.py
2025-11-19 17:30:48 +01:00
Twirre Meulenbelt
5f3d290fb6 fix: use the correct name in the transcription agent
ref: N25B-257
2025-11-19 16:29:13 +01:00
Twirre Meulenbelt
efe49c219c feat: apply new agent naming standards
Expanding abbreviations to remove ambiguity, simplifying agent names to reduce repetition.

ref: N25B-257
2025-11-19 15:56:09 +01:00
Pim Hutting
f74efba511 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Twirre <s.a.meulenbelt@students.uu.nl>
2025-11-19 11:48:31 +00:00
Pim Hutting
7120a7a8aa Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Twirre <s.a.meulenbelt@students.uu.nl>
2025-11-19 11:48:11 +00:00
Pim Hutting
d60df2174c Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Twirre <s.a.meulenbelt@students.uu.nl>
2025-11-19 11:48:02 +00:00
Björn Otgaar
f4dbca5b94 Merge branch 'dev' into refactor/agent-naming 2025-11-18 19:32:15 +01:00
Björn Otgaar
2eefcc4553 chore: fix error messages to be warnings. 2025-11-17 16:09:02 +01:00
Björn Otgaar
7a707cf9a0 refactor: change test folder structure, rename functions to account for (non)changing behaviours and clarity
ref: N25B-257
2025-11-12 12:42:54 +01:00
Björn Otgaar
9365f109ab refactor: restructure to make sure the Bel agents are also part of BDI.
ref: N25B-257
2025-11-12 12:01:37 +01:00
Björn Otgaar
dfebe6f772 refactor: make sure that in main the correct names and passwords are called for starting the agents
ref: N25B-257
2025-11-12 11:36:51 +01:00
Björn Otgaar
0e45383027 refactor: rename all agents and improve structure pt1
ref: N25B-257
2025-11-12 11:04:49 +01:00
Björn Otgaar
debc87c0bb fix: Fix up merging request changes and make sure that there is no racing condition errors, and UI always gets correct information.
ref: N25B-256
2025-11-11 10:18:43 +01:00
Pim Hutting
e1918325e2 chore: making tests pass after merge
I had to make use of monkeypatch to simulate using the config file

ref: N25B-236
2025-11-09 14:45:08 +01:00
Björn Otgaar
2d1a25e4ae chore: fixing up logging messages 2025-11-06 14:49:54 +01:00
Björn Otgaar
00d3e893f4 chore: merge dev and make sure vs doesnt cry 2025-11-06 14:27:52 +01:00
Björn Otgaar
feb6875a4c fix: make sure that the communication agent reboots propperly.
ref: N25B-256
2025-11-06 14:16:55 +01:00
Luijkx,S.O.H. (Storm)
1c756474f2 test: added tests for text_belief_extractor 2025-11-06 12:57:09 +00:00
Björn Otgaar
276ccfbf78 chore: merged dev into branch and updated logging 2025-11-06 13:52:12 +01:00
Pim Hutting
a11527141b chore: merge current dev into refactor/config-file
ref: N25B-236
2025-11-05 16:48:13 +01:00
Björn Otgaar
8638523980 fix: fixed new tests and merged dev into branch
ref: N25B-256
2025-11-05 16:29:56 +01:00
Pim Hutting
b15dea9e98 refactor: merge main into config-file
ref: N25B-236
2025-11-05 15:24:44 +01:00
d9fef22090 Merge branch 'dev' into refactor/logging 2025-11-05 15:09:14 +01:00
Twirre Meulenbelt
262376fb58 fix: break LLM response with fewer types of punctuation
ref: N25B-207
2025-11-05 15:01:01 +01:00
Twirre Meulenbelt
06e9e4fd15 chore: ruff format 2025-11-05 14:15:03 +01:00
Pim Hutting
da2df94192 chore: merge dev into refactor/config-file
Merged the latest changes from dev into this branch to stay up to date with current development.

ref: N25B-236
2025-11-05 13:49:38 +01:00
Pim Hutting
9e926178da refactor: remove constants and put in config file
removed all constants from all files and put them in src/control_backend/core/config.py
also removed some old mock agents that we don't use anymore

ref: N25B-236
2025-11-05 13:43:57 +01:00
e49ccb213e Merge branch 'dev' into refactor/logging 2025-11-05 12:40:31 +01:00
Twirre Meulenbelt
689a0d35da Merge remote-tracking branch 'origin/dev' into demo 2025-11-05 12:38:08 +01:00