Commit Graph

163 Commits

Author SHA1 Message Date
Twirre Meulenbelt
27f04f0958 style: use yield instead of returning arrays
ref: N25B-376
2025-12-16 16:11:01 +01:00
Twirre Meulenbelt
8cc177041a feat: add a second phase in test_program
ref: N25B-376
2025-12-16 15:12:22 +01:00
4a432a603f fix: separate trigger plan generation
ref: N25B-376
2025-12-16 14:12:04 +01:00
bab4800698 feat: add trigger generation
ref: N25B-376
2025-12-16 12:10:52 +01:00
d043c54336 refactor: program restructure
Also includes some AgentSpeak generation.

ref: N25B-376
2025-12-16 10:21:50 +01:00
Björn Otgaar
bacc63aa31 chore: fix socket typing in robot speech agent 2025-12-02 14:22:39 +01:00
261aea4f46 Merge remote-tracking branch 'origin/docs/docs-cb' into docs/docs-cb 2025-11-25 12:56:33 +01:00
953fde7b0c chore: apply suggestions 2025-11-25 12:56:13 +01:00
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
54502e441c test: fix tests after changing schema and
ref: N25B-299
2025-11-24 20:53:53 +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
2d4f9a3323 chore: remove redundant settings 2025-11-21 13:30:28 +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
67d0284dfb chore: remove metadata field and jid attribute
These weren't used.
2025-11-20 17:32:19 +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
6c401a18b4 Merge remote-tracking branch 'origin/dev' into refactor/agent-naming 2025-11-19 16:00:11 +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
JobvAlewijk
964997f801 Merge branch 'dev' of https://git.science.uu.nl/ics/sp/2025/n25b/pepperplus-cb into feat/recieve-programs-ui 2025-11-19 13:16:41 +01:00
Pim Hutting
6436fc12c8 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Twirre <s.a.meulenbelt@students.uu.nl>
2025-11-19 11:48:49 +00: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
JobvAlewijk
39c07dd3cf refactor: made pydantic check the input.
no longer by the code itself.

ref: N25B-198
2025-11-18 12:35:44 +01:00
Björn Otgaar
2eefcc4553 chore: fix error messages to be warnings. 2025-11-17 16:09:02 +01:00
JobvAlewijk
2ed2a84f13 style: compacted program and reworked tests
ref: N25B-198
2025-11-12 18:04:39 +01:00
JobvAlewijk
79d3bfb3a6 test: added tests for programs and its scheme
ref: N25B-198
2025-11-12 17:36:00 +01:00
JobvAlewijk
43f3cba1a8 feat: ui program to cb connection
ref: N25B-198
2025-11-12 13:18:56 +01:00
Björn Otgaar
9152985bdb fix: send correct asl path to BDI agent
ref: N25B-257
2025-11-12 12:46:47 +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