Commit Graph

990 Commits

Author SHA1 Message Date
Rohit Sharma 7db6a6f035 Fix typo (#283) 2025-09-28 14:48:20 +09:00
luijait 82cc20e542 Add support for Chrome MCP (#279) 2025-09-25 07:10:04 +09:00
Víctor Mayoral Vilches 833c6ed858 Update README again
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-21 05:25:17 +02:00
Víctor Mayoral Vilches 844d518529 Include new humanoids papers
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-21 05:25:02 +02:00
Víctor Mayoral Vilches 1baf1203c8 Add irregular
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-20 09:19:07 +02:00
Javier Garcia c494f95664 docs: Azure OpenAI update; create 'Providers' section in mkdocs.yml and specify configuration for CAI to work correctly (#264) (#273)
docs: Azure OpenAI update; create 'Providers' section in mkdocs.yml and specify configuration for CAI to work correctly (aliasrobotics/cai#264)
2025-09-17 11:17:27 +02:00
top9th 46c25e7f17 Fix Google Gemini OpenAI compatibility issues (#268)
Gemini is ready to use with this configuration.
```
OPENAI_API_KEY="gemini_key"
OPENAI_BASE_URL="gemini_openai_compatible_url"
CAI_MODEL=openai/gemini-2.5-pro
```
2025-09-16 07:12:50 +02:00
aFrogThatExists 6a1fd59fbd Updated README.md to add note on installing python3.12-venv (#271)
* Update README.md to add note on installing python3.12-venv

* Updated README.md to move the note to FAQ
2025-09-15 16:18:28 +02:00
Jonas 019c39e563 Fix link in README.md for tools section (#272) 2025-09-15 16:12:39 +02:00
Víctor Mayoral Vilches 79f92fd0ee Address #262
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-06 16:24:02 +02:00
Víctor Mayoral Vilches 07a6da0bac Add sola and minor correction
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-05 16:53:06 +02:00
Víctor Mayoral Vilches 2af7319795 Add updates with latest research contribution
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-09-01 15:46:39 +02:00
Víctor Mayoral Vilches 340aa77248 Re-iterate errors and release v0.5.5
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-29 14:09:53 +00:00
Víctor Mayoral Vilches 336617a539 Update README and release v0.5.4
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-29 14:01:59 +00:00
Víctor Mayoral Vilches 16c7367de2 Update docs including guardrails
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-29 14:01:42 +00:00
Víctor Mayoral Vilches 89aa15999d Minor update in prompt injection PoCs
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-29 13:54:36 +00:00
luijait 82d0121bd8 async sessions + friendly IDs + tolerant session commands (#253)
* Manual port: async sessions + friendly IDs + tolerant session commands over origin/main; add tests for interactive sessions; no push

* Add guardrail tests

---------

Co-authored-by: System Administrator <root@MacBook-Air-de-luijait.local>
2025-08-29 15:34:48 +02:00
Víctor Mayoral Vilches bfb1281096 Prompt injection mitigation (#249)
* Reproduce prompt injection flaw in CAI

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Mitigate prompt injection

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add a second PoC, refactor and propose a message when guardrails are triggered

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add CAI_GUARDRAILS and 2 additional PoCs

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Mitigate PoC 3

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Mitigate PoC 4

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add and mitigate PoCs 5 and 6

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add PoCs 7 to 10

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Test and mitigate PoCs 7 to 10

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Add PoCs 11 to 14

Inspired by 'Embrade The Red' research and also by 'The Month of AI bugs'

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

* Mitigate PoCs 11 to 14

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

---------

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-28 20:25:24 +02:00
Víctor Mayoral Vilches 4a0918dc4a Add headers to README
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-25 13:29:40 +02:00
Víctor Mayoral Vilches f005b3f7ba Various refinements in README
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-22 04:54:34 +00:00
Víctor Mayoral Vilches c1c4d87341 Add CAI Fluency tech report to README
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-20 16:04:25 +02:00
Víctor Mayoral Vilches 0a1b5032ad Add the CAI Fluency paper
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-20 16:03:03 +02:00
Víctor Mayoral Vilches 145a030826 Update badge until pystats gets fixed
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-19 13:28:37 +02:00
Víctor Mayoral Vilches 02249dae79 Improve readibility
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-18 09:38:10 +02:00
Víctor Mayoral Vilches 148fe87714 Add further visibility to case studies
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-18 08:12:07 +02:00
Víctor Mayoral Vilches e8f89c7f95 Merge branch 'main' of https://github.com/aliasrobotics/cai 2025-08-18 08:07:00 +02:00
Víctor Mayoral Vilches 624f548bec Add DISCLAIMER and some minor refinements on README
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-18 08:05:54 +02:00
teflon 59c3c60711 Fixed unterminated string literals in a few files causing issues with /agent on WSL (#241)
* Update local_python_executor.py

Fixed unterminated string literals

* Update codeagent.py

fixed unterminated string literals

* Update rag.py

fixed unterminated string literals
2025-08-15 18:36:44 +02:00
Yahya Sayed 9b60fddf0e Add android app security testing agent (#238)
add android app security testing agent
2025-08-07 18:17:53 +02:00
Chris a6f8608f06 Add suggestions and autocompletion to command /mcp (#239)
* Add MCP command completion support

Implemented functions to provide suggestions for MCP server names and context-aware MCP command completions. Enhanced the FuzzyCommandCompleter to handle MCP commands, including subcommands and transport types.

* Refactor FuzzyCommandCompleter to utilize default subcommand handler

Removed hardcoded subcommand definitions and replaced them with a call to the existing method for fetching subcommand suggestions. This enhances maintainability and reduces code duplication.

---------

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-08-07 18:17:10 +02:00
Víctor Mayoral Vilches 45832e47b7 Remove Ep. 6 for now from fluency
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-03 07:00:17 +02:00
Víctor Mayoral Vilches c2103df109 Update README.md
Add missing div
2025-08-02 09:50:28 +02:00
Cristobal Veas c8a1c9ae80 Update python examples on readme and portswigger bot in fluency folder (#237)
Co-authored-by: cris <cris@criss-MacBook-Pro.local>
2025-08-02 06:46:30 +02:00
Jasmin Wachter 4544af93d3 Update README.md (#233)
* Update README.md

Updated CAI file structure to match version v.0.5.2

* Add files via upload

* Update README.md

Add caiedu picture
2025-08-01 12:56:03 +02:00
Víctor Mayoral Vilches 5f4c61719f Push Cathrin's video
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-08-01 12:45:15 +02:00
Víctor Mayoral Vilches dd32da402b Remove line-space
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-31 13:49:08 +02:00
Víctor Mayoral Vilches 6248eb5c18 Re-org CAI Fluency, add ep. 6, fill up new videos 2025-07-31 13:44:43 +02:00
Víctor Mayoral Vilches 2b9ceca468 Add Ep. 5 to CAI Fluency course
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-30 12:29:07 +02:00
Víctor Mayoral Vilches 88f2112321 Add Kindo as another group serving AI Security models
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-30 12:08:23 +02:00
Chris f036160344 Add agent completion support similar to model completion (#232)
-> basically the same functionality for agent-selection now as for model-completion was already available

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-07-26 07:07:14 +02:00
Víctor Mayoral Vilches e0636cfe47 Minor adjustments in the table to set expectations
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-24 07:54:48 +00:00
Víctor Mayoral Vilches 5718961a7a Some basic re-styling
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-24 07:53:54 +00:00
Víctor Mayoral Vilches d54a245ba5 Update Fluency course material
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-24 07:51:15 +00:00
Chris b8dd50dd27 Noticed a difference in the model-list in completer.py and model.py (#230)
* fix

* reverted parts of the previous changes as they led to a duplication of model-show
* now /model shows the predefined models (as before)
* the numbering in the cached-models is consistent with model-show and the completer

---------

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-07-24 09:24:21 +02:00
Chris 83ab74f585 Improve MCP command messaging for existing servers (#229)
Improve MCP command error messaging for existing servers

* Update the messages when attempting to add an already loaded server -> this should clarify that the server is active and there is no error
* Provide guidance on how to reload it

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-07-22 19:45:43 +02:00
Fan Huang b270cf246d Fix MCP command tool assignment and improve CLI error messaging (#222)
* fix(mcp): correct server param access and agent tool registration
- Use getattr() instead of .get() for accessing server.params attributes
- Fix tool registration logic to properly add tools to Agent

* fix(cli): improve fallback message for failed or unknown commands
- Replaced misleading "Unknown command" message with "Command failed or unknown"
2025-07-22 09:36:37 +02:00
Chris dbe0436477 This change should tackle the problem of reassigning already existing… (#218)
This change should tackle the problem of reassigning already existing docker containers when using /virtualization

* Add image name normalization (the container name might miss the :latest suffix)
	-> Introduced a helper function `normalize_image_name` to ensure Docker image names always include a tag (defaulting to ':latest' if 	missing)
* Updated DockerManager to use the new normalized image names for comparisons when checking for existing containers and images
* Enhanced the error handling for cases where containers already exist, ensuring proper reuse or recreation of containers based on their 	status

Co-authored-by: christian.pritzl <christian.pritzl@iu.org>
2025-07-22 09:35:48 +02:00
Chris 73b1a35145 Update README.md (#213)
according to "CAI> /mcp help" it should be "/mcp load stdio" instead of "/mcp stdio"
2025-07-22 09:27:09 +02:00
Víctor Mayoral Vilches 86fcbd5330 Exclude alias0.5 from the forwarding for local evaluation
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-21 08:51:50 +02:00
Víctor Mayoral Vilches d8d5faacf0 Clarify caiextensions, no resources to maintain them publicly
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-07-14 06:28:29 +00:00