Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
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
Pim Hutting
594ad91b6d fix: removed non used values from config
ref: N25B-236
2025-11-05 17:32:26 +01:00
Pim Hutting
b15dea9e98 refactor: merge main into config-file
ref: N25B-236
2025-11-05 15:24:44 +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
48c9746417 style: apply ruff check and format
Made sure all ruff checks pass and formatted all files.

ref: N25B-224
2025-11-02 19:45:01 +01:00
b92471ff1c refactor: ZMQ context and proxy
Use ZMQ's global context instance and setup an XPUB/XSUB proxy intermediary to allow for easier multi-pubs.

close: N25B-217
2025-10-30 11:40:14 +01:00
Twirre Meulenbelt
696e91a9d3 Merge remote-tracking branch 'origin/dev' into feat/transcription-agent
# Conflicts:
#	src/control_backend/core/config.py
2025-10-29 15:40:19 +01:00
Twirre Meulenbelt
c56fe3e46d Merge remote-tracking branch 'origin/dev' into feat/belief-collector
# Conflicts:
#	src/control_backend/main.py
2025-10-29 15:37:55 +01:00
Twirre Meulenbelt
889ec1db51 chore: fix merge conflicts and small items
ref: N25B-208
2025-10-29 15:28:15 +01:00
Pim Hutting
3f7ec071b2 Merge remote-tracking branch 'origin/dev' into feat/belief-collector 2025-10-29 15:14:42 +01:00
Twirre Meulenbelt
155c761daa Merge remote-tracking branch 'origin/dev' into feat/transcription-agent
# Conflicts:
#	src/control_backend/core/config.py
2025-10-29 14:00:57 +01:00
Twirre Meulenbelt
5f2fd11a33 style: tiny style fixes 2025-10-29 13:55:18 +01:00
JobvAlewijk
3661b2a1e6 fix: local host
ref: N25B-208
2025-10-29 13:03:57 +01:00
JobvAlewijk
f163e0ee6c build: merge of VAD
ref: N25B-213
2025-10-29 10:32:43 +01:00
Twirre Meulenbelt
2bb008994b feat: implement transcriber agent
Uses speech fragments of the VAD agent, emits transcribed text over SPADE's default communication channel to no recipient for now.

ref: N25B-209
2025-10-28 21:57:25 +01:00
Twirre Meulenbelt
7085719d2f Merge remote-tracking branch 'origin/dev' into feat/transcription-agent 2025-10-28 21:51:09 +01:00
JobvAlewijk
6846a18b3b build: merge
merge with riAgent

ref: N25B-208
2025-10-28 15:03:47 +01:00
Twirre Meulenbelt
7a96920db5 Merge remote-tracking branch 'origin/dev' into feat/vad-agent 2025-10-28 14:55:10 +01:00
Pim Hutting
1f34b14dfa Feat: Implement belief collector
[
    - Currently implements belief collection from text-based mock agent.
    - The beliefs communicated by this agent look like this:

        {
            "type": "belief_extraction_text",
            "beliefs": [
                {"user_said": [["hello"],["Can you help me?"],["stop talking to me"],["No"],["Pepper do a dance"]]}
            ]
        }
    * have yet to add tests (but we want to merge into Dev. asap)
]

[ref]: N25B-206
2025-10-28 13:07:49 +01:00
Björn Otgaar
47a87d0b4a fix: unit tests fixes and ruff formating
N25B-205
2025-10-28 11:31:05 +01:00
Björn Otgaar
52faa59184 Merge remote-tracking branch 'origin/dev' into feat/cb2ui-robot-connections 2025-10-28 11:09:23 +01:00
JobvAlewijk
17056da832 chore: cleanup
made llm get url from settings
cleanup uneceserry fstring

ref: N25B-207
2025-10-28 11:07:28 +01:00
Twirre Meulenbelt
a44df4781b Merge remote-tracking branch 'origin/dev' into feat/vad-agent
# Conflicts:
#	pyproject.toml
#	src/control_backend/main.py
#	uv.lock
2025-10-28 10:44:03 +01:00
4859c3ac04 style: fix style 2025-10-27 15:10:31 +01:00
JobvAlewijk
c5b71450fc feat: LLM agent
body:   added the llmAgent class and made it run at the start.
        modified the bdi_core to send a test message and recieve an awnser from LLM agent
        Added a connection to a local llm via lmstudio.

        Tests are Tba.

ref: N25B-207
2025-10-27 14:21:18 +01:00
Twirre Meulenbelt
ca5e59d029 test: add first unit test for VAD agent
Mocking audio input probabilities, checking whether it publishes audio data on the output socket.

ref: N25B-213
2025-10-23 17:40:47 +02:00
Twirre Meulenbelt
6391af883a feat: implement VAD agent
Listens to audio from the RI, does voice activity detection, sends voice fragments.

ref: N25B-213
2025-10-23 14:54:57 +02:00
Björn Otgaar
3d7ef2b874 feat: agent structure and implementation new
architecture with unit tests

ref: N25B-205
2025-10-22 10:28:48 +02:00
31882f8d63 feat: add BDI core agent
Main BDI brain structure implemented. Still some TODOs left, and very
basic implementation (only one belief "user_said(Message)" and every
message is sent straight to a function which is responsible for getting
an LLM response.

ref: N25B-197
2025-10-18 17:50:17 +02:00
1eb414ea0d feat: add agent that is able to receive messages from UI
Inside the `/message` enpoint we put a message onto the internal event
queue, which gets read by TestAgent. This agent, in turn, logs the
message (temporary behaviour until we implement RI integration).

The name TestAgent is of course temporary, this is just for exploratory
purposes.

ref: N25B-165
2025-10-08 18:27:24 +02:00
80d03de3c8 fix: correct cross-origin handling 2025-10-08 15:27:06 +02:00
7a8bd4393e fix: typo 2025-10-08 15:15:52 +02:00
1229df70b0 chore: filled in project structure
Added some example basic files containing a functioning /message
endpoint which logs the received message to INFO.

ref: N25B-144
2025-10-08 15:02:11 +02:00
7ba40b0bf8 chore: add basic project structure
Empty files everywhere, basic module structure created with __init__.py
files.

ref: N25B-144
2025-10-08 13:29:04 +02:00